--- /dev/null
+<html>\r
+<head>\r
+ <title>The source code</title>\r
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body onload="prettyPrint();">\r
+ <pre class="prettyprint lang-js">/* AIRAliases.js - Revision: 0.15 */\r
+\r
+// Copyright (c) 2007. Adobe Systems Incorporated.\r
+// All rights reserved.\r
+//\r
+// Redistribution and use in source and binary forms, with or without\r
+// modification, are permitted provided that the following conditions are met:\r
+//\r
+// * Redistributions of source code must retain the above copyright notice,\r
+// this list of conditions and the following disclaimer.\r
+// * Redistributions in binary form must reproduce the above copyright notice,\r
+// this list of conditions and the following disclaimer in the documentation\r
+// and/or other materials provided with the distribution.\r
+// * Neither the name of Adobe Systems Incorporated nor the names of its\r
+// contributors may be used to endorse or promote products derived from this\r
+// software without specific prior written permission.\r
+//\r
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\r
+// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
+// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
+// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
+// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
+// POSSIBILITY OF SUCH DAMAGE.\r
+\r
+\r
+var air;\r
+if (window.runtime) \r
+{\r
+ if (!air) air = {};\r
+ // functions\r
+ air.trace = window.runtime.trace;\r
+ air.navigateToURL = window.runtime.flash.net.navigateToURL;\r
+ air.sendToURL = window.runtime.flash.net.sendToURL;\r
+\r
+\r
+ // file\r
+ air.File = window.runtime.flash.filesystem.File;\r
+ air.FileStream = window.runtime.flash.filesystem.FileStream;\r
+ air.FileMode = window.runtime.flash.filesystem.FileMode;\r
+\r
+ // events\r
+ air.AsyncErrorEvent = window.runtime.flash.events.AsyncErrorEvent;\r
+ air.DataEvent = window.runtime.flash.events.DataEvent;\r
+ air.DRMAuthenticateEvent = window.runtime.flash.events.DRMAuthenticateEvent;\r
+ air.DRMStatusEvent = window.runtime.flash.events.DRMStatusEvent;\r
+ air.Event = window.runtime.flash.events.Event;\r
+ air.EventDispatcher = window.runtime.flash.events.EventDispatcher;\r
+ air.FileListEvent = window.runtime.flash.events.FileListEvent;\r
+ air.HTTPStatusEvent = window.runtime.flash.events.HTTPStatusEvent;\r
+ air.IOErrorEvent = window.runtime.flash.events.IOErrorEvent;\r
+ air.InvokeEvent = window.runtime.flash.events.InvokeEvent;\r
+ air.NetStatusEvent = window.runtime.flash.events.NetStatusEvent;\r
+ air.OutputProgressEvent = window.runtime.flash.events.OutputProgressEvent;\r
+ air.ProgressEvent = window.runtime.flash.events.ProgressEvent;\r
+ air.SecurityErrorEvent = window.runtime.flash.events.SecurityErrorEvent;\r
+ air.StatusEvent = window.runtime.flash.events.StatusEvent;\r
+ air.TimerEvent = window.runtime.flash.events.TimerEvent;\r
+ air.NativeDragEvent = window.runtime.flash.events.NativeDragEvent;\r
+ air.ActivityEvent = window.runtime.flash.events.ActivityEvent;\r
+ air.KeyboardEvent = window.runtime.flash.events.KeyboardEvent; \r
+ air.MouseEvent = window.runtime.flash.events.MouseEvent; \r
+ \r
+ // native window\r
+ air.NativeWindow = window.runtime.flash.display.NativeWindow;\r
+ air.NativeWindowDisplayState = window.runtime.flash.display.NativeWindowDisplayState;\r
+ air.NativeWindowInitOptions = window.runtime.flash.display.NativeWindowInitOptions;\r
+ air.NativeWindowSystemChrome = window.runtime.flash.display.NativeWindowSystemChrome;\r
+ air.NativeWindowResize = window.runtime.flash.display.NativeWindowResize;\r
+ air.NativeWindowType = window.runtime.flash.display.NativeWindowType;\r
+\r
+ air.NativeWindowBoundsEvent = window.runtime.flash.events.NativeWindowBoundsEvent;\r
+ air.NativeWindowDisplayStateEvent = window.runtime.flash.events.NativeWindowDisplayStateEvent;\r
+\r
+ // geom\r
+ air.Point = window.runtime.flash.geom.Point;\r
+ air.Rectangle = window.runtime.flash.geom.Rectangle;\r
+ air.Matrix = window.runtime.flash.geom.Matrix;\r
+\r
+ // net\r
+ air.FileFilter = window.runtime.flash.net.FileFilter;\r
+ \r
+ air.LocalConnection = window.runtime.flash.net.LocalConnection;\r
+ air.NetConnection = window.runtime.flash.net.NetConnection;\r
+\r
+ air.URLLoader = window.runtime.flash.net.URLLoader;\r
+ air.URLLoaderDataFormat = window.runtime.flash.net.URLLoaderDataFormat;\r
+ air.URLRequest = window.runtime.flash.net.URLRequest;\r
+ air.URLRequestDefaults = window.runtime.flash.net.URLRequestDefaults;\r
+ air.URLRequestHeader = window.runtime.flash.net.URLRequestHeader;\r
+ air.URLRequestMethod = window.runtime.flash.net.URLRequestMethod;\r
+ air.URLStream = window.runtime.flash.net.URLStream;\r
+ air.URLVariables = window.runtime.flash.net.URLVariables;\r
+ air.Socket = window.runtime.flash.net.Socket;\r
+ air.XMLSocket = window.runtime.flash.net.XMLSocket;\r
+\r
+ air.Responder = window.runtime.flash.net.Responder;\r
+ air.ObjectEncoding = window.runtime.flash.net.ObjectEncoding;\r
+\r
+ air.NetStream = window.runtime.flash.net.NetStream;\r
+ air.SharedObject = window.runtime.flash.net.SharedObject;\r
+ air.SharedObjectFlushStatus = window.runtime.flash.net.SharedObjectFlushStatus;\r
+\r
+ // system\r
+ air.Capabilities = window.runtime.flash.system.Capabilities;\r
+ air.System = window.runtime.flash.system.System;\r
+ air.Security = window.runtime.flash.system.Security;\r
+ air.Updater = window.runtime.flash.desktop.Updater;\r
+\r
+ air.LoaderContext = window.runtime.flash.system.LoaderContext;\r
+ air.ApplicationDomain = window.runtime.flash.system.ApplicationDomain; \r
+\r
+\r
+ // desktop\r
+ air.Clipboard = window.runtime.flash.desktop.Clipboard;\r
+ air.ClipboardFormats = window.runtime.flash.desktop.ClipboardFormats;\r
+ air.ClipboardTransferMode = window.runtime.flash.desktop.ClipboardTransferMode;\r
+\r
+ air.NativeDragManager = window.runtime.flash.desktop.NativeDragManager;\r
+ air.NativeDragOptions = window.runtime.flash.desktop.NativeDragOptions;\r
+ air.NativeDragActions = window.runtime.flash.desktop.NativeDragActions;\r
+\r
+ air.Icon = window.runtime.flash.desktop.Icon;\r
+ air.DockIcon = window.runtime.flash.desktop.DockIcon;\r
+ air.InteractiveIcon = window.runtime.flash.desktop.InteractiveIcon;\r
+ air.NotificationType = window.runtime.flash.desktop.NotificationType;\r
+ air.SystemTrayIcon = window.runtime.flash.desktop.SystemTrayIcon;\r
+\r
+ air.NativeApplication = window.runtime.flash.desktop.NativeApplication;\r
+\r
+ // display\r
+ air.NativeMenu = window.runtime.flash.display.NativeMenu;\r
+ air.NativeMenuItem = window.runtime.flash.display.NativeMenuItem;\r
+ air.Screen = window.runtime.flash.display.Screen;\r
+ \r
+ air.Loader = window.runtime.flash.display.Loader;\r
+ air.Bitmap = window.runtime.flash.display.Bitmap;\r
+ air.BitmapData = window.runtime.flash.display.BitmapData;\r
+\r
+ // ui\r
+ air.Keyboard = window.runtime.flash.ui.Keyboard;\r
+ air.KeyEquivalent = window.runtime.flash.ui.KeyEquivalent;\r
+ air.Mouse = window.runtime.flash.ui.Mouse;\r
+\r
+\r
+ // utils\r
+ air.ByteArray = window.runtime.flash.utils.ByteArray;\r
+ air.CompressionAlgorithm = window.runtime.flash.utils.CompressionAlgorithm;\r
+ air.Endian = window.runtime.flash.utils.Endian;\r
+ air.Timer = window.runtime.flash.utils.Timer;\r
+ air.XMLSignatureValidator = window.runtime.flash.security.XMLSignatureValidator;\r
+\r
+ air.HTMLLoader = window.runtime.flash.html.HTMLLoader; \r
+\r
+ // media\r
+ air.ID3Info = window.runtime.flash.media.ID3Info;\r
+ air.Sound = window.runtime.flash.media.Sound;\r
+ air.SoundChannel = window.runtime.flash.media.SoundChannel;\r
+ air.SoundLoaderContext = window.runtime.flash.media.SoundLoaderContext;\r
+ air.SoundMixer = window.runtime.flash.media.SoundMixer;\r
+ air.SoundTransform = window.runtime.flash.media.SoundTransform;\r
+ air.Microphone = window.runtime.flash.media.Microphone;\r
+ air.Video = window.runtime.flash.media.Video;\r
+ air.Camera = window.runtime.flash.media.Camera;\r
+\r
+ // data\r
+ air.EncryptedLocalStore = window.runtime.flash.data.EncryptedLocalStore;\r
+ air.SQLCollationType = window.runtime.flash.data.SQLCollationType;\r
+ air.SQLColumnNameStyle = window.runtime.flash.data.SQLColumnNameStyle;\r
+ air.SQLColumnSchema = window.runtime.flash.data.SQLColumnSchema;\r
+ air.SQLConnection = window.runtime.flash.data.SQLConnection;\r
+ air.SQLError = window.runtime.flash.errors.SQLError;\r
+ air.SQLErrorEvent = window.runtime.flash.events.SQLErrorEvent;\r
+ air.SQLErrorOperation = window.runtime.flash.errors.SQLErrorOperation;\r
+ air.SQLEvent = window.runtime.flash.events.SQLEvent;\r
+ air.SQLIndexSchema = window.runtime.flash.data.SQLIndexSchema;\r
+ air.SQLMode = window.runtime.flash.data.SQLMode;\r
+ air.SQLResult = window.runtime.flash.data.SQLResult;\r
+ air.SQLSchema = window.runtime.flash.data.SQLSchema;\r
+ air.SQLSchemaResult = window.runtime.flash.data.SQLSchemaResult;\r
+ air.SQLStatement = window.runtime.flash.data.SQLStatement;\r
+ air.SQLTableSchema = window.runtime.flash.data.SQLTableSchema;\r
+ air.SQLTransactionLockType = window.runtime.flash.data.SQLTransactionLockType;\r
+ air.SQLTriggerSchema = window.runtime.flash.data.SQLTriggerSchema;\r
+ air.SQLUpdateEvent = window.runtime.flash.events.SQLUpdateEvent;\r
+ air.SQLViewSchema = window.runtime.flash.data.SQLViewSchema;\r
+\r
+ // service monitoring framework\r
+ air.__defineGetter__("ServiceMonitor", function() { return window.runtime.air.net.ServiceMonitor; })\r
+ air.__defineGetter__("SocketMonitor", function() { return window.runtime.air.net.SocketMonitor; })\r
+ air.__defineGetter__("URLMonitor", function() { return window.runtime.air.net.URLMonitor; })\r
+}</pre> \r
+</body>\r
+</html>
\ No newline at end of file