Search  
Search Options

"RANDOMIZED" LOOP OF OBJECTS

HomeForumsFlash Discussion"Randomized" loop of objects
Default-profile Paul_E
1 post

Hi all,

I’m brand new to Flash and short of reading the introductory materials Adobe provides, haven’t had much experience developing anything dynamic. I’ve been tasked to take an animation that currently does a simple “fly in” and fade transition between four variations and modify it so that it instead cycles randomly through the different objects all following the same path.

In other words, have a random object from a list of known and defined objects appear in a known position and undergo the same transformation every 30 seconds.

Could someone point me in the right direction for how to get started on this or if there’s a better resource I could use to begin getting my hands dirty? I’m guessing this would involve ActionScript—though as I’ve not done anything with it before, I’m not sure where to begin.

Thanks! ~P

Posted 2 months ago
Default-profile bhad
15 posts
Sold between 1 and 100 dollars

I’m not exactly sure what you’re trying to accomplish but I’ll try to point you in the right direction. If I were just starting out and didn’t want to get too heavy into actionscript, I would set up a container movieclip that is tweened along a motion guide. Inside the container clip, I would create 4 separate movieclips (one for each defined object) and place them on 4 separate keyframes on frames 1 – 4. On the last frame of each movieclip’s timeline, I would call a function that generates a random number 1 – 4 then goes to the corresponding keyframe of the container clip and plays it’s movieclip.

Sorry this doesn’t have a specific answer to your question but hopefully it gives you some ideas and keywords to use as you search through docs/tutorials. Besides, you’ll learn a lot in the process of finding your own answer.

Posted about 1 month ago