Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

Re: Sprite animation with ENTER_FRAME

$
0
0

I wrote by mistake t1 and t2

 

So, I should add an event listener to m1 and m2 for mouse click like this?

 

m1.addEventListener(MouseEvent.CLICK,movePieces);

m2.addEventListener(MouseEvent.CLICK,movePieces);

 

And where should I place the ENTER_FRAME listener?


Viewing all articles
Browse latest Browse all 87055

Trending Articles