dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Linking Scenes, Can't get it to work

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    19

    Linking Scenes, Can't get it to work

    Hi All,
    I've been asked to make a simple game and have very basic flash knowledge, I was approaching it as an "interactive comic" kind of way to make things easier for myself.

    However it's become very cluttered and I'm trying to figure out how to link scenes to keep things a little more organized so I don't make things harder than they need to be.

    I've looked online and followed the instructions to a tee, however when I try to impliment them into the game, nothing happens, no error code, just nothing happens.

    The .fla is too big to attach, so i've attached a brand new .fla using the same codes.

    I've tried the following codes:

    on(release){
    gotoAndStop("Scene 1", 1);
    }

    That didn't seem to work, so I tried naming the scene as you'll see and tried that, still nothing, I'm sure I'm missing something really simple but having very minor flash knowledge I can't see what that is.

    If anyone could let me know where I'm going wrong I'd really appreciate it.
    Attached Files Attached Files

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    It's working here, it's going to Scene 2 perfectly! In the gotoAndStop code, you have to type the name of the Scene you want to go to, but don't use Scenes when making games, resort to Frames, and trust me, a lot of people will agree with me, 'cause we've all been through a lot of difficult unnecessary stuff because of scenes, lol, they're evil xD
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

Tags for this Thread

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