|
|||
|
I am trying to migrate to Flash, and I'm missing many of Authorware's features
especially when it comes to interaction. I'm writing hoping that there's someone out there equally at home and familiar with both AW and Flash. Specifically, how can I navigate to any random scene (e.g., several quiz items) in Flash, the way I could have easily done it with a decision icon in AW? Any help will be greatly appreciated. |
| Sponsored Links |
|
|||
|
"cmacachor" <webforumsuser@macromedia.com> wrote in message news:frv679$qd6$1@forums.macromedia.com... >I am trying to migrate to Flash, and I'm missing many of Authorware's >features > especially when it comes to interaction. I'm writing hoping that there's > someone out there equally at home and familiar with both AW and Flash. > Specifically, how can I navigate to any random scene (e.g., several quiz > items) > in Flash, the way I could have easily done it with a decision icon in AW? > Any > help will be greatly appreciated. I'd create an array that contains the names of all the scenes and then create an array that randomly includes the indices of the other array and key your navigation off of that. Note this isn't real code since I haven't installed Flash on this machine, but something like this. //assume your scenes are called "scene1" to "scene20" public var scenes:Array; public var indices:Array; for (i=0, i<20, i++){ scenes.push('scene'+i+1); indices.push(i); } public function shuffle():Number{ return Math.floor(Math.random()* 2); } indices.sort(shuffle); HTH; Amy |
|
|||
|
Thanks Amy for the idea. I've gotten around the random problem. My other
concern is for the next random scenes to be confined only to those that have not yet been chosen, much like limiting to "Unused Paths" in Authorware, and then to exit or go to another scene or frame once all scenes or frames have been visited. I still miss Authorware when it comes to these things. Any help in this area will bring back the control and power I once felt with Authorware. |
|
|||
|
"cmacachor" <webforumsuser@macromedia.com> wrote in message news:g5jrur$ep8$1@forums.macromedia.com... > Thanks Amy for the idea. I've gotten around the random problem. My other > concern is for the next random scenes to be confined only to those that > have > not yet been chosen, much like limiting to "Unused Paths" in Authorware, > and > then to exit or go to another scene or frame once all scenes or frames > have > been visited. I still miss Authorware when it comes to these things. Any > help > in this area will bring back the control and power I once felt with > Authorware. Sorry, I can't help you, since I can't see what you're replying to. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise