PDA

View Full Version : Does this work?


PowerSerge
07-01-2004, 09:17 PM
_root.gotoAndStop(["Level" + _root.currentlevel]);

if I wanted the animation to go to the label "Level2", and _root.currentlevel was equal to 2, does this work?

It doesn't seem to, so if it doesn't, then someone please tell me what does.

CyanBlue
07-01-2004, 09:32 PM
Yeah... I just tried your code and it is working... Try that code in the new Flash file just in case... :)

PowerSerge
07-01-2004, 09:40 PM
Errr... I guess it is... well hey! thanks :)