onClipEvent(enterFrame){ if (_root.score == 10) { gotoAndStop(2); } }
I... I. I just dont understand, i bet its sooo simple but i just cant get it. For those who dont what i'm trying to do. So basicly when my dynamic textbox (score) = 10 go to and stop at frame 2. Some one please help this noob.
_________________
super smash bros blits(working title)-1% done new flash game
Ye iv'e done that, ive tryed alot of codes to try and get this to work but it just keeps counting up. edit-sorry about this. I think i might of cracked it
_________________
super smash bros blits(working title)-1% done new flash game
Thu Nov 05, 2009 2:08 pm
x2i
Joined: Mon Aug 11, 2008 1:09 pm Posts: 166 Location: England lol
Gender: Male
Currently Playing: Minecraft
If you wish the movie clip that the event is attached to to go to frame two then your code is correct. If you wish the main timeline to jump to the second frame then use:
Code:
onClipEvent(enterFrame){ if (_root.score == 10) { _root.gotoAndStop(2); } }
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum