I have some movie clips and i’d like to add some variables to them.
Is it any at all possible to load variables into movie clips in random order. That is: each time they load, they load into the movie clips a different order.
Does this make even remote sense to anyone? Has anyone heard of a problem like this before?
Parhaps you could make an array full of your variables. Define it in the _root timeline. The call a random value from the array each time your new movie loads.
Otherwise, if your variables are simple and consistent, eg. plain numbers or var0, var1, var2, var3, var4 etc. you could call the variable as a concatenated string:
[AS]
var myVar = _root[“var” + random(4)];
[/AS]
Nothing is a problem unless it doesn’t work.
Creating engaging and entertaining content for designers and developers since 1998.