onClipEvent?

Subscribe to onClipEvent? 5 posts, 4 voices

Sign in to reply


 
avatar for Varilian Varilian 84 posts
Flag Post

I am doing my best to learn AS3 right now. It’s not as difficult as people say, but I’m having trouble finding resources other than gotoAndPlay.

I was wondering though, since I’ve started learning, I’ve always used codes such as onLoad() as opposed to onClipEvent(Load)

Is there some kind of difference between these two, or is this simply good programming practices?

 
avatar for jonathanasdf jonathanasdf 1592 posts
Flag Post

neither of those are as3.

AS3 is:

addEventListener(Event.ADDED (or ADDED_TO_STAGE), callback);

 
avatar for Varilian Varilian 84 posts
Flag Post

Would anyone mind recommending me a tutorial? Because I’ve never even heard of that.
edit Any great tutorials would be nice, but I’ve found one that explains the EventListener function.
Thanks for giving me a reason to look it up.

 
avatar for Rameares Rameares 63 posts
Flag Post

http://livedocs.adobe.com/flex/3/html/help.html?content=Part6_ProgAS_1.html just use the programming as3 section the rest is for flex which varies a bit from flash.

 
avatar for ErlendHL ErlendHL 354 posts
Flag Post

It is best to begin with as2.

onLoad() is in a frame and onClipEvent(load) is in a movieclip.

Sign in to reply


Click Here