Revision: 3243
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 26, 2007 06:19 by mswallace
Initial Code
package { import flash.display.Sprite; import flash.events.Event; public class ExampleApplication extends Sprite{ public function ExampleApplication(){ graphics.lineStyle(1,0,1); addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onEnterFrame(event:Event):void{ graphics.lineTo(Math.random() * 400, Math.random() * 400); } } }
Initial URL
Initial Description
Got this out of the o'reilly ActionScript 3.0 Cookbook
Initial Title
onEnterFrame Event using Actionscript 3
Initial Tags
event
Initial Language
ActionScript 3