3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">/* AIRAliases.js - Revision: 0.15 */
\r
10 // Copyright (c) 2007. Adobe Systems Incorporated.
\r
11 // All rights reserved.
\r
13 // Redistribution and use in source and binary forms, with or without
\r
14 // modification, are permitted provided that the following conditions are met:
\r
16 // * Redistributions of source code must retain the above copyright notice,
\r
17 // this list of conditions and the following disclaimer.
\r
18 // * Redistributions in binary form must reproduce the above copyright notice,
\r
19 // this list of conditions and the following disclaimer in the documentation
\r
20 // and/or other materials provided with the distribution.
\r
21 // * Neither the name of Adobe Systems Incorporated nor the names of its
\r
22 // contributors may be used to endorse or promote products derived from this
\r
23 // software without specific prior written permission.
\r
25 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
\r
26 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
\r
27 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
\r
28 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
\r
29 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
\r
30 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
\r
31 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
\r
32 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
\r
33 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
\r
34 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
\r
35 // POSSIBILITY OF SUCH DAMAGE.
\r
39 if (window.runtime)
\r
43 air.trace = window.runtime.trace;
\r
44 air.navigateToURL = window.runtime.flash.net.navigateToURL;
\r
45 air.sendToURL = window.runtime.flash.net.sendToURL;
\r
49 air.File = window.runtime.flash.filesystem.File;
\r
50 air.FileStream = window.runtime.flash.filesystem.FileStream;
\r
51 air.FileMode = window.runtime.flash.filesystem.FileMode;
\r
54 air.AsyncErrorEvent = window.runtime.flash.events.AsyncErrorEvent;
\r
55 air.DataEvent = window.runtime.flash.events.DataEvent;
\r
56 air.DRMAuthenticateEvent = window.runtime.flash.events.DRMAuthenticateEvent;
\r
57 air.DRMStatusEvent = window.runtime.flash.events.DRMStatusEvent;
\r
58 air.Event = window.runtime.flash.events.Event;
\r
59 air.EventDispatcher = window.runtime.flash.events.EventDispatcher;
\r
60 air.FileListEvent = window.runtime.flash.events.FileListEvent;
\r
61 air.HTTPStatusEvent = window.runtime.flash.events.HTTPStatusEvent;
\r
62 air.IOErrorEvent = window.runtime.flash.events.IOErrorEvent;
\r
63 air.InvokeEvent = window.runtime.flash.events.InvokeEvent;
\r
64 air.NetStatusEvent = window.runtime.flash.events.NetStatusEvent;
\r
65 air.OutputProgressEvent = window.runtime.flash.events.OutputProgressEvent;
\r
66 air.ProgressEvent = window.runtime.flash.events.ProgressEvent;
\r
67 air.SecurityErrorEvent = window.runtime.flash.events.SecurityErrorEvent;
\r
68 air.StatusEvent = window.runtime.flash.events.StatusEvent;
\r
69 air.TimerEvent = window.runtime.flash.events.TimerEvent;
\r
70 air.NativeDragEvent = window.runtime.flash.events.NativeDragEvent;
\r
71 air.ActivityEvent = window.runtime.flash.events.ActivityEvent;
\r
72 air.KeyboardEvent = window.runtime.flash.events.KeyboardEvent;
\r
73 air.MouseEvent = window.runtime.flash.events.MouseEvent;
\r
76 air.NativeWindow = window.runtime.flash.display.NativeWindow;
\r
77 air.NativeWindowDisplayState = window.runtime.flash.display.NativeWindowDisplayState;
\r
78 air.NativeWindowInitOptions = window.runtime.flash.display.NativeWindowInitOptions;
\r
79 air.NativeWindowSystemChrome = window.runtime.flash.display.NativeWindowSystemChrome;
\r
80 air.NativeWindowResize = window.runtime.flash.display.NativeWindowResize;
\r
81 air.NativeWindowType = window.runtime.flash.display.NativeWindowType;
\r
83 air.NativeWindowBoundsEvent = window.runtime.flash.events.NativeWindowBoundsEvent;
\r
84 air.NativeWindowDisplayStateEvent = window.runtime.flash.events.NativeWindowDisplayStateEvent;
\r
87 air.Point = window.runtime.flash.geom.Point;
\r
88 air.Rectangle = window.runtime.flash.geom.Rectangle;
\r
89 air.Matrix = window.runtime.flash.geom.Matrix;
\r
92 air.FileFilter = window.runtime.flash.net.FileFilter;
\r
94 air.LocalConnection = window.runtime.flash.net.LocalConnection;
\r
95 air.NetConnection = window.runtime.flash.net.NetConnection;
\r
97 air.URLLoader = window.runtime.flash.net.URLLoader;
\r
98 air.URLLoaderDataFormat = window.runtime.flash.net.URLLoaderDataFormat;
\r
99 air.URLRequest = window.runtime.flash.net.URLRequest;
\r
100 air.URLRequestDefaults = window.runtime.flash.net.URLRequestDefaults;
\r
101 air.URLRequestHeader = window.runtime.flash.net.URLRequestHeader;
\r
102 air.URLRequestMethod = window.runtime.flash.net.URLRequestMethod;
\r
103 air.URLStream = window.runtime.flash.net.URLStream;
\r
104 air.URLVariables = window.runtime.flash.net.URLVariables;
\r
105 air.Socket = window.runtime.flash.net.Socket;
\r
106 air.XMLSocket = window.runtime.flash.net.XMLSocket;
\r
108 air.Responder = window.runtime.flash.net.Responder;
\r
109 air.ObjectEncoding = window.runtime.flash.net.ObjectEncoding;
\r
111 air.NetStream = window.runtime.flash.net.NetStream;
\r
112 air.SharedObject = window.runtime.flash.net.SharedObject;
\r
113 air.SharedObjectFlushStatus = window.runtime.flash.net.SharedObjectFlushStatus;
\r
116 air.Capabilities = window.runtime.flash.system.Capabilities;
\r
117 air.System = window.runtime.flash.system.System;
\r
118 air.Security = window.runtime.flash.system.Security;
\r
119 air.Updater = window.runtime.flash.desktop.Updater;
\r
121 air.LoaderContext = window.runtime.flash.system.LoaderContext;
\r
122 air.ApplicationDomain = window.runtime.flash.system.ApplicationDomain;
\r
126 air.Clipboard = window.runtime.flash.desktop.Clipboard;
\r
127 air.ClipboardFormats = window.runtime.flash.desktop.ClipboardFormats;
\r
128 air.ClipboardTransferMode = window.runtime.flash.desktop.ClipboardTransferMode;
\r
130 air.NativeDragManager = window.runtime.flash.desktop.NativeDragManager;
\r
131 air.NativeDragOptions = window.runtime.flash.desktop.NativeDragOptions;
\r
132 air.NativeDragActions = window.runtime.flash.desktop.NativeDragActions;
\r
134 air.Icon = window.runtime.flash.desktop.Icon;
\r
135 air.DockIcon = window.runtime.flash.desktop.DockIcon;
\r
136 air.InteractiveIcon = window.runtime.flash.desktop.InteractiveIcon;
\r
137 air.NotificationType = window.runtime.flash.desktop.NotificationType;
\r
138 air.SystemTrayIcon = window.runtime.flash.desktop.SystemTrayIcon;
\r
140 air.NativeApplication = window.runtime.flash.desktop.NativeApplication;
\r
143 air.NativeMenu = window.runtime.flash.display.NativeMenu;
\r
144 air.NativeMenuItem = window.runtime.flash.display.NativeMenuItem;
\r
145 air.Screen = window.runtime.flash.display.Screen;
\r
147 air.Loader = window.runtime.flash.display.Loader;
\r
148 air.Bitmap = window.runtime.flash.display.Bitmap;
\r
149 air.BitmapData = window.runtime.flash.display.BitmapData;
\r
152 air.Keyboard = window.runtime.flash.ui.Keyboard;
\r
153 air.KeyEquivalent = window.runtime.flash.ui.KeyEquivalent;
\r
154 air.Mouse = window.runtime.flash.ui.Mouse;
\r
158 air.ByteArray = window.runtime.flash.utils.ByteArray;
\r
159 air.CompressionAlgorithm = window.runtime.flash.utils.CompressionAlgorithm;
\r
160 air.Endian = window.runtime.flash.utils.Endian;
\r
161 air.Timer = window.runtime.flash.utils.Timer;
\r
162 air.XMLSignatureValidator = window.runtime.flash.security.XMLSignatureValidator;
\r
164 air.HTMLLoader = window.runtime.flash.html.HTMLLoader;
\r
167 air.ID3Info = window.runtime.flash.media.ID3Info;
\r
168 air.Sound = window.runtime.flash.media.Sound;
\r
169 air.SoundChannel = window.runtime.flash.media.SoundChannel;
\r
170 air.SoundLoaderContext = window.runtime.flash.media.SoundLoaderContext;
\r
171 air.SoundMixer = window.runtime.flash.media.SoundMixer;
\r
172 air.SoundTransform = window.runtime.flash.media.SoundTransform;
\r
173 air.Microphone = window.runtime.flash.media.Microphone;
\r
174 air.Video = window.runtime.flash.media.Video;
\r
175 air.Camera = window.runtime.flash.media.Camera;
\r
178 air.EncryptedLocalStore = window.runtime.flash.data.EncryptedLocalStore;
\r
179 air.SQLCollationType = window.runtime.flash.data.SQLCollationType;
\r
180 air.SQLColumnNameStyle = window.runtime.flash.data.SQLColumnNameStyle;
\r
181 air.SQLColumnSchema = window.runtime.flash.data.SQLColumnSchema;
\r
182 air.SQLConnection = window.runtime.flash.data.SQLConnection;
\r
183 air.SQLError = window.runtime.flash.errors.SQLError;
\r
184 air.SQLErrorEvent = window.runtime.flash.events.SQLErrorEvent;
\r
185 air.SQLErrorOperation = window.runtime.flash.errors.SQLErrorOperation;
\r
186 air.SQLEvent = window.runtime.flash.events.SQLEvent;
\r
187 air.SQLIndexSchema = window.runtime.flash.data.SQLIndexSchema;
\r
188 air.SQLMode = window.runtime.flash.data.SQLMode;
\r
189 air.SQLResult = window.runtime.flash.data.SQLResult;
\r
190 air.SQLSchema = window.runtime.flash.data.SQLSchema;
\r
191 air.SQLSchemaResult = window.runtime.flash.data.SQLSchemaResult;
\r
192 air.SQLStatement = window.runtime.flash.data.SQLStatement;
\r
193 air.SQLTableSchema = window.runtime.flash.data.SQLTableSchema;
\r
194 air.SQLTransactionLockType = window.runtime.flash.data.SQLTransactionLockType;
\r
195 air.SQLTriggerSchema = window.runtime.flash.data.SQLTriggerSchema;
\r
196 air.SQLUpdateEvent = window.runtime.flash.events.SQLUpdateEvent;
\r
197 air.SQLViewSchema = window.runtime.flash.data.SQLViewSchema;
\r
199 // service monitoring framework
\r
200 air.__defineGetter__("ServiceMonitor", function() { return window.runtime.air.net.ServiceMonitor; })
\r
201 air.__defineGetter__("SocketMonitor", function() { return window.runtime.air.net.SocketMonitor; })
\r
202 air.__defineGetter__("URLMonitor", function() { return window.runtime.air.net.URLMonitor; })
\r