A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scene Problems

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    18

    Scene Problems

    how can i go from a movieclip in scene2 to the first frame on the main timeline of scene1???
    it works with a simple script on a button in the main of scene 2 but not with that same button in a MC in scene 2

    help!!!

  2. #2
    Junior Member
    Join Date
    Jun 2003
    Posts
    18
    still not workin

  3. #3
    Pixel Artéést chriso20's Avatar
    Join Date
    Apr 2003
    Location
    Notts, UK
    Posts
    325
    dont use scenes.

    use movie clips. alot easier.

  4. #4
    Senior Member sofiebel's Avatar
    Join Date
    Feb 2001
    Posts
    1,044
    Once you're in a movieclip inside a scene you have to use _root to target the main timeline. Also the flashplayer will not recognise the scenes anymore, it will sort of create one big timeline. So you can't target the scene names, you'll have to use frame labels. Give the first frame of scene one a label and target that:
    Code:
    on (release) {
      _root.gotoAndStop("framelabel");
    }

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