0 Replies Latest reply on Oct 11, 2010 11:07 AM by BennyB23

    StateChange event handling


      I'm having some general trouble figuring out how to set properties and handle events and listeners in response to state changes. For starters, I have an application, which currently has two states:  "audioMenu" and "videoMenu". Both states share a VideoPlayer component for playback of audio and video files respectively. Since the Fullscreen functionality isn't a logical feature for the audioMenu, which is currently the default state, I have a call in the application's creationCompleteHandler that sets the fullScreenButton's enabled property to false. The problem is, I haven't been able to find a way to get the button to change back to enabled for the videoMenu. I've tried a handful of different approaches and none of them return errors, but none of them return results either. Any advice would be appreciated.