Quote Originally Posted by chocomania_coco View Post
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?