Re: [flexcoders] changing states from within a component

2007-02-28 Thread Clint Tredway
try parentDocument.currentState = 'home' On 2/27/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the user enters the username and password, these details are passed to a ColdFusion CFC

Re: [flexcoders] changing states from within a component

2007-02-28 Thread John Wilker
What I do is set a global var in my model for state. then bind currentState to that variable. Then just update your model var. On 2/27/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the

[flexcoders] changing states from within a component

2007-02-27 Thread stephen50232
Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the user enters the username and password, these details are passed to a ColdFusion CFC and checked, the result is then checked. If the login is successful I want to be able to change

RE: [flexcoders] changing states from within a component

2007-02-27 Thread Karl Johnson
Subject: [flexcoders] changing states from within a component Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the user enters the username and password, these details are passed to a ColdFusion CFC and checked, the result

Re: [flexcoders] changing states from within a component

2007-02-27 Thread Jeffry Houser
Have the login component fire an event upon succesful, or failed, login. Have the 'main app respond to the event by changing states (or displaying an error). At 12:23 PM 2/27/2007, you wrote: Hi, I'm working on an application, which is component based. One of my components is a Login

RE: [flexcoders] changing states from within a component

2007-02-27 Thread Dimitrios Gianninas
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stephen50232 Sent: Tuesday, February 27, 2007 12:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] changing states from within a component Hi, I'm working on an application, which is component based. One of my