1 Reply Latest reply on Oct 1, 2008 9:12 AM by Gregory Lafrance

    CurrentState property of a PopUp

    flex2008 Level 3
      I have a panel which i am using as a popup.There are two states.In the base state there is a loginform.Once login is validated the state is changed.This is how i have specified the currentstate property,

      <mx:Panel xmlns:mx=" http://www.adobe.com/2006/mxml"
      currentState="{Model.user_id == null ? '' : 'loggedin'}" >

      When i am using this panel as a normal panel it is working fine.But when i am using it as a popup I am not able to switch to the second state even after successfull login..