PDA

View Full Version : help! how to play 2 "frames on" 1 button


DQWslayer
01-12-2006, 06:37 AM
i dont know how to explain this properly.. but when i click on a button i want it to first play a movieclip then go to then scene

example: i am on the "home" button page and i click "about us" button and it plays a movieclip (mine is a transparent box that motion tweens over the text then desplays the about us text in the aboutus page (scene) its in layer called slider)

hope this makes sence i have added my fla file

oldnewbie
01-12-2006, 08:06 AM
Don't cross-post!

Billy T
01-12-2006, 08:08 AM
when you click the button set a var and tell the clip to play

nextSection='aboutus'
some_mc.gotoAndPlay(2);

at the end of some_mc say

_root.gotoAndPlay(_root.nextSection)

which will send the main timeline to a frame label of aboutus

cheers

Billy T
01-12-2006, 08:09 AM
damn...you were too slow oldnewbie...I just wasted 30 seconds of my precious life :(

DQWslayer
01-12-2006, 08:14 AM
oops my bad sorry about that i just realised ill read the topic next time very sorry for your time but very useful :)