can_dyman wrote:Just realized that i should post this in a shared content - not in AS2 questions.
var clips:Array = new Array();
var numOfItems:Number = 15; //number of clips
for(var i:Number = 0; i < numOfItems; i++)
attachMovie("clip", "clip" + i, i+1) //clip is identifier from the libary
var clip:MovieClip = this["clip" + i];
clips.push(clip); //pushing the clip into the array
var chaos:Chaotic3D = new Chaotic3D(clips); //making 3D space of clips
chaos.toRandom(200,400,200,400); //random positions : toRandom(xMin, xMax, yMin, yMax);
var chaosEvent:Chaotic3DEvents = new Chaotic3DEvents(chaos); //register Event
chaosEvent.clickAndDrag(true,true); //click and drag method clickAndDrag(x:Boolean, y:Boolean)
It is written in AS2 and i think it is really easy to use.
From your Blog: This whole thing was written in AS2 and it will work with Flash 8.
Users browsing this forum: No registered users and 1 guest