PDA

View Full Version : Goto and play :)



El_Thierro
August 14th, 2003, 03:29 PM
Well, here's another question:
it's probably a simple one for all you guru's here, but time has proven me and codes aren't too best of friends, so here it is:

I have this movieclip, placed on my main scene. At the end of the movieclip, there needs to be a command which makes my main movie (not to movieclip) goto a certain frame.

I know this 'll probably be something with: _root gotoandplay or something like that, but I still don't know what exactly...

So thanks.

ogden
August 14th, 2003, 04:08 PM
buttonName_btn.onRelease = function() {
_root.gotoAndPlay(1);
}

El_Thierro
August 14th, 2003, 04:19 PM
Okay thanks, that worked :)

Actually, I would've found it myself if I had just put the little dot ( . ) between _root and gotoAndPlay... :sleep:

But thanks!