Jump to content

Richard Ryu

Can I detect event when I finish transform manager job?

Recommended Posts

I'd like to detect the event when I release or finish transform manager.


e.g. finish move or finish scale or finish rotate..


If I finish doing job such as moving, rotation, scaling at a time,

I want to get event handler so that apply mask job.


mc0Item.addEventListener(TransformEvent.FINISH_INTERACTIVE_MOVE, onFinishClip);


if then, How can I find the name of movie clip in onFinishClip method?


function onFinishClip(event:TransformEvent):void{

    var mc:MovieClip = event.currentTarget as MovieClip // error occurred




2nd Mouse pointer's disappeared when I finish to move the movie clip with transform manager.

I don't know why this problem occurred but After moving or rotating the movie clip, mouse pointer had disappeared for a while.

How can I resolve it?

Link to comment
Share on other sites

I assume you meant to do this:

function onFinishClip(event:TransformEvent):void{
    var mc:DisplayObject = event.items[0].targetObject;


  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.