Hi all,
I'm a newbie and love to use this class very much.and I used the code as the following:
my_mc.attachMovie("jonny", "blue"+count, 10000+count);
import gs.TransformManager;
var manager_obj = new TransformManager({targetObjects:[my_mc], bounds:{xMin:0, xMax:1024, yMin:1, yMax:768}, forceSelectionToFront:true, eventHandler:onAnyEvent , allowDelete:true});
manager_obj.addEventListener("move", onMove);
function onAnyEvent(event_obj:Object):Void
{
trace("Action: "+event_obj.action+", MovieClip or TextField: "+event_obj.targetObject+", transformed?: "+event_obj.transformed);
}
function onMove(event_obj:Object):Void
{
trace("Moved mc: "+event_obj.targetObject);
}
The main problem is , When I select the mc , the selected mc appear at the near of the stage bottom.Is it because of the used with attachMovie? or is there any control code for _x and _y (I do try the bounds:{xMin:0, xMax:1024, yMin:1, yMax:768} but it doesn't work.)?Please kindly help me and I will wait any reply.thanks in advance.