[flexcoders] Changing states and removing ControlBar throws an error

2009-02-26 Thread azona26
I have a panel which contains a form, form items, controlbar and a button. When I create a new state and remove all the items from the panel using removeChild, the error is thrown: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. I have narrowed it down to an

[flexcoders] changing states in module behaves strange

2007-05-23 Thread flashcrow2000
Hello, Here's the story: I have a custom window and a class which defines a specific content (pictures, text, other components and so on). My module loads a custom window and sets its content to that specific class (much like a popupmanager, if you like, but i can't use that for this

RE: [flexcoders] changing states in module behaves strange

2007-05-23 Thread Alex Harui
] On Behalf Of flashcrow2000 Sent: Wednesday, May 23, 2007 8:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] changing states in module behaves strange Hello, Here's the story: I have a custom window and a class which defines a specific content (pictures, text, other components and so

[flexcoders] Changing states

2007-04-18 Thread devil_love_99
Hi, I have been developing a flex application and now come to the point where I have to add a login component. The structure of my application is as follows: Mainapp |-Component-1 |-Component-2 |-Login Component the thing is Mainapp is just a container. Component-1 has the button

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

RE: [flexcoders] changing states.

2006-06-07 Thread Rob Rusher
You should only need to set the state on "this.currentState". No import needed. Here is an example: private function stateHandler():void { this.currentState = 'About'; } Rob Rusher RIA Consultant Adobe Certified Flex 2Instructor e:[EMAIL PROTECTED] c:303.885.7044

[flexcoders] changing states.

2006-06-06 Thread Jeremy Rottman
I am using a stateManager type setup with my new flex app. I have one mxml file that holds all the information about various states with in my app. And I am using a menubar that will allow users to navigate through these states. I am having a bit of trouble getting this to work. I am using this

[flexcoders] Changing states with DG Click

2006-01-17 Thread Jeremy Rottman
I have a datagrid that I am using to display file search info. When a user clicks on the file they want to view, it should change the current state from the search state to the view state. However, I cant seem to get this to work. Here is the code that I am trying. Can someone give me a bit of

RE: [flexcoders] Changing states with DG Click

2006-01-17 Thread Matt Chotin
, January 17, 2006 11:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Changing states with DG Click I have a datagrid that I am using to display file search info. When a user clicks on the file they want to view, it should change the current state from the search state to the view state