/* ---------------------------------------------------------------------------- createSequence function - © 2004-2008 ade rowbotham, www.aderowbotham.com Creates array to define random sequence of integers * with no repetition * e.g. 8 animations to be played in random order Returns testValues from startValue to startValue + array size ---------------------------------------------------------------------------- */ package com.aderowbotham.utils{ public class SequenceRandomiser { public static function createSequence(arraySize:int,startValue:int=0):Array { //create array var outputArray:Array = new Array(); function checkFortestValue(testValue:int):Boolean { //for all testValues in the array up to the current one for (var j:int=0; j