|
-
Thanks for the help. I wasn't aware of addedToStage since I'm still new to AS3. I actually WANT it to go straight to the second frame. The first frame starts some audio but I don't want people to see it. The strange thing is that it works fine without the preloader.
Basically you play through the game and when you die you can go back to the main menu but the song plays continuously. I didn't want the song to start again because the code to play it was in the main menu frame so I added a 'ghost' frame before it. That way I don't run into that problem but the user still has access to the main menu. I'm sure there's a better way to do this, but like I said, I'm still learning and this does work (when run without the preloader). I ended up adding a button that the user can click to get to the main menu and it works now with the preloader but is a bit extraneous in that it seems like you shouldn't have to click anything. Oh well...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|