Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 27th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import cj.events.SpecialEvent;
  2.  
  3. addEventListener(SpecialEvent.FULL_VIDEO, fullScreenEvent, false, 0, true);
  4.  
  5. function fullScreenEvent(event:SpecialEvent):void {
  6.        
  7.         if(event.isFull) {
  8.                
  9.                 // full screen button was clicked
  10.                
  11.         }
  12.         else {
  13.                
  14.                 // either escape key or normal screeen button was clicked
  15.                
  16.         }
  17.        
  18. }