A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: _root to scene.

  1. #1
    Awesome
    Join Date
    Jun 2009
    Location
    The World!
    Posts
    1

    Unhappy _root to scene.

    Hi all, I am getting better at Flash 8, but I have a problem.

    I am in a Movie Clip, and when you press 'g' it returns you to the first scene, and I want it to go to the second scene.

    on(keyPress "g"){
    _parent.gotoAndStop("Scene 2",7);
    }

    Is there a way you can do that?

    ~Ash

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    use frame labels.
    (Scene Name, frame) is not valid from a movieclip timeline

    _parent.gotoAndStop("my_label");

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