mx.core.ext.UIObjectExtensions class, which is initialized in the
UIComponent symbol, do that.
_____
Jim Armstrong wrote:
If memory serves, MovieClip is a dynamic class and createClassObject()
is added to the MovieClip prototype by the V2 framework at runtime.
class mx.core.ext.UIObjectExtensions
{
// ...[snip]...
static function Extensions():Boolean
{
// ...[snip]...
var ui:Object = UIObject.prototype;
// ...[snip]...
var mc:Object = MovieClip.prototype;
// ...[snip]...
mc.createObject = ui.createObject;
mc.createClassObject = ui.createClassObject;
mc.createEmptyObject = ui.createEmptyObject;
mc.destroyObject = ui.destroyObject;
// ...[snip]...
static var UIObjectExtended = Extensions();
Good luck,
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>
_______________________________________________
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