|
-
Prid - Outing
Difference
 Originally Posted by chocomania_coco
what is the difference between onEnterFrame and EnterFrame? I am quite confused.
Well, by EnterFrame, if you mean enterFrame as in onClipEvent(enterFrame), then the difference is as following:
The main difference between onClipEvent(enterFrame), which is used on movieclips, and onEnterFrame, which is used mainly on Frames, is that with onClipEvent(enterFrame), you kind of enter inside that movieclip (just like when you double-click a movieclip in Flash, and enter inside it, just like that, but with Actionscript), and if you then have 2 movieclips on the same level, using onClipEvent(enterFrame), you'll have to use tags like _root or _parent, even though they're on the same level, because onClipEvent(enterFrame) enters that specific movieclip and executes the codes below it, once very frame (even though there may be only a single frame) - while, onEnterFrame doesn't enter anything. You can refer to movieclips, buttons or any types of objects, just like you'd do on any other code!
Get it?
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|