[Flashcoders] createClassObject with List Class funky

2006-04-27 Thread August Gresens
Trying to create a List Class instance and having trouble. The list shows up on the stage, but the variable returned from createClassObject is null, so I cannot change the format or reposition it. This code is based on an example in the Mook Essential ActionScript book. The List composnent is in

Re: [Flashcoders] createClassObject with List Class funky

2006-04-27 Thread Stefan Thurnherr
On 4/27/06, August Gresens [EMAIL PROTECTED] wrote: Trying to create a List Class instance and having trouble. The list shows up on the stage, but the variable returned from createClassObject is null, so I cannot change the format or reposition it. This code is based on an example in the Mook

Re: [Flashcoders] createClassObject with List Class funky

2006-04-27 Thread Stefan Thurnherr
On 4/27/06, August Gresens [EMAIL PROTECTED] wrote: No, that didn't work. Actually, I'm doing this within a non-movieclip extended class, so the syntax is like this: clip_mc.createClassObject(List, listText_lst, clip.getNextHighestDepth() ); clip_mc.listText_lst.setSize(550, 150);

Re: [Flashcoders] createClassObject with List Class funky

2006-04-27 Thread Fumio Nonaka
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