Could anyone help with this(simple)problem?
I want the playhead to run into a frame and randomly jump to a labelled frame further on in the timeline. There are 5 labelled frames to randomly choose from(labels are travel, portrait, still life, food, lifestyle. The idea is that each labelled frame loads in 2 external .swf files of images.
I have tried using this on the timeline jump frame:
myArray = new Array("travel" , "portrait", "still life", "food", "lifestyle");
randomNumber = Math.ceil(Math.random()*myArray.length);
its kind of working but not too well - makes me think I'm doing somthing wrong.
Any help would be greatly appreciated.
Level of Flash expertise: beginner/intermediate.