A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: M:I:Coding!?!

  1. #1
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870

    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?

    Thanks
    Tongxn

    AM:I:CODING?!?
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    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.

  3. #3
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    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!
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  4. #4
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    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

  5. #5
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Thanks - but
    yep I tried that as well...
    Didnt work...
    ...
    *Annoyed @ flash*
    ... :s
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  6. #6
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi
    Post a basic of your Fla......

  7. #7
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    thx but I'm not bothering much - 1.3mb and the problem works only on that one.

    Any other ideas than posting my fla?
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  8. #8
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    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?

  9. #9
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Yep I checked it - result: THis Button WAS pressed and it is fully functioning, except for the fact that the gotoAndStop did not work.
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  10. #10
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    oh wait I tried gotoAndPlay on another movie, seemingly it didn't GOTO and then PLAY

    It PLAYs the movie...?
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  11. #11
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Could you come up with a simplified fla file that shows this problem?

  12. #12
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Yep OK,
    this is a movie I been making for sometime.. (2 days)

    check the Play button:
    Attached Files Attached Files
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  13. #13
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Sorry, could you save it in MX2004 format

  14. #14
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    OhKK
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center