- import cj.events.SpecialEvent;
- addEventListener(SpecialEvent.FULL_VIDEO, fullScreenEvent, false, 0, true);
- function fullScreenEvent(event:SpecialEvent):void {
- if(event.isFull) {
- // full screen button was clicked
- }
- else {
- // either escape key or normal screeen button was clicked
- }
- }