Forum Home
Press F1
 
Thread ID: 118079 2011-05-18 15:03:00 Flash MX actionscript Help Pinkz (16380) Press F1
Post ID Timestamp Content User
1203138 2011-05-18 15:03:00 Okay, i know this is probably very obvious, but here's my problem:

I have a button with the action script:
on (release) {
I=2;
this.Rations.nextFrame();
}

And then a Movieclip with action script:

onClipEvent (load) {
if (I == 2) {
gotoAndPlay(2);
}
}

But the movieclip won't go to frame 2 after button has been clicked.

Please help, and thank you :)
Pinkz (16380)
1203139 2011-05-18 23:07:00 Hi
What is the I variable used for?
I dont have the reference in front of me, but can you do something like
this.Rations.gotoAndPlay(2)

In your movie clip, just have stop on load.
utopian201 (6245)
1