-
wiggle your jiggle
I'm currntly working on a semi-educational movie/game. Basically, what is going to happen is an object is going to appear, and the user is going to be asked to select from the available options to guess what it is. The movie will then move on to another question, and continue on this way for awhile. I pretty much have everything all planned out in my head, except there's one thing I'm stuck on. I want to make it so the questions are asked in a random/jumbled order.
Can anyone help me figure out how to develop the actionscript to give it a more random aspect, rather than cycle through the questions in the same order every time the movie is started?
-
Senior Member
Hi
Make a mc which has the questions on its timeline
I mean inside the mc.
Suppose if you have 10 questions; then make 10keyframes inside the mc each keyframe should have different question.
give action stop on first frame.
on main timeline put a buton which make mc to stop randomly.
On (Release)
Set Variable: "dd" = Random (10) + 2
Begin Tell Target ("/your mc")
Go to and Stop (dd)[use expression]
End Tell Target
End On
bye
[Edited by dipkya on 05-14-2001 at 06:42 AM]
-
how about show the random stuff on exact frame
Hi dipkaya
I wonder the script would work if I take out the "On(Release)", because I wanna show the random stuff on exact frame.
Thx
cybix
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
|