mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
856 lines
30 KiB
Plaintext
856 lines
30 KiB
Plaintext
{
|
|
"FlashPoint": {
|
|
"x": "number",
|
|
"y": "number"
|
|
},
|
|
"FlashPoint3D": {
|
|
"z": "number"
|
|
},
|
|
"FlashRectangle": {
|
|
"top": "number",
|
|
"right": "number",
|
|
"bottom": "number",
|
|
"left": "number"
|
|
},
|
|
"FlashMatrix": {
|
|
"a": "number",
|
|
"b": "number",
|
|
"c": "number",
|
|
"d": "number",
|
|
"tx": "number",
|
|
"ty": "number"
|
|
},
|
|
"FlashFilter": {
|
|
"angle": "number",
|
|
"blurX": "number",
|
|
"blurY": "number",
|
|
"brightness": "number",
|
|
"color": "?",
|
|
"contrast": "number",
|
|
"distance": "number",
|
|
"enabled": "bool",
|
|
"hideObject": "bool",
|
|
"highlightColor": "?",
|
|
"hue": "number",
|
|
"inner": "bool",
|
|
"knockout": "bool",
|
|
"name": "string",
|
|
"quality": "string",
|
|
"saturation": "number",
|
|
"shadowColor": "?",
|
|
"strength": "number",
|
|
"type": "string"
|
|
},
|
|
"FlashDocument": {
|
|
"addDataToDocument": "fn(name: string, type: string, data: ?)",
|
|
"addDataToSelection": "fn(name: string, type: string, data: ?)",
|
|
"addFilter": "fn(filterName: string)",
|
|
"addItem": "fn(position: FlashPoint, item: FlashItem) -> bool",
|
|
"addNewLine": "fn(startPoint: FlashPoint, endpoint: FlashPoint)",
|
|
"addNewOval": "fn(boundingRectangle: FlashRectangle, bSuppressFill?: bool, bSuppressStroke?: bool)",
|
|
"addNewPrimitiveOval": "fn(boundingRectangle: FlashRectangle, bSpupressFill?: bool, bSuppressStroke?: bool)",
|
|
"addNewRectangle": "fn(boundingRectangle: FlashRectangle, roundness: number, bSuppressFill?: bool, bSuppressStroke?: bool)",
|
|
"addNewPrimitiveRectangle": "fn(boundingRectangle: FlashRectangle, roundness: number, bSuppressFill?: bool, bSuppressStroke?: bool)",
|
|
"addNewPublishProfile": "fn(profileName?: string)",
|
|
"addNewScene": "fn(name: string) -> bool",
|
|
"addNewText": "fn(boundingRectangle: FlashRectangle, text?: string)",
|
|
"align": "fn(alignmode: string, bUseDocumentBounds?: bool)",
|
|
"allowScreens": "fn()",
|
|
"arrange": "fn(arrangeMode: string)",
|
|
"breakApart": "fn()",
|
|
"canEditSymbol": "fn() -> bool",
|
|
"canRevert": "fn() -> bool",
|
|
"canTestMovie": "fn() -> bool",
|
|
"canTestScene": "fn() -> bool",
|
|
"changeFilterOrder": "fn(oldIndex: number, newIndex: number)",
|
|
"clipCopy": "fn()",
|
|
"clipCut": "fn()",
|
|
"clipPaste": "fn(bInPlace?: bool)",
|
|
"close": "fn(bPromptToSaveChanges?: bool)",
|
|
"convertLinesToFills": "fn()",
|
|
"convertToSymbol": "fn(type: string, name: string, registrationPoint: string) -> FlashSymbolInstance",
|
|
"crop": "fn()",
|
|
"debugMovie": "fn(abortIfErrorsExist?: bool)",
|
|
"deleteEnvelope": "fn() -> bool",
|
|
"deletePublishProfile": "fn() -> bool",
|
|
"deleteScene": "fn() -> bool",
|
|
"deleteSelection": "fn()",
|
|
"disableAllFilters": "fn()",
|
|
"disableFilter": "fn(filterIndex: number)",
|
|
"disableOtherFilters": "fn(enabledFilterIndex: number)",
|
|
"distribute": "fn(distributemode: string, bUseDocumentBounds?: bool)",
|
|
"distributeToLayers": "fn()",
|
|
"documentHasData": "fn(name: string) -> bool",
|
|
"duplicatePublishProfile": "fn(profileName?: string) -> number",
|
|
"duplicateScene": "fn() -> bool",
|
|
"duplicateSelection": "fn()",
|
|
"editScene": "fn(index: number)",
|
|
"enableAllFilters": "fn()",
|
|
"enableFilter": "fn(filterIndex: number)",
|
|
"enterEditMode": "fn(editMode?: string)",
|
|
"exitEditMode": "fn()",
|
|
"exportPNG": "fn(fileURI: string, bCurrentPNGSettings?: bool, bCurrentFrame?: bool) -> bool",
|
|
"exportPublishProfile": "fn(fileURI: string)",
|
|
"exportPublishProfileString": "fn(profileName?: string) -> string",
|
|
"exportSWF": "fn(fileURI: string, bCurrentSettings?: bool)",
|
|
"getAlignToDocument": "fn() -> bool",
|
|
"getBlendMode": "fn() -> string",
|
|
"getCustomFill": "fn(objectToFill?: string) -> FlashFill",
|
|
"getCustomStroke": "fn(locationOfStroke?: string) -> FlashStroke",
|
|
"getDataFromDocument": "fn(name: string) -> ?",
|
|
"getElementProperty": "fn(propertyName: string) -> ?",
|
|
"getElementTextAttr": "fn(attrName: string, startIndex?: number, endIndex?: number) -> FlashTextAttrs",
|
|
"getFilters": "fn() -> [FlashFilter]",
|
|
"getMetadata": "fn() -> string",
|
|
"getMobileSettings": "fn() -> string",
|
|
"getPlayerVersion": "fn() -> string",
|
|
"getSelectionRect": "fn() -> FlashRectangle",
|
|
"getTextString": "fn(startIndex?: number, endIndex?: number) -> string",
|
|
"getTimeline": "fn() -> FlashTimeline",
|
|
"getTransformationPoint": "fn() -> FlashPoint",
|
|
"group": "fn()",
|
|
"importFile": "fn(fileURI: string, importToLibrary?: bool)",
|
|
"importPublishProfile": "fn(fileURI: string) -> number",
|
|
"importPublishProfileString": "fn(xmlString: string) -> number",
|
|
"importSWF": "fn(fileURI: string)",
|
|
"intersect": "fn() -> bool",
|
|
"loadCuepointXML": "fn(uri: string) -> [?]",
|
|
"match": "fn(bWidth: bool, bHeight: bool, bUseDocumentBounds?: bool)",
|
|
"mouseClick": "fn(position: FlashPoint, bToggleSel: bool, bShiftSel: bool)",
|
|
"mouseDblClk": "fn(position: FlashPoint, bAltDown: bool, bShiftDown: bool, bShiftSelect: bool)",
|
|
"moveSelectedBezierPointsBy": "fn(delta: FlashPoint)",
|
|
"moveSelectionBy": "fn(distanceToMove: FlashPoint)",
|
|
"optimizeCurves": "fn(smoothing: number, bUseMultiplePasses: bool)",
|
|
"publish": "fn()",
|
|
"punch": "fn() -> bool",
|
|
"removeAllFilters": "fn()",
|
|
"removeDataFromDocument": "fn(name: string)",
|
|
"removeDataFromSelection": "fn(name: string)",
|
|
"removeFilter": "fn(filterIndex: number)",
|
|
"renamePublishProfile": "fn(profileNewName?: string) -> bool",
|
|
"renameScene": "fn(name: string) -> bool",
|
|
"reorderScene": "fn(sceneToMove: number, sceneToPutItBefore: number)",
|
|
"resetOvalObject": "fn()",
|
|
"resetRectangleObject": "fn()",
|
|
"resetTransformation": "fn()",
|
|
"revert": "fn()",
|
|
"rotate3DSelection": "fn(xyzCoordinate: FlashPoint3D, bGlobalTransform: bool)",
|
|
"rotateSelection": "fn(angle: number, rotationPoint?: string)",
|
|
"save": "fn(bOkToSaveAs?: bool) -> bool",
|
|
"saveAndCompact": "fn(bOkToSaveAs?: bool) -> bool",
|
|
"scaleSelection": "fn(xScale: number, yScale: number, whichCorner?: string)",
|
|
"selectAll": "fn()",
|
|
"selectNone": "fn()",
|
|
"setAlignToDocument": "fn(bToStage?: bool)",
|
|
"setBlendMode": "fn(mode: string)",
|
|
"setCustomFill": "fn(fill: FlashFill)",
|
|
"setCustomStroke": "fn(stroke: FlashStroke)",
|
|
"setElementProperty": "fn(property: string, value: number)",
|
|
"setElementTextAttr": "fn(attrName: string, attrValue: FlashTextAttrs, startIndex?: number, endIndex?: number) -> bool",
|
|
"setFillColor": "fn(color: ?)",
|
|
"setFilterProperty": "fn(property: string, filterIndex: number, value: ?)",
|
|
"setFilters": "fn(filterArray: [FlashFilter])",
|
|
"setInstanceAlpha": "fn(opacity: number)",
|
|
"setInstanceBrightness": "fn(brightness: number)",
|
|
"setInstanceTint": "fn(color: ?, strength: number)",
|
|
"setMetadata": "fn(strMetadata: string) -> bool",
|
|
"setMobileSettings": "fn(xmlString: string) -> bool",
|
|
"setOvalObjectProperty": "fn(propertyName: string, value: ?)",
|
|
"setPlayerVersion": "fn(version: string) -> bool",
|
|
"setRectangleObjectProperty": "fn(propertyName: string, value: ?)",
|
|
"setSelectionBounds": "fn(boundingRectangle: FlashRectangle, bContactSensitiveSelection?: bool)",
|
|
"setSelectionRect": "fn(rect: FlashRectangle, bReplaceCurrentSelection?: bool, bContactSensitiveSelection?: bool)",
|
|
"setStageVanishingPoint": "fn(point: FlashPoint)",
|
|
"setStageViewAngle": "fn(angle: number)",
|
|
"setStroke": "fn(color: ?, size: number, strokeType: string)",
|
|
"setStrokeColor": "fn(color: ?)",
|
|
"setStrokeSize": "fn(size: number)",
|
|
"setStrokeStyle": "fn(strokeType: string)",
|
|
"setTextRectangle": "fn(boundingRectangle: FlashRectangle) -> bool",
|
|
"setTextSelection": "fn(startIndex: number, endIndex: number) -> bool",
|
|
"setTextString": "fn(text: string, startIndex?: number, endIndex?: number) -> bool",
|
|
"setTransformationPoint": "fn(transformationPoint: FlashPoint)",
|
|
"skewSelection": "fn(xSkew: number, ySkew: number, whichEdge?: string)",
|
|
"smoothSelection": "fn()",
|
|
"space": "fn(direction: string, bUseDocumentBounds?: bool)",
|
|
"straightenSelection": "fn()",
|
|
"swapElement": "fn(name: string)",
|
|
"swapStrokeAndFill": "fn()",
|
|
"testMovie": "fn()",
|
|
"testScene": "fn()",
|
|
"traceBitmap": "fn(threshold: number, minimumArea: number, curveFit: string, cornerThreshold: string)",
|
|
"transformSelection": "fn(a: number, b: number, c: number, d: number)",
|
|
"unGroup": "fn()",
|
|
"union": "fn()",
|
|
"unlockAllElements": "fn()",
|
|
"xmlPanel": "fn(fileURI: string) -> ?",
|
|
"accName": "string",
|
|
"as3AutoDeclare": "bool",
|
|
"as3Dialect": "string",
|
|
"as3ExportFrame": "number",
|
|
"as3StrictMode": "bool",
|
|
"as3WarningsMode": "bool",
|
|
"asVersion": "number",
|
|
"autoLabel": "bool",
|
|
"backgroundColor": "?",
|
|
"currentPublishProfile": "string",
|
|
"currentTimeline": "FlashTimeline",
|
|
"description": "string",
|
|
"docClass": "?",
|
|
"forceSimple": "bool",
|
|
"frameRate": "number",
|
|
"height": "number",
|
|
"id": "number",
|
|
"library": "FlashLibrary",
|
|
"livePreview": "bool",
|
|
"name": "string",
|
|
"path": "string",
|
|
"pathURI": "string",
|
|
"publishProfiles": "[string]",
|
|
"selection": "[FlashElement]",
|
|
"silent": "bool",
|
|
"timelines": "[FlashTimeline]",
|
|
"viewMatrix": "FlashMatrix",
|
|
"width": "number",
|
|
"zoomFactor": "number"
|
|
},
|
|
"FlashText": {
|
|
"getTextAttr": "fn()",
|
|
"getTextString": "fn()",
|
|
"setTextAttr": "fn()",
|
|
"setTextString": "fn()",
|
|
"accName": "string",
|
|
"antiAliasSharpness": "number",
|
|
"antiAliasThickness": "number",
|
|
"autoExpand": "bool",
|
|
"border": "bool",
|
|
"description": "string",
|
|
"embeddedCharacters": "string"
|
|
},
|
|
"FlashTextAttrs": {
|
|
"aliasText": "bool",
|
|
"alignment": "string",
|
|
"autoKern": "bool",
|
|
"bold": "bool",
|
|
"characterPosition": "string",
|
|
"characterSpacing": "number",
|
|
"face": "string",
|
|
"fillColor": "?",
|
|
"indent": "number",
|
|
"italic": "bool",
|
|
"leftMargin": "number",
|
|
"letterSpacing": "number",
|
|
"lineSpacing": "number",
|
|
"rightMargin": "number",
|
|
"rotation": "bool",
|
|
"size": "number",
|
|
"target": "string",
|
|
"url": "string"
|
|
},
|
|
"FlashFLfile": {
|
|
"copy": "fn(fileURI: string, copyURI: string) -> bool",
|
|
"createFolder": "fn(folderURI: string) -> bool",
|
|
"exists": "fn(fileURI: string) -> bool",
|
|
"getAttributes": "fn(fileOrFolderURI: string) -> string",
|
|
"getCreationDate": "fn(fileOrFolderURI: string) -> string",
|
|
"getCreationDateObj": "fn(fileOrFolderURI: string) -> Date",
|
|
"getModificationDate": "fn(fileOrFolderURI: string) -> string",
|
|
"getModificationDateObj": "fn(fileOrFolderURI: string) -> Date",
|
|
"getSize": "fn(fileURI: string) -> number",
|
|
"listFolder": "fn(folderURI: string, filesOrDirectories?: bool) -> [string]",
|
|
"platformPathToURI": "fn(fileName: string) -> string",
|
|
"read": "fn(fileOrFolderURI: string) -> string",
|
|
"remove": "fn(fileOrFolderURI: string) -> bool",
|
|
"setAttributes": "fn(fileURI: string, strAttrs: string) -> bool",
|
|
"uriToPlatformPath": "fn(fileURI: string) -> string",
|
|
"write": "fn(fileURI: string, textToWrite: string, strAppendMode?: string) -> bool"
|
|
},
|
|
"FlashSoundItem": {
|
|
"exportToFile": "fn(fileURI: string) -> bool",
|
|
"bitRate": "string",
|
|
"bits": "string",
|
|
"compressionType": "string",
|
|
"convertStereoToMono": "bool",
|
|
"fileLastModifiedDate": "string",
|
|
"originalCompressionType": "string",
|
|
"quality": "string",
|
|
"sampleRate": "string",
|
|
"sourceFileExists": "bool"
|
|
},
|
|
"FlashInstance": {
|
|
"instanceType": "string",
|
|
"libraryItem": "FlashItem"
|
|
},
|
|
"_FlashBitmap": {
|
|
"width": "?",
|
|
"height": "?",
|
|
"depth": "?",
|
|
"bits": "?",
|
|
"cTab": "[string]"
|
|
},
|
|
"FlashBitmapInstance": {
|
|
"getBits": "fn() -> _FlashBitmap",
|
|
"setBits": "fn(bitmap: _FlashBitmap)",
|
|
"hPixels": "number",
|
|
"vPixels": "number"
|
|
},
|
|
"FlashCompiledClipInstance": {
|
|
"accName": "string",
|
|
"actionScript": "string",
|
|
"description": "string",
|
|
"forceSimple": "bool",
|
|
"shortcut": "string",
|
|
"silent": "bool",
|
|
"tabIndex": "number"
|
|
},
|
|
"FlashSymbolInstance": {
|
|
"accName": "string",
|
|
"actionScript": "string",
|
|
"backgroundColor": "string",
|
|
"bitmapRenderMode": "string",
|
|
"blendMode": "string",
|
|
"buttonTracking": "string",
|
|
"cacheAsBitmap": "bool",
|
|
"colorAlphaAmount": "number",
|
|
"colorAlphaPercent": "number",
|
|
"colorBlueAmount": "number",
|
|
"colorBluePercent": "number",
|
|
"colorGreenAmount": "number",
|
|
"colorGreenPercent": "number",
|
|
"colorMode": "string",
|
|
"colorRedAmount": "number",
|
|
"colorRedPercent": "number",
|
|
"description": "string",
|
|
"filters": "[FlashFilter]",
|
|
"firstFrame": "number",
|
|
"forceSimple": "bool",
|
|
"loop": "string",
|
|
"shortcut": "string",
|
|
"silent": "bool",
|
|
"symbolType": "string",
|
|
"tabIndex": "number",
|
|
"useBackgroundColor": "bool",
|
|
"visible": "bool"
|
|
},
|
|
"FlashComponentInstance": {
|
|
"parameters": "[?]"
|
|
},
|
|
"FlashShape": {
|
|
"getCubicSegmentPoints": "fn(cubicSegmentIndex: number) -> [FlashPoint]",
|
|
"beginEdit": "fn()",
|
|
"deleteEdge": "fn(index: number)",
|
|
"endEdit": "fn()",
|
|
"contours": "[FlashContour]",
|
|
"edges": "[FlashEdge]",
|
|
"isDrawingObject": "bool",
|
|
"isGroup": "bool",
|
|
"isOvalObject": "bool",
|
|
"isRectangleObject": "bool",
|
|
"members": "[FlashShape]",
|
|
"numCubicSegments": "number",
|
|
"vertices": "[FlashVertex]"
|
|
},
|
|
"FlashElement": {
|
|
"getPersistentData": "fn(name: string) -> ?",
|
|
"getTransformationPoint": "fn() -> FlashPoint",
|
|
"hasPersistentData": "fn(name: string) -> bool",
|
|
"removePersistentData": "fn(name: string)",
|
|
"setPersistentData": "fn(name: string, type: string, value: ?)",
|
|
"setTransformationPoint": "fn(transformationPoint: FlashPoint)",
|
|
"depth": "number",
|
|
"elementType": "string",
|
|
"height": "number",
|
|
"layer": "FlashLayer",
|
|
"left": "number",
|
|
"locked": "bool",
|
|
"matrix": "FlashMatrix",
|
|
"name": "string",
|
|
"rotation": "number",
|
|
"scaleX": "number",
|
|
"scaleY": "number",
|
|
"selected": "bool",
|
|
"skewX": "number",
|
|
"skewY": "number",
|
|
"top": "number",
|
|
"transformX": "number",
|
|
"transformY": "number",
|
|
"width": "number",
|
|
"x": "number",
|
|
"y": "number"
|
|
},
|
|
"FlashFrame": {
|
|
"getCustomEase": "fn()",
|
|
"setCustomEase": "fn()",
|
|
"actionScript": "?",
|
|
"duration": "?",
|
|
"elements": "[FlashElement]",
|
|
"hasCustomEase": "?",
|
|
"labelType": "?",
|
|
"motionTweenOrientToPath": "?",
|
|
"motionTweenRotate": "?",
|
|
"motionTweenRotateTimes": "?",
|
|
"motionTweenScale": "?",
|
|
"motionTweenSnap": "?",
|
|
"motionTweenSync": "?",
|
|
"name": "?",
|
|
"shapeTweenBlend": "?",
|
|
"soundEffect": "?",
|
|
"soundLibraryItem": "FlashSoundItem",
|
|
"soundLoop": "?",
|
|
"soundLoopMode": "?",
|
|
"soundName": "?",
|
|
"soundSync": "?",
|
|
"startFrame": "?",
|
|
"tweenEasing": "?",
|
|
"tweenType": "?",
|
|
"useSingleEaseCurve": "?"
|
|
},
|
|
"FlashSymbolItem": {
|
|
"convertToCompiledClip": "fn()",
|
|
"exportSWC": "fn(outputURI: string)",
|
|
"exportSWF": "fn(outputURI: string)",
|
|
"scalingGrid": "bool",
|
|
"scalingGridRect": "FlashRectangle",
|
|
"sourceAutoUpdate": "bool",
|
|
"sourceFilePath": "string",
|
|
"sourceLibraryName": "string",
|
|
"symbolType": "string",
|
|
"timeline": "FlashTimeline"
|
|
},
|
|
"FlashFolderItem": {},
|
|
"FlashFontItem": {
|
|
"bitmap": "bool",
|
|
"bold": "bool",
|
|
"embeddedCharacters": "string",
|
|
"embedRanges": "string",
|
|
"embedVariantGlyphs": "bool",
|
|
"font": "string",
|
|
"isDefineFont4Symbol": "bool",
|
|
"italic": "bool",
|
|
"size": "number"
|
|
},
|
|
"FlashVideoItem": {
|
|
"exportToFLV": "fn(fileURI: string) -> bool",
|
|
"fileLastModifiedDate": "string",
|
|
"sourceFileExists": "bool",
|
|
"sourceFileIsCurrent": "bool",
|
|
"sourceFilePath": "string",
|
|
"videoType": "string"
|
|
},
|
|
"FlashBitmapItem": {
|
|
"exportToFile": "fn(fileURI: string) -> bool",
|
|
"allowSmoothing": "bool",
|
|
"compressionType": "string",
|
|
"fileLastModifiedDate": "string",
|
|
"originalCompressionType": "string",
|
|
"sourceFileExists": "bool",
|
|
"sourceFileIsCurrent": "bool",
|
|
"sourceFilePath": "string",
|
|
"useDeblocking": "bool",
|
|
"useImportedJPEGQuality": "bool"
|
|
},
|
|
"FlashItem": {
|
|
"addData": "fn(name: string, type: string, data: ?)",
|
|
"getData": "fn(name: string) -> ?",
|
|
"hasData": "fn(name: string) -> bool",
|
|
"removeData": "fn(name: string)",
|
|
"itemType": "string",
|
|
"linkageBaseClass": "string",
|
|
"linkageClassName": "string",
|
|
"linkageExportForAS": "bool",
|
|
"linkageExportForRS": "bool",
|
|
"linkageExportInFirstFrame": "bool",
|
|
"linkageIdentifier": "string",
|
|
"linkageImportForRS": "bool",
|
|
"linkageURL": "string",
|
|
"name": "string"
|
|
},
|
|
"FlashLayer": {
|
|
"color": "?",
|
|
"frameCount": "number",
|
|
"frames": "[FlashFrame]",
|
|
"height": "number",
|
|
"layerType": "string",
|
|
"locked": "bool",
|
|
"name": "string",
|
|
"outline": "bool",
|
|
"parentLayer": "FlashLayer",
|
|
"visible": "bool"
|
|
},
|
|
"FlashLibrary": {
|
|
"addItemToDocument": "fn(position: FlashPoint, namePath?: string) -> bool",
|
|
"addNewItem": "fn(type: string, namePath?: string) -> bool",
|
|
"deleteItem": "fn(namePath?: string) -> bool",
|
|
"duplicateItem": "fn(namePath: string) -> bool",
|
|
"editItem": "fn(namePath?: string) -> bool",
|
|
"expandFolder": "fn(bExpand: bool, bRecurseNestedParents?: bool, namePath?: string) -> bool",
|
|
"findItemIndex": "fn(namePath: string) -> number",
|
|
"getItemProperty": "fn(property: string) -> string",
|
|
"getItemType": "fn(namePath?: string) -> string",
|
|
"getSelectedItems": "fn() -> [FlashItem]",
|
|
"importEmbeddedSWF": "fn(linkageName: string, swfData: [?], libName?: string)",
|
|
"itemExists": "fn(namePath: string) -> bool",
|
|
"moveToFolder": "fn(folderPath: string, itemToMove?: string, bReplace?: bool) -> bool",
|
|
"newFolder": "fn(folderPath?: string) -> bool",
|
|
"renameItem": "fn(name: string) -> bool",
|
|
"selectAll": "fn(bSelectAll?: bool)",
|
|
"selectItem": "fn(namePath: string, bReplaceCurrentSelection?: bool, bSelect?: bool) -> bool",
|
|
"selectNone": "fn()",
|
|
"setItemProperty": "fn(property: string, value: ?)",
|
|
"updateItem": "fn(namePath: string) -> bool",
|
|
"items": "[FlashItem]"
|
|
},
|
|
"FlashMath": {
|
|
"concatMatrix": "fn(mat1: FlashMatrix, mat2: FlashMatrix) -> FlashMatrix",
|
|
"invertMatrix": "fn(mat: FlashMatrix) -> FlashMatrix",
|
|
"pointDistance": "fn(pt1: FlashPoint, pt2: FlashPoint) -> number"
|
|
},
|
|
"FlashOutputPanel": {
|
|
"clear": "fn()",
|
|
"save": "fn(fileURI: string, bAppendToFile?: bool, bUseSystemEncoding?: bool)",
|
|
"trace": "fn(message: string)"
|
|
},
|
|
"FlashHalfEdge": {
|
|
"getEdge": "fn() -> FlashEdge",
|
|
"getNext": "fn() -> FlashHalfEdge",
|
|
"getOppositeHalfEdge": "fn() -> FlashHalfEdge",
|
|
"getPrev": "fn() -> FlashHalfEdge",
|
|
"getVertex": "fn() -> FlashVertex",
|
|
"id": "number",
|
|
"index": "number"
|
|
},
|
|
"FlashOval": {
|
|
"closePath": "bool",
|
|
"endAngle": "number",
|
|
"innerRadius": "number",
|
|
"startAngle": "number"
|
|
},
|
|
"FlashFill": {
|
|
"bitmapIsClipped": "bool",
|
|
"bitmapPath": "string",
|
|
"color": "?",
|
|
"colorArray": "[?]",
|
|
"focalPoint": "number",
|
|
"linearRGB": "bool",
|
|
"matrix": "FlashMatrix",
|
|
"overflow": "string",
|
|
"posArray": "[number]",
|
|
"style": "string"
|
|
},
|
|
"FlashContour": {
|
|
"getHalfEdge": "fn() -> FlashHalfEdge",
|
|
"fill": "FlashFill",
|
|
"interior": "bool",
|
|
"orientation": "number"
|
|
},
|
|
"FlashStroke": {
|
|
"breakAtCorners": "bool",
|
|
"capType": "string",
|
|
"color": "?",
|
|
"curve": "string",
|
|
"dash1": "number",
|
|
"dash2": "number",
|
|
"density": "string",
|
|
"dotSize": "string",
|
|
"dotSpace": "number",
|
|
"hatchThickness": "string",
|
|
"jiggle": "string",
|
|
"joinType": "string",
|
|
"length": "string",
|
|
"miterLimit": "number",
|
|
"pattern": "string",
|
|
"rotate": "string",
|
|
"scaleType": "string",
|
|
"shapeFill": "FlashFill",
|
|
"space": "string",
|
|
"strokeHinting": "bool",
|
|
"style": "string",
|
|
"thickness": "number",
|
|
"variation": "string",
|
|
"waveHeight": "string",
|
|
"waveLength": "string"
|
|
},
|
|
"FlashEdge": {
|
|
"getControl": "fn(i: number) -> FlashPoint",
|
|
"getHalfEdge": "fn(index: number) -> FlashHalfEdge",
|
|
"setControl": "fn(index: number, x: number, y: number)",
|
|
"splitEdge": "fn(t: number)",
|
|
"cubicSegmentIndex": "number",
|
|
"id": "number",
|
|
"isLine": "bool",
|
|
"stroke": "FlashStroke"
|
|
},
|
|
"FlashVertex": {
|
|
"getHalfEdge": "fn() -> FlashHalfEdge",
|
|
"setLocation": "fn(x: number, y: number)",
|
|
"x": "number",
|
|
"y": "number"
|
|
},
|
|
"FlashTimeline": {
|
|
"addMotionGuide": "fn() -> number",
|
|
"addNewLayer": "fn(name?: string, layerType?: string, bAddAbove?: bool)",
|
|
"clearFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"clearKeyframes": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"convertToBlankKeyframes": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"convertToKeyframes": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"copyFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"copyLayers": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"copyMotion": "fn()",
|
|
"copyMotionAsAS3": "fn()",
|
|
"createMotionObject": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"createMotionTween": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"cutFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"cutLayers": "fn(startLayerIndex?: number, endLayerIndex?: number)",
|
|
"deleteLayer": "fn(index: number)",
|
|
"duplicateLayers": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"expandFolder": "fn(bExpand: bool, bRecurseNestedParents?: bool, index?: number)",
|
|
"findLayerIndex": "fn(name: string) -> [number]",
|
|
"getFrameProperty": "fn(property: string, startframeIndex?: number, endFrameIndex?: number) -> ?",
|
|
"getGuidelines": "fn() -> string",
|
|
"getLayerProperty": "fn(property: string) -> ?",
|
|
"getSelectedFrames": "fn() -> [FlashFrame]",
|
|
"getSelectedLayers": "fn() -> [FlashLayer]",
|
|
"insertBlankKeyframe": "fn(frameNumIndex?: number)",
|
|
"insertFrames": "fn(numFrames?: number, bAllLayers?: bool, frameNumIndex?: number)",
|
|
"insertKeyframe": "fn(frameNumIndex?: number)",
|
|
"pasteFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"pasteLayers": "fn(layerIndex: number) -> number",
|
|
"pasteMotion": "fn()",
|
|
"removeFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"removeMotionObject": "fn(startFrame: number, endFrame: number)",
|
|
"reorderLayer": "fn(layerToMove: number, layerToPutItBy: number, bAddBefore?: bool)",
|
|
"reverseFrames": "fn(startFrameIndex?: number, endFrameIndex?: number)",
|
|
"selectAllFrames": "fn()",
|
|
"setFrameProperty": "fn(property: string, value: ?, startFrameIndex?: number, endFrameIndex?: number)",
|
|
"setGuidelines": "fn(xmlString: string) -> bool",
|
|
"setLayerProperty": "fn(property: string, value: ?, layersToChange?: string)",
|
|
"setSelectedFrames": "fn(startFrameIndex: number, endFrameIndex: number, bReplaceCurrentSelection?: bool)",
|
|
"setSelectedLayers": "fn(index: number, bReplaceCurrentSelection?: bool)",
|
|
"showLayerMasking": "fn(layer: number)",
|
|
"startPlayback": "fn()",
|
|
"stopPlayback": "fn()",
|
|
"currentFrame": "number",
|
|
"currentLayer": "number",
|
|
"frameCount": "number",
|
|
"layerCount": "number",
|
|
"layers": "[FlashLayer]",
|
|
"name": "string",
|
|
"libraryItem": "FlashItem"
|
|
},
|
|
"FlashPath": {
|
|
"addCubicCurve": "fn(xAnchor: number, yAnchor: number, x2: number, y2: number, x3: number, y3: number, x4: number, y4: number)",
|
|
"addCurve": "fn(xAnchor: number, yAnchor: number, x2: number, y2: number, x3: number, y3: number)",
|
|
"addPoint": "fn(x: number, y: number)",
|
|
"clear": "fn()",
|
|
"close": "fn()",
|
|
"void": "?",
|
|
"makeShape": "fn(bSupressFill?: bool, bSupressStroke?: bool)",
|
|
"newContour": "fn()",
|
|
"nPts": "number"
|
|
},
|
|
"FlashDrawingLayer": {
|
|
"beginDraw": "fn(persistentDraw?: bool)",
|
|
"beginFrame": "fn()",
|
|
"cubicCurveTo": "fn(x1Ctrl: number, y1Ctrl: number, x2Ctl: number, y2Ctl: number, xEnd: number, yEnd: number)",
|
|
"curveTo": "fn(xCtl: number, yCtl: number, xEnd: number, yEnd: number)",
|
|
"drawPath": "fn(path: FlashPath)",
|
|
"endDraw": "fn()",
|
|
"endFrame": "fn()",
|
|
"lineTo": "fn(x: number, y: number)",
|
|
"moveTo": "fn(x: number, y: number)",
|
|
"newPath": "fn()",
|
|
"setColor": "fn(color: ?)",
|
|
"setFill": "fn()",
|
|
"setStroke": "fn()"
|
|
},
|
|
"FlashXMLUI": {
|
|
"accept": "fn()",
|
|
"cancel": "fn()",
|
|
"get": "fn()",
|
|
"getControlItemElement": "fn()",
|
|
"getEnabled": "fn()",
|
|
"getVisible": "fn()",
|
|
"set": "fn()",
|
|
"setControItemElement": "fn()",
|
|
"setControItemElements": "fn()",
|
|
"setEnabled": "fn()",
|
|
"setVisible": "fn()"
|
|
},
|
|
"FlashActionsPanel": {
|
|
"getClassForObject": "fn()",
|
|
"getScriptAssistMode": "fn()",
|
|
"getSelectedText": "fn()",
|
|
"getText": "fn()",
|
|
"hasSelection": "fn()",
|
|
"replaceSelectedText": "fn()",
|
|
"setScriptAssistMode": "fn()",
|
|
"setSelection": "fn()",
|
|
"setText": "fn()"
|
|
},
|
|
"FlashCompilerErrors": {
|
|
"clear": "fn()",
|
|
"save": "fn()"
|
|
},
|
|
"FlashComponentsPanel": {
|
|
"addItemToDocument": "fn()",
|
|
"reload": "fn()"
|
|
},
|
|
"FlashPresetPanel": {
|
|
"addNewItem": "fn()",
|
|
"applyPreset": "fn()",
|
|
"deleteFolder": "fn()",
|
|
"deleteItem": "fn()",
|
|
"expandFolder": "fn()",
|
|
"exportItem": "fn()",
|
|
"findItemIndex": "fn()",
|
|
"getSelectedItems": "fn()",
|
|
"importItem": "fn()",
|
|
"moveToFolder": "fn()",
|
|
"newFolder": "fn()",
|
|
"renameItem": "fn()",
|
|
"selectItem": "fn()"
|
|
},
|
|
"FlashSwfPanel": {
|
|
"call": "fn()",
|
|
"setFocus": "fn()",
|
|
"name": "?",
|
|
"path": "?"
|
|
},
|
|
"FlashTools": {
|
|
"constraintPoint": "fn()",
|
|
"getKeyDown": "fn()",
|
|
"setCreatingBbox": "fn()",
|
|
"setCursor": "fn()",
|
|
"snapPoint": "fn()",
|
|
"activeTool": "?",
|
|
"altIsDown": "?",
|
|
"ctlIsDown": "?",
|
|
"mouseIsDown": "?",
|
|
"penDownLoc": "?",
|
|
"penLoc": "?",
|
|
"shiftIsDown": "?",
|
|
"toolObjs": "?"
|
|
},
|
|
"SpriteSheetExporter": {
|
|
"prototype": {
|
|
"addBitmap": "fn(item: FlashItem)",
|
|
"addSymbol": "fn(item: FlashItem, name?: string, beginFrame?: number, endFrame?: number)",
|
|
"algorithm": "string",
|
|
"allowRotate": "bool",
|
|
"allowTrimming": "bool",
|
|
"app": "string",
|
|
"autoSize": "bool",
|
|
"beginExport": "fn()",
|
|
"borderPadding": "number",
|
|
"canBorderPad": "bool",
|
|
"canRotate": "bool",
|
|
"canTrim": "bool",
|
|
"canShapePad": "bool",
|
|
"canStackDuplicateFrames": "bool",
|
|
"changeSymbol": "fn()",
|
|
"exportSpriteSheet": "fn(fileURL: string, option: Object, writeMetaData?: bool) -> string",
|
|
"format": "string",
|
|
"image": "string",
|
|
"layoutFormat": "string",
|
|
"maxSheetHeight": "number",
|
|
"maxSheetWidth": "number",
|
|
"overflowed": "bool",
|
|
"removeBitmap": "fn()",
|
|
"removeSymbol": "fn()",
|
|
"shapePadding": "number",
|
|
"sheetHeight": "number",
|
|
"sheetWidth": "number",
|
|
"stackDuplicateFrames": "bool",
|
|
"version": "string"
|
|
}
|
|
},
|
|
"FlashFL": {
|
|
"addEventListener": "fn(eventType: ?, callbackFunction: ?)",
|
|
"browseForFileURL": "fn(browseType: ?, title?: ?, previewArea?: ?, fileFilter?: ?)",
|
|
"browseForFolderURL": "fn(description: string)",
|
|
"clearPublishCache": "fn()",
|
|
"clipCopyString": "fn(string: string)",
|
|
"closeAll": "fn(bPromptToSave?: bool)",
|
|
"closeAllPlayerDocuments": "fn() -> bool",
|
|
"closeDocument": "fn(documentObject: FlashDocument, bPromptToSaveChanges?: bool)",
|
|
"createDocument": "fn(document?: string) -> FlashDocument",
|
|
"exportPublishProfileString": "fn(ucfURI: string, profileName: string) -> string",
|
|
"fileExists": "fn(fileURI: string) -> bool",
|
|
"findDocumentDOM": "fn(id: number) -> FlashDocument",
|
|
"findDocumentIndex": "fn(name: string) -> [number]",
|
|
"findObjectInDocByName": "fn(instanceName: string, document: FlashDocument) -> [ret]",
|
|
"findObjectInDocByType": "fn(elementType: string, document: FlashDocument) -> [?]",
|
|
"getAppMemoryInfo": "fn(memType: number)",
|
|
"getDocumentDOM": "fn() -> FlashDocument",
|
|
"getSwfPanel": "fn()",
|
|
"isFontInstalled": "fn()",
|
|
"mapPlayerURL": "fn(URI: string, returnMBCS?: bool) -> string",
|
|
"openDocument": "fn(fileURI: string) -> FlashDocument",
|
|
"openScript": "fn(fileURI: string, createExtension?: string, className?: string)",
|
|
"quit": "fn(bPromptIfNeeded?: bool)",
|
|
"reloadTools": "fn()",
|
|
"removeEventListener": "fn(eventType: string) -> bool",
|
|
"resetAS3PackagePaths": "fn()",
|
|
"resetPackagePaths": "fn()",
|
|
"revertDocument": "fn(document: FlashDocument)",
|
|
"runScript": "fn(fileURI: string, funcName?: Function, args?: [?]) -> ?",
|
|
"saveAll": "fn()",
|
|
"saveDocument": "fn(document: FlashDocument, fileURI?: string) -> bool",
|
|
"saveDocumentAs": "fn(document: FlashDocument) -> bool",
|
|
"selectElement": "fn(elementObject: FlashElement, editMode: bool) -> bool",
|
|
"selectTool": "fn(toolName: string)",
|
|
"selectActiveWindow": "fn(document: FlashDocument, bActivateFrame?: bool)",
|
|
"showIdleMessage": "fn(show: bool)",
|
|
"toggleBreakpoint": "fn()",
|
|
"trace": "fn(message: ?)",
|
|
"actionsPanel": "FlashActionsPanel",
|
|
"as3PackagePaths": "string",
|
|
"compilerErrors": "FlashCompilerErrors",
|
|
"componentsPanel": "FlashComponentsPanel",
|
|
"configDirectory": "string",
|
|
"configURI": "string",
|
|
"contactSensitiveSelection": "bool",
|
|
"createNewDocList": "[string]",
|
|
"createNewDocListType": "[string]",
|
|
"createNewTemplateList": "[string]",
|
|
"documents": "[FlashDocument]",
|
|
"drawingLayer": "FlashDrawingLayer",
|
|
"externalLibraryPath": "string",
|
|
"flexSDKPath": "string",
|
|
"installedPlayers": "[?]",
|
|
"languageCode": "string",
|
|
"libraryPath": "string",
|
|
"Math": "FlashMath",
|
|
"mruRecentFileList": "[string]",
|
|
"mruRecentFileListType": "[string]",
|
|
"packagePaths": "[string]",
|
|
"publishCacheDiskSizeMax": "number",
|
|
"publishCacheEnabled": "bool",
|
|
"publishCacheMemoryEntrySizeLimit": "number",
|
|
"publishCacheMemorySizeMax": "number",
|
|
"objectDrawingMode": "number",
|
|
"outputPanel": "FlashOutputPanel",
|
|
"presetPanel": "FlashPresetPanel",
|
|
"scriptURI": "string",
|
|
"sourcePath": "string",
|
|
"swfPanels": "[FlashSwfPanel]",
|
|
"tools": "[FlashTools]",
|
|
"version": "string",
|
|
"xmlui": "FlashXMLUI"
|
|
},
|
|
"fl": "FlashFL",
|
|
"FLfile": "FlashFLfile",
|
|
"alert": "fn(alertText: string)",
|
|
"confirm": "fn(strAlert: string) -> bool",
|
|
"prompt": "fn(promptMsg: string, text?: string) -> string",
|
|
"!name": "jsfl.d.ts",
|
|
"!define": {
|
|
"ret": {
|
|
"keyframe": "FlashFrame",
|
|
"layer": "FlashLayer",
|
|
"timeline": "FlashTimeline",
|
|
"parent": "?"
|
|
}
|
|
}
|
|
}
|