I want the playhead to travel not according to frame number. Let say there are 5 frames, I want the playhead to travel such as frame 3, 5 4, 2, 6 by putting the script in frame 1. Seeking help.
var frameA:Array = [3,5,4,2,6];
var index:Number = 0;
// start an enterframe loop that calls playF():
// end your enterframe loop
p.s. if you need any more help, specify as2 or as3.