UNPKG

@awayfl/avm1

Version:

Virtual machine for executing AS1 and AS2 code

102 lines 3.43 kB
/** * Copyright 2014 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { DisplayObject as AwayDisplayObject } from '@awayjs/scene'; import { XMLDocumentAway } from './customAway/xml/XMLDocumentAway'; import { AVM1Stage } from './lib/AVM1Stage'; export declare class AVM1Movie extends AwayDisplayObject { _getLevelForRoot(root: AwayDisplayObject): number; _getRootForLevel(level: number): AwayDisplayObject; _addRoot(level: number, root: AwayDisplayObject): void; _removeRoot(level: number): void; } export declare class ContextMenu { } export declare class ContextMenuItem { } export declare class fscommand { } export declare class Security { } export declare class Capabilities { } export declare class ExternalInterface { } export declare class Mouse { } export declare class SoundChannel { } export declare class SoundTransform { } export declare class SoundMixer { } export declare class SecurityDomain { flash: { display: { AVM1Movie: typeof AVM1Movie; Stage: typeof AVM1Stage; }; events: { Event: { new (type: string, eventInitDict?: EventInit): Event; prototype: Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }; KeyboardEvent: { new (type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent; prototype: KeyboardEvent; readonly DOM_KEY_LOCATION_LEFT: number; readonly DOM_KEY_LOCATION_NUMPAD: number; readonly DOM_KEY_LOCATION_RIGHT: number; readonly DOM_KEY_LOCATION_STANDARD: number; }; MouseEvent: { new (type: string, eventInitDict?: MouseEventInit): MouseEvent; prototype: MouseEvent; }; ProgressEvent: { new (type: string, eventInitDict?: ProgressEventInit): ProgressEvent<EventTarget>; prototype: ProgressEvent<EventTarget>; }; }; external: { ExternalInterface: typeof ExternalInterface; }; filters: {}; system: { Capabilities: typeof Capabilities; Security: typeof Security; fscommand: typeof fscommand; }; ui: { ContextMenu: typeof ContextMenu; ContextMenuItem: typeof ContextMenuItem; Mouse: typeof Mouse; }; media: { SoundChannel: typeof SoundChannel; SoundTransform: typeof SoundTransform; SoundMixer: typeof SoundMixer; }; xml: { XMLDocument: typeof XMLDocumentAway; }; }; player: {}; } //# sourceMappingURL=SecurityDomain.d.ts.map