Completely new to AS3, still learning to ropes, so please bear with me! I am trying to make a game using ActionScript 3.0 that will display 5 grasshoppers jumping around on the stage in random positions. I have tried using TweenLite and TweenMax tweening engines to no avail. It is likely I am doing it completely wrong, but I have no idea where to go at this point. Any help is greatly appreciated.
EDIT: I am trying to put the TweenMax CirclePath2D to affect the individual instances of grasshoppers. I tried putting in the applicable code into the Actions panel itself but it returned with this error: 1020: Method marked override must override another method; and the error 1024: Overriding a function that is not marked for override.
Below is the code I am attempting to use:
import com.greensock.TweenMax;
import com.greensock.easing.*;
TweenMax.to(GrassHopper, 0.25, {bezierThrough:[{x:253, y:139}, {x:272, y:335}], ease:Back.easeIn});
Additionally, I am only using the above locations for now. Is there a way I can randomize where the grasshoppers jump? Additionally, is there any way I can make them continuously hop around everywhere?
Thanks in advance.