Devo realizzare una piccola animazione flash: solamente che ottengo quest'errore:
1061: Call to a possibly undefined method addEventListener through a reference with static type Class.
Questo è tutto il codice del filmato:
HELP!codice:import com.greensock.*; import com.greensock.easing.*; import fl.motion.easing.*; import fl.transitions.*; import fl.transitions.easing.*; stop(); chicco1.addEventListener(MouseEvent.ROLL_OVER, chicco1over, false, 0, true); function chicco1over(event:MouseEvent):void{ TweenLite.to(chicco1, 1, {rotation:-30, ease:Elastic.easeOut}); }![]()

Rispondi quotando