0 Replies Latest reply on Feb 8, 2011 11:48 AM by abaki

    HOW TO DISABLE AUTOMATIC STATE CHANGE

    abaki

      Hello There,

       

      I have implemented a custom title window and add a button next to close button which minimized the title window. For minimize action I added a skin state called "minimized" and used it in minimize button handler. if the state is "normal"  I minimize the component and adjust new settings, if the state is "minimized" I change the state to "normal" and adjust new settings. So the problem is the following:

       

           my component works well if I stay in the web page, however if I open another web page, go that page and come back to my application, I realized that my state automatically changes to "normal" if it is in "minimized".

       

      How can I disable this state change when I move to another page( or to any other thing on computer) and come back to my flex app. ?