I'd say that the most important differences between a MovieClip and a plain Object are the following:
1. A MovieClip has all kinds of properties (_x, _width, _visible, etc.) and methods (attachMovie(), loadMovie(), etc.) that an Object doesn't. 2. A MovieClip can't be created with the 'new' operator, but an Object can. 3. A MovieClip is a visual object that is connected to the player's rendering engine. When you change a property of a MovieClip, the player automatically re-renders it when moving to the next frame; you don't have to call redraw() or update() to make this happen. An Object has nothing to do with the renderer. 4. Certain methods of a MovieClip -- onPress(), onRelease(), etc. -- are automatically called by the Player in response to various user actions. 5. A MovieClip can be destroyed with removeMovieClip() (I think), while an Object is simply garbage-collected. 6. MovieClip is a Flash-specific class, while Object is a class of the standard EcmaScript language. - Gordon -----Original Message----- From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 6:44 PM To: [email protected] Subject: Re: [flexcoders] MXML Components and using mx:Effect Yup, sorry I knew all that anyway (I'm a vetran Flash MX 2004 monkey hehe) i was more looking for info on MovieClip vs Object under the hood. Haven't you all wondered or pondered as to what the significant difference between the two are? A MovieClip extends Object but what changes or difference does it actually do to an Object, i ask this more out of courisity :) Sorry I should of asked that more directly heh :P Scott. On 4/13/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 4/12/05, Scott Barnes <[EMAIL PROTECTED]> wrote: > > > Also, probably outside the scope of this thread but whats the > > difference between a MovieClip and an Object (ie technically, i know > > MovieClip adds "timeline" to the equation etc.. but how is a MovieClip > > Constructed vs a plain object) > > An object is an ActionScript object. > > Object is the name of the topmost class in the ActionScript class > heirarchy. Every object "is an" Object. > > MovieClip in ActionScript is the class that represents "movie clips". > All Flex UI components are movie clips. Class mx.core.UIObject > extends MovieClip. > > -- > [EMAIL PROTECTED] > http://manish.revise.org/ > > > Yahoo! Groups Links > > > > > -- Regards, Scott Barnes http://www.mossyblog.com http://www.flexcoder.com (Coming Soon) Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

