use the displayObjects' function AddEventListener, like this:

this.addEventListener(Event.ENTER_FRAME,enterFrame);

and then have function

function enterFrame(e:Event){
}

dont forgot the e:Event parameter in enterFrame, it will cause an error if
you don't
include that. Also, read the API ref, it's over here:

http://livedocs.macromedia.com/flex/2/langref/index.html

good luck,

Meinte

On 9/6/06, dan <[EMAIL PROTECTED]> wrote:

Is in as 2i use'd OnEnterFrame what do I use in as3? Is it some event with
the new event dispatcher?
10x


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to