A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: button -> movie -> scene (?)

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Location
    Tampa Bay, FL
    Posts
    13

    button -> movie -> scene (?)

    Hello:
    Just a simple question.
    Once I click a button I want a little intro start and then go to a scene.. My ActionScript is this.. and of course it's not working.. Any suggestions?

    on (release) {
    tellTarget ("intro") {
    play();
    }
    gotoAndPlay("Scene4", 1);
    }


    THANNKS!!!!!!!

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Try:

    Code:
    _root.gotoAndPlay("framelabel");

  3. #3
    Junior Member
    Join Date
    Jan 2002
    Location
    Tampa Bay, FL
    Posts
    13
    thanks... but.. I'm a "virgin" in flash.
    Can you be more specific?
    Thanks!!!

  4. #4
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Do you want to goto the scene at the same time as the movie clip is started? IN which case you could just put a frame label on the first frame of scene 4, place the movie clip on the same frame and then on the button use

    on (release) {
    _root.gotoAndPlay("theFrameLabelOnFrame1OfScene4") ;
    }

    And (assuming the clip has a stop() action preventing it playing on its own) in frame 1 of scene 4 add the frame action

    _root.intro.play();

    (make sure the clip has the instance name intro)

    If you want the clip to play before the movie goes to scene 4, again add the frame label to scene 4 and on the button use

    on (release) {
    _root.intro.play();
    }

    then in the last frame of intro, add a frame action

    _root.gotoAndPlay("theFrameLabelOnFrame1OfScene4") ;

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