• Welcome to DNForum.com - Domain Investor Forum, Free Domain Marketplace and a community for 45k+ domain pros
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Any Flash wizards in the house?

  • Thread starter Thread starter ilikebeer
  • Start date Start date
Status
Not open for further replies.
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
 
Status
Not open for further replies.
Back
Top Bottom