ok then...i'll try that...thanks percy On Sun, Jul 20, 2008 at 9:54 PM, Alex Harui <[EMAIL PROTECTED]> wrote:
> AS3 only allows one constructor per class so I'm not sure what you are > referring to. If you use the compiler option –keep-generated-actionscript > you can see what the MXML is generating as actionscript and compare > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *[p e r c e p t i c o n] > *Sent:* Sunday, July 20, 2008 9:47 PM > *To:* [email protected] > *Subject:* Re: [flexcoders] controls not not loading.. > > > > Thanks for your help. I ended up being able to call the mxml version of > the component (as opposed to the as3 version) > but the as3 version does function as code behind. With that > accomplished.i'm wondering why it calls some constructor that i didn't > define...this default has no params and the one I want it to call does...is > there a way to force it to call my constructor instead of the default...i > don't even know where the default is defined... > > thanks > > percy > > On Sun, Jul 20, 2008 at 8:25 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > Make sure someone is setting the size of the control. I'm not sure how you > are parenting it, but parents size their children in Flex so maybe you have > a custom parent that doesn't do the sizing. > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *[p e r c e p t i c o n] > *Sent:* Saturday, July 19, 2008 4:51 PM > *To:* [email protected] > *Subject:* [flexcoders] controls not not loading.. > > > > Hello Good People, > > I've Extended TitleWindow and also created a corresponding mxml component. > When I create it using mxml in my application it's created with all of the > controls i laid out > in the design view no problem, but when i try to create it dynamically (new > operator) none of the controls are loaded...can any one point me in the > right direction...i know there must be a way to do this...thanks > percy > > > > >

