Methods
public addEventListener( eventType: any , callbackFunction: any ) : any
Defined in jsfl.d.ts:1274
Parameters
eventType: any
callbackFunction: any
Returns
any
public browseForFileURL( browseType: any , title?: any , previewArea?: any ) : any
Defined in jsfl.d.ts:1275
Parameters
browseType: any
title?: any optional
previewArea?: any optional
Returns
any
public browseForFolderURL( description: string ) : any
Defined in jsfl.d.ts:1276
Parameters
Returns
any
public clearPublishCache( )
Defined in jsfl.d.ts:1277
public clipCopyString( string: string )
Defined in jsfl.d.ts:1278
Parameters
public closeAll( bPromptToSave?: boolean )
Defined in jsfl.d.ts:1279
Parameters
bPromptToSave?: boolean optional
public closeAllPlayerDocuments( ) : boolean
Defined in jsfl.d.ts:1280
Returns
boolean
public closeDocument( documentObject: FlashDocument , bPromptToSaveChanges?: boolean ) : any
Defined in jsfl.d.ts:1281
Parameters
bPromptToSaveChanges?: boolean optional
Returns
any
public createDocument( document?: string ) : FlashDocument
Defined in jsfl.d.ts:1284
A string that specifies the type of document to create. Acceptable values are "timeline", "presentation", and "application". The default value is "timeline", which has the same effect as choosing File > New > Flash File (ActionScript 3.0). This parameter is optional.
Parameters
document?: string optional
Returns
FlashDocument
public exportPublishProfileString( ucfURI: string , profileName: string ) : string
Defined in jsfl.d.ts:1286
Parameters
ucfURI: string
profileName: string
Returns
string
public fileExists( fileURI: string ) : boolean
Defined in jsfl.d.ts:1292
Parameters
Returns
boolean
public findDocumentIndex( name: string ) : Array<number>
Defined in jsfl.d.ts:1294
Parameters
Returns
Array<number>
public findObjectInDocByName( instanceName: string , document: FlashDocument ) : Array<{ keyframe: FlashFrame; layer: FlashLayer; timeline: FlashTimeline; parent: any; }>
Defined in jsfl.d.ts:1295
Parameters
Returns
Array<{ keyframe: FlashFrame; layer: FlashLayer; timeline: FlashTimeline; parent: any; }>
public findObjectInDocByType( elementType: string , document: FlashDocument ) : Array<any>
Defined in jsfl.d.ts:1297
elementType = "shape", "text", "instance", or "shapeObj".
Parameters
Returns
Array<any>
public getAppMemoryInfo( memType: number ) : any
Defined in jsfl.d.ts:1298
Parameters
Returns
any
public getSwfPanel( ) : any
Defined in jsfl.d.ts:1310
Returns
any
public isFontInstalled( ) : any
Defined in jsfl.d.ts:1312
Returns
any
public mapPlayerURL( URI: string , returnMBCS?: boolean ) : string
Defined in jsfl.d.ts:1315
Parameters
URI: string
returnMBCS?: boolean optional
Returns
string
public openDocument( fileURI: string ) : FlashDocument
Defined in jsfl.d.ts:1318
Method; opens a Flash document (FLA file) for editing in a new Flash Document window and gives it focus. For a user, the effect is the same as selecting File > Open and then selecting a file. If the specified file is already open, the window that contains the document comes to the front. The window that contains the specified file becomes the currently selected document.
Parameters
Returns
FlashDocument
public openScript( fileURI: string , createExtension?: string , className?: string )
Defined in jsfl.d.ts:1322
Parameters
fileURI: string
createExtension?: string optional
className?: string optional
public quit( bPromptIfNeeded?: boolean )
Defined in jsfl.d.ts:1324
Parameters
bPromptIfNeeded?: boolean optional
public reloadTools( )
Defined in jsfl.d.ts:1328
public removeEventListener( eventType: string ) : boolean
Defined in jsfl.d.ts:1331
documentNew", "documentOpened", "documentClosed", "mouseMove", "documentChanged", "layerChanged", and "frameChanged".
Parameters
Returns
boolean
public resetAS3PackagePaths( )
Defined in jsfl.d.ts:1332
public resetPackagePaths( )
Defined in jsfl.d.ts:1333
public revertDocument( document: FlashDocument )
Defined in jsfl.d.ts:1334
Parameters
public runScript( fileURI: string , funcName?: Function , args?: Array<any> ) : any
Defined in jsfl.d.ts:1337
Parameters
fileURI: string
funcName?: Function optional
args?: Array<any> optional
Returns
any
public saveAll( )
Defined in jsfl.d.ts:1339
public saveDocument( document: FlashDocument , fileURI?: string ) : boolean
Defined in jsfl.d.ts:1342
Parameters
fileURI?: string optional
Returns
boolean
public saveDocumentAs( document: FlashDocument ) : boolean
Defined in jsfl.d.ts:1343
Parameters
Returns
boolean
public selectActiveWindow( document: FlashDocument , bActivateFrame?: boolean )
Defined in jsfl.d.ts:1351
Parameters
bActivateFrame?: boolean optional
public selectElement( elementObject: FlashElement , editMode: boolean ) : boolean
Defined in jsfl.d.ts:1346
Method; enables selection or editing of an element. Generally, you will use this method on objects returned by fl.findObjectInDocByName() or fl.findObjectInDocByType().
Parameters
Returns
boolean
public selectTool( toolName: string )
Defined in jsfl.d.ts:1349
"arrow","bezierSelect","freeXform","fillXform","lasso","pen","penplus","penminus","penmodify","text","line","rect","oval","rectPrimitive","ovalPrimitive","polystar","pencil","brush","inkBottle","bucket","eyeDropper","eraser","hand", and "magnifier".
Parameters
public showIdleMessage( show: boolean )
Defined in jsfl.d.ts:1353
Parameters
public toggleBreakpoint( ) : any
Defined in jsfl.d.ts:1355
Returns
any
public trace( message: any )
Defined in jsfl.d.ts:1358
Parameters