actionstript random frame question
actionstript random frame question
Out of context: Reply #3
- Started
- Last post
- 8 Responses
- nebrow0
i have been trying this from something that i have googled:
_root.onLoad = function() {
// define a array with all your previously defined labels
labelarray=["a","b","c","d"];// calculate a random index for this array
randomidx = random(labelarray.length);// jump to the label at the random index
gotoAndStop(labelarray[randomIdx...
}this seems beyond my simple actionscripting skills...or im just an idiot but i cant figure this out at all!