-
Flash cs6 Button to access random scenes
I am developing a flash puzzle game but am only started to learn actionscript 3.
I have three scenes named puzzle1, puzzle2, puzzle3 and I am trying to figure out a way to randomly direct the user to one ofthe three scenes when they press a button on the timeline.
Once the user has completed the puzzle in the scene they should be able to access the other two scenes.
I know how to use code snippets to link a button to a certain scene but is there a way to randomly direct the user to one of three scenes. I have looked online but couldn't find any way to set this up.
If anyone would be able to provide some advice or a possible solution it would be greatly appreciated. Thanks in advance.
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
|