Action Script 3 functions
Action Script 3 functions
Out of context: Reply #3
- Started
- Last post
- 13 Responses
- KarlFreeman0
** re edit...
package {
import flash.display.MovieClip;
import flash.utils.Timer;
import flash.events.TimerEvent;
public class Counter extends Sprite {
public function Counter() {
this.addEventListener(Event.ADDE... stageInit);
}
private function stageInit(event:Event) : void {
//add some sort of user interaction to call CountNow
}
private function countNow():void {
trace("included");
}
}
}