That isn't AS 2.0, that's AS 1.0.
The equivalent AS 2.0 would look something like
This would go on a frame of your timeline, not on an instance of anything.Code:this.onEnterFrame = function() { .... actions }
What are you actually trying to achieve here, though? - I can't quite work it out. You want something to move when the button is clicked?




Reply With Quote
