source: trunk/fl5/src/com/longtailvideo/jwplayer/view/interfaces/IDisplayComponent.as @ 400

Revision 400, 1.1 KB checked in by zach, 4 years ago (diff)
  • Restructured view
  • Added ExternalInterface Checks
Line 
1package com.longtailvideo.jwplayer.view.interfaces {
2        import com.longtailvideo.jwplayer.events.IGlobalEventDispatcher;
3       
4        import flash.display.DisplayObject;
5       
6
7        /**
8         * Sent when the user interface requests that the player play the currently loaded media
9         *
10         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PLAY
11         */
12        [Event(name="jwPlayerViewPlay", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
13
14        /**
15         * Sent when the user requests the player set its fullscreen state to the given value
16         *
17         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_FULLSCREEN
18         */
19        [Event(name="jwPlayerViewFullscreen", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
20       
21        /**
22         * Sent when the user clicks on the display
23         *
24         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_CLICK
25         */
26        [Event(name="jwPlayerViewClick", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
27
28        public interface IDisplayComponent extends IGlobalEventDispatcher {
29                function setIcon(displayIcon:DisplayObject):void;
30                function setText(displayText:String):void;
31                function resize(width:Number, height:Number):void;
32        }
33}
Note: See TracBrowser for help on using the repository browser.