RE: [flexcoders] Problem using a subclass of ComboBox in actionscript

2007-04-27 Thread Gordon Smith
That doesn't ring a bell. Can you post simple-as-possible versions of
your subclass and an that shows the problem?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of johnknyc
Sent: Thursday, April 26, 2007 7:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem using a subclass of ComboBox in
actionscript



Hi all,

I created a AS subclass of ComboBox. I can use the subclass in MXML,
however when I try to instantiate the subclass in AS, it comes up
blank when I run the app.

I tried running a trace in the subclass's constructor, and it seems
the constructor is not even being called.

Any ideas?



 


RE: [flexcoders] Problem using a subclass of ComboBox in actionscript

2007-04-27 Thread Tracy Spratt
Make sure you have a non-zero height and width for the dynamically added
child.

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Thursday, April 26, 2007 11:56 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem using a subclass of ComboBox in
actionscript

 

That doesn't ring a bell. Can you post simple-as-possible versions of
your subclass and an that shows the problem?

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of johnknyc
Sent: Thursday, April 26, 2007 7:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem using a subclass of ComboBox in
actionscript

Hi all,

I created a AS subclass of ComboBox. I can use the subclass in MXML,
however when I try to instantiate the subclass in AS, it comes up
blank when I run the app.

I tried running a trace in the subclass's constructor, and it seems
the constructor is not even being called.

Any ideas?

 



Re: [flexcoders] Problem using a subclass of ComboBox in actionscript

2007-04-26 Thread Abdul Qabiz

Can you share the code? That helps understanding whats wrong..

It might be something with subclass code or the way you are trying to
instantiate.

-abdul

On 4/26/07, johnknyc [EMAIL PROTECTED] wrote:


  Hi all,

I created a AS subclass of ComboBox. I can use the subclass in MXML,
however when I try to instantiate the subclass in AS, it comes up
blank when I run the app.

I tried running a trace in the subclass's constructor, and it seems
the constructor is not even being called.

Any ideas?