What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Adobe Flash CS3 code help


Axtonyew

New Member
Messages
1
Likes
0
I have a project that I need help in.

I'm making a flash with 50 different and random facts on animals.
& I made 2frames per fact, which is 100frames to place those 50 and placed the stop action at the keyframes.

I need help with the code, so that everytime I press the 'Random' button, one of the 50 facts will appear on random.
Can anyone can help? Thanks in advance.
 

Tristen Shaw

Well-Known Member
Messages
71
Likes
11
Please keep in mind I don't know a ton about actionscript, but I would think that it's fairly simple if you just want the button to bring up the frame that has the fact on it.

Using an actionscript random number function to come up with a number between 1 and 50 in an if statement or a case switch statement attached to the button.

Do you know actionscript or any other scripting language?
 

Top