Closed johnstejskal closed 9 years ago
Does your "myTarget" have a property called label? Also please provide more detailed information, for instance what browser, what version of TweenJS / EaselJS , can you provide more code to get a better idea of your issue.
Thanks
What browser/OS is this happening on? The to() method only requires 1 parameter.
Closing this, since it had no response to the questions. Please re-open if it still persists, and provide more info.
The example shown is:
var tween = createjs.Tween.get(myTarget).to({x:300},400).set({label:"hello!"}).wait(500).to({alpha:0,visible:false},1000).call(onComplete);
although i get a script error at the "{x:300},400" saying "invalid amount of parameters, expecting 3"