----- Original Message ----- 
  From: dorkie dork from dorktown 
  To: [email protected] 
  Sent: Wednesday, January 14, 2009 10:34 PM
  Subject: Re: [flexcoders]Change state without dispatching events


  Do you have a code example you can show me? 

  When I use this:

  Application.application.setCurrentState(stateName); 

  it always triggers a StateChangeEvent.CURRENT_STATE_CHANGE event. 

  I want to know if there is a way to not generate that event. None at all. 

I'll ask the obvious question. Why don't you want to let components know that 
the state has changed?
Makes me wonder why you are using states if you don't want the event propogated.

  On Wed, Jan 14, 2009 at 2:11 AM, p...@vin Uttarwar <[email protected]> 
wrote:

    Hi,
    Yes you can do it  using databinding,
    by keeping one of the variable which is aceessible from
    anywhere throughout the application [inside static class like ModelLocator] 
and according to
    its change you can change the state.



    2009/1/14 dorkie dork from dorktown <[email protected]>


      Is there a way to change states without generating an event?





   

Reply via email to