g35fan
05-23-2008, 06:58 PM
I'm new to flash and hope someone can guide me to a solution here;
I'm using a horizontal flash accordion menu. I'm trying to load a movie that will appear inside each menu item once it is clicked...and then disappear after a different menu item is clicked.
I'm trying to load simple movies here - just text and graphics - What code do I use to load a movie for mc1 and then when you click on mc2,3,4 the mc1 movie just loaded will disappear?
Any suggestions would be very helpful as I've wasted many hours trying to figure this out on my own!!! Thanks!
----------------------
mc1.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 1
}
mc2.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 2
}
mc3.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 3
}
mc4.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 4
}
-----------------------------------
I'm using a horizontal flash accordion menu. I'm trying to load a movie that will appear inside each menu item once it is clicked...and then disappear after a different menu item is clicked.
I'm trying to load simple movies here - just text and graphics - What code do I use to load a movie for mc1 and then when you click on mc2,3,4 the mc1 movie just loaded will disappear?
Any suggestions would be very helpful as I've wasted many hours trying to figure this out on my own!!! Thanks!
----------------------
mc1.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 1
}
mc2.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 2
}
mc3.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 3
}
mc4.onRelease = function(){
Animatie(this);
delete this.onEnterFrame;
//your code for mc 4
}
-----------------------------------