0 Replies Latest reply on Sep 23, 2011 5:04 PM by Flex Rock

    State not updateing

    Flex Rock Level 1

      Hi,

           I have states in one MXML page.

      <mx:State name="show_dialog">

                  <mx:SetProperty target="{videoBusycursor}" name="includeInLayout" value="true"/>

              </mx:State>

              <mx:State name="hide_dialog">

                  <mx:SetProperty target="{videoBusycursor}" name="includeInLayout" value="false"/>

              </mx:State>

      When i use them in the root tag as currentState = "show_dialog" it works fine.

      But when i try to set the state from some other mxml or class file without specifying in the root tag it is not working. Is there any function to trigger the state explicitly in flex. I was struck with this behvaiour.

       

       

      Regards,

      Jayagopal.