actionscript - Flex 4: How to override the default button functionality in a skin class? -


I have a video player with custom square class. I want to override the functionality of the fullscreen button when I add a click event, the player still goes into full screen mode. How can I stop the fullscreen event from firing?

It has been found that if you get the full control over the button button, anything by default Press the button to do

I have changed the full screen button to the custom fullscreen button (bottom):

  & lt; S: Button id = "CustomFullScreenButton" label = "fullscreen" click = "handle fullscreenbootchinite (event);" skinClass = "FullScreenButtonSkin" />  

Comments