|
-
_root problem.
I have 5 movie clips. I have 1 button inside in each movie with this information
on {release}
{_root.option = 1 (1 - 5 depending de button)
gotoandplay (36);
}
and in frame 40 on the main scene is this actionscript
if {_root.opcion == 1}
gotoandplay (60);
if {_root.opcion == 2}
gotoandplay (250);
if {_root.opcion == 3}
gotoandplay (500);
if {_root.opcion == 4}
gotoandplay (326);
if {_root.opcion == 5}
gotoandplay (79);
// THIS USED TO WORK WHEN THE BUTTON WAS IN THE MAIN MOVIE SCENE NOT INTO A MOVIE CLIP. I think the problem is with the button.
Im trying to make some transitions in my site but im really stuggling with this thing and the deadline in getting shorter LOL
Thank you for all the help you can give me!
pd. Apologies for my bad English.
-
OOP is one letter from OOPS
is gotoandplay (36); refering to the main timeline? If so, try
_root.gotoandplay (36);
-
Thank you I will try it at home...
Thank you !! I was struggling for 2 days in a row.
-
If I do it like you said... when i click on the button it send me to the frame 2 in the main timeline
-
OOP is one letter from OOPS
Not sure why it would go to frame two but I did notice in the code you posted option is misspelled in the if statement as _root.opcion
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|