
1061: Call to a possibly undefined method play through a reference with static type fl.transitions:Tween.
в чём моя ошибка ? минут сорок сижу в эти строчки смотрю =\

Код AS3:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var xTweenPart1:Tween;
var yTweenPart1:Tween;
xTweenPart1 = new Tween(part1,"x",None.easeNone,1,-12,5,true);
yTweenPart1 = new Tween(part1,"y",None.easeNone,1,-93,5,true);
function machineGunCursorRollover(event:MouseEvent):void
{
xTweenPart1.play(); - ппц - вместо play - resume
yTweenPart1.play();
}
parent.ball.addEventListener(MouseEvent.CLICK,machineGunCursorRollover);
xTweenPart1.stop();
yTweenPart1.stop();