RE: [flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread Randy Martin
Try this: ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, January 21, 2008 8:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using a custom component inside of a state that

[flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread simonjpalmer
that doesn't look right, shouldn't you be adding your component as a child in the new state. I find the best way to code states is in the flex builder design tool, it is too easy to get the syntax wrong. Switch to your "login" state and add your custom control and you'll get exactly the code yo