  | | | createClassObject returns null | createClassObject returns null 2004-03-14 - By Frederick N. Brier
Back I am trying to create a custom component (menu) using AS2/MX2004. There is the typical main menu class which extends UIComponent, which contain menu Item instances whose class extends UIObject. I have followed the FooterNav tutorial, but when the main menu calls createClassObject() attempting to create an Item instance, null is returned. I did notice that for the Menu object in the debugger, most of the fields that should have been associated with a MovieClip let alone a UIComponent did not show up under "this". The 3 variables: className, symbolOwner, symbolName exist for both classes. There are symbols defined in the library with proper linkages. I even tried a doLater() before creating the Item instance. Still null. Help!
Frederick N. Brier
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106904 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |