Hi There I have been building a flash site and am very new to the software.
I have used several tutorials from kirupa (really helpful btw, best instructional site on the internet)
http://www.kirupa.com/developer/mx2004/transitions2.htm
this is the one i am stuck on, i can get the transition to work if the button is on the main time line, but if it is a movie so i can use it as part of a drop downmenu it doesn’t work.
i have read this …
“[font=Arial][size=2][size=2]If your buttons are not located on the main timeline, you will have to change the path to the container movieclip. In this example the buttons are located on the main timeline, therefore ‘container’ targets the container movieclip correctly. Though, if they are not on the main timeline, you must change container to the appropriate path.”
[font=Verdana]
…in the tutorial, but quite simply do not understand how to make this change to the action script.
my main timeline is called “Scene 1” and my movie with the buttons in is called “Menu Events” and the actionscript is as follows…
[/font][/size][/size][/font]
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “section2”;
container.loadMovie(“section2.swf”);
} else if (_root.currMovie != “section2”) {
if (container._currentframe>=container.midframe) {
_root.currMovie = “section2”;
container.play();
}
}
}
any help would be greatly appreciated, many thanks in advance. I’m sure this is very easy to impliment and will probably kick myself when presented with the solution!
Kristian (elcorazon2)