Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: controlling randomized movie sets
From: Michael Penne
Date: Tue, 11 Jan 2000 23:40:34 GMT

Just wanted to let you know, we got some extra time on the project, and
implemented the below. Naturally, it worked perfectly;-).

Thanks again!

--- Branden Hall <bhallatfigleaf [dot] com> wrote:
> A much easier approach would be to "build" a list of what the
> questions will
> be off the bat, shuffle this list and then just step through the list
> for
> the questions... i.e.
>
> Set Variable: "shuffles" = 100
> Set Variable: "questions" = 36
> Set Variable: "loop" = 1
> Loop While (loop<=questions)
> Set Variable: "q"&loop = loop
> Set Variable: "loop" = loop+1
> End Loop
> Set Variable: "loop" = 0
> Loop While (loop<shuffles)
> Set Variable: "swap1" = random(questions)+1
> Set Variable: "swap2" = random(questions)+1
> Set Variable: "temp" = eval("q"&swap1)
> Set Variable: "q"&swap1 = eval("q"&swap2)
> Set Variable: "q"&swap2 = temp
> Set Variable: "loop" = loop+1
> End Loop
> Set Variable: "loop" = 1
> Loop While (loop<=questions)
> Set Variable: "q"&loop = "part1/a"&eval("q"&loop)&".swf"
> Trace ("q"&loop&" = "&eval("q"&loop))
> Set Variable: "loop" = loop+1
> End Loop
>
> -= Branden J. Hall
> -= Multimedia Developer/Instructor
> -= Fig Leaf Software
>
>
>
> Or a way for a loaded swf to tell the randomizer script not to load
> another copy of itself (to send variables from the loading movie to
> the
> main movie and then use those variables to change the choices
> available
> to the randomizing scripts?)... Michael and Jeff.


=====
Two new flash movies as of 1/5/00

New music video and new flash 3d file...

http://www.humboldt.edu/~mmp5/flash.html
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]