I am trying to create an app that allows multiple movieclips to have the ability to be transformed. On a button I have this code:
on (release) {
count++;
duplicateMovieClip ("sq", "sq"+count, count);
this["sq"+count]._x = 10;
this["sq"+count]._y = 10;
}
My question is how can I define the use of the Transform Manager for each new clip? I am using the AS2 free version and have got it working if I assign the transform manager class within each individual movieclip that is going to be copied but then the 'Bring to the front' part of teh code doesn't work.
Is there a way of doing something like this:
var manager_obj = new TransformManager({targetObjects:[sq+count], bounds:{xMin:0, xMax:550, yMin:0, yMax:365}, forceSelectionToFront:true, eventHandler:onAnyEvent});
manager_obj.addEventListener("move", onMove);
I have tried this and it doesn't work!
thanks