-
M:I:Coding!?!
I can't possibly describe this but I can't seem to get :
Code:
on (release) {
gotoAndStop("mainXrave", 1);
}
This to WORK! its set on a button in a scene but it isn't working!
-In the scene-
A customised cursor, controlled by this._x = _xmouse, and etc
A weird aurora thing as a Movieclip I got using tutorials, 3 frames and just duplicates itself for the efect.
And the not-so-working-well BUTTON.
So what could possibly stop such a easy code not work? :yikes:
Thanks
Tongxn
AM:I:CODING?!?
-
Hi :)
Have you checked that you labelled the frame ?
i.e. . . . mainXrave
Post a basic of your Fla and i'll take a look if you like.
-
nah you know what Im talking about - just a pitiful button in the middle of a second scene which tells the timeline to go to the first frame in the scene called *mainXrave*.
Which in that case makes it alll bloody harder to understand!
-
Put a frame label on the frame of the scene you want to goto and then use,
_root.gotoAndStop("your-frame-label-here");
then make a note not to use scenes in your next project ;)
-
Thanks - but
yep I tried that as well...
Didnt work...
...
*Annoyed @ flash*
... :s
-
Hi
Post a basic of your Fla......
-
thx but I'm not bothering much - 1.3mb and the problem works only on that one.
Any other ideas than posting my fla?
-
Does the button do anything when clicked? What happens if you add a trace statement to it,
Code:
on (release) {
trace("The button was pressed");
gotoAndStop("mainXrave", 1);
}
if you test the movie and click the button does the message appear?
-
Yep I checked it - result: THis Button WAS pressed and it is fully functioning, except for the fact that the gotoAndStop did not work.
-
oh wait I tried gotoAndPlay on another movie, seemingly it didn't GOTO and then PLAY
It PLAYs the movie...?
:eek:
-
Could you come up with a simplified fla file that shows this problem?
-
1 Attachment(s)
Yep OK,
this is a movie I been making for sometime.. (2 days)
check the Play button:
-
Sorry, could you save it in MX2004 format :)
-