(ActionScript) Move objects in an array producing a stadium wave effect
问题 I want to move all objects in an array producing a stadium wave effect, how do i do that? I want to move the objects based on their y-value on the stage... all my squares are of 50x50 in size. I want to move them up then move them down. Below is my code, please give me advice. Thanks! import fl.transitions.Tween; import fl.transitions.easing.*; import fl.transitions.TweenEvent; var t1:Timer = new Timer(100, 0); var index:int = 0; t1.addEventListener(TimerEvent.TIMER, ping); t1.start(); var