How Do I Play A Movie Clip Randomly. What is the code for it
Its For www.geocities.com/thesamsters/Dudes.swf
One of the tutorials Is to Create random Numbers
But you dont acctually see the random numbers How Would i Put a Input box Or something FOr THe Random Numbers To Appear In.
for a text box, it has to be dynamic for you to change the text in it on the fly. Give the dynamic text box a variable name. (bottom right of properties panel) AND in your script, set that variable nam to equal what you want it to say. Ex:
info = “Your mom”;
myTextBox = info;
The dynamic text box will then display the variable info, which obviously says “your mom”.
no offense, that’s just my default text saying.
as far as the random movieclip question, i think you have to make an array with those mc’s in it. Then write a code that randomly selects one. Ex:
myArray = new Array()
myArray[0] = blueMC
myArray[1] = whiteMC
myArray[2] = greenMC ////// and so on.
I can’t think of the random code right now, but i’m sure someone else will give it a try. Good Luck