home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2012 January / ME_2012_01.iso / Galileo-Video / system / ChromeLinux.swf / scripts / mdm / InternalApplication.as < prev    next >
Encoding:
Text File  |  2010-11-16  |  1.6 KB  |  69 lines

  1. package mdm
  2. {
  3.    import flash.display.Sprite;
  4.    import flash.events.Event;
  5.    import flash.events.EventDispatcher;
  6.    import flash.external.ExternalInterface;
  7.    
  8.    public class InternalApplication extends EventDispatcher
  9.    {
  10.       private var fromResizeCallBack:Function;
  11.       
  12.       public function InternalApplication()
  13.       {
  14.          super();
  15.          ExternalInterface.addCallback("onresize",onResize);
  16.       }
  17.       
  18.       public function set onAppExit(param1:Function) : void
  19.       {
  20.       }
  21.       
  22.       public function get path() : String
  23.       {
  24.          return "../";
  25.       }
  26.       
  27.       public function enableExitHandler(param1:Boolean = true) : void
  28.       {
  29.       }
  30.       
  31.       public function sendToBack(param1:Boolean = true) : void
  32.       {
  33.       }
  34.       
  35.       public function restore(param1:Boolean = true) : void
  36.       {
  37.       }
  38.       
  39.       public function switchFullScreen(param1:Boolean) : void
  40.       {
  41.       }
  42.       
  43.       public function init(param1:Sprite, param2:Function = null) : void
  44.       {
  45.          trace("APP init");
  46.       }
  47.       
  48.       public function set onFormResize(param1:Function) : void
  49.       {
  50.          trace("CALLEE " + arguments.callee);
  51.       }
  52.       
  53.       private function onResize() : void
  54.       {
  55.          trace("jsCall");
  56.          dispatchEvent(new Event(Event.RESIZE));
  57.       }
  58.       
  59.       public function bringToFront(param1:Boolean = true) : void
  60.       {
  61.       }
  62.       
  63.       public function exit(param1:String = "", param2:String = "", param3:Boolean = true) : void
  64.       {
  65.       }
  66.    }
  67. }
  68.  
  69.