Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
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)