I
ilikebeer
Guest
I'm sure this is probably really easy for any Flash developer out there (unfortunately, I'm not one of them).
I have three images I would like to use as a background image in a little Flash movie I'm making. Is there a way (using action scripting I assume) to select a random number between 1 and 3 and have the movie use one of the background images accordingly?
My set up right now is that after the preloader I have the three backgrounds on different layers and at different keyframes on the timeline. Ultimately, I'd like the result of your idea to advance the user to keyframe 1, 2 or 3 (based on the random result).
Hope someone can point me in the right direction.
Thanks in advance
Cheers
I have three images I would like to use as a background image in a little Flash movie I'm making. Is there a way (using action scripting I assume) to select a random number between 1 and 3 and have the movie use one of the background images accordingly?
My set up right now is that after the preloader I have the three backgrounds on different layers and at different keyframes on the timeline. Ultimately, I'd like the result of your idea to advance the user to keyframe 1, 2 or 3 (based on the random result).
Hope someone can point me in the right direction.
Thanks in advance
Cheers