├── Camera_object ├── .gitkeep ├── Camera6.md ├── Camera18.md ├── Camera16.md ├── Camera15.md ├── Camera17.md ├── Camera12.md ├── Camera14.md ├── Camera19.md ├── Camera11.md ├── Camera13.md ├── Camera7.md ├── Camera.md ├── Camera8.md ├── Camera1.md └── Camera2.md ├── Contour_object ├── .gitkeep └── contour.md ├── Edge_object ├── .gitkeep ├── edge7.md ├── edge3.md ├── edge.md └── edge4.md ├── Element_object ├── .gitkeep ├── elemen27.md ├── elemen16.md ├── element7.md ├── element9.md ├── elemen12.md ├── elemen13.md ├── elemen15.md ├── element5.md ├── elemen25.md ├── element6.md ├── elemen21.md └── elemen26.md ├── FLfile_object └── .gitkeep ├── Fill_object ├── .gitkeep ├── fill7.md └── fill2.md ├── Filter_object ├── .gitkeep └── filter7.md ├── Frame_object ├── .gitkeep ├── frame20.md ├── frame29.md ├── frame3.md ├── frame38.md ├── frame13.md ├── frame21.md ├── frame4.md ├── frame22.md ├── frame35.md ├── frame32.md ├── frame34.md ├── frame16.md ├── frame31.md └── frame18.md ├── Introduction └── .gitkeep ├── Item_object ├── .gitkeep ├── item13.md └── item14.md ├── Layer_object ├── .gitkeep ├── layer7.md ├── layer2.md ├── layer10.md ├── layer.md ├── layer5.md ├── layer8.md ├── layer11.md └── layer6.md ├── Math_object ├── .gitkeep └── Math2.md ├── Matrix_object ├── .gitkeep ├── matrix3.md ├── matrix2.md └── matrix5.md ├── Oval_object └── .gitkeep ├── Path_object ├── .gitkeep ├── path3.md ├── path4.md ├── path7.md └── path2.md ├── Shape_object ├── .gitkeep ├── shape3.md ├── shape12.md ├── shape13.md ├── shape7.md ├── shape1.md ├── shape10.md └── shape9.md ├── Stroke_object ├── .gitkeep ├── stroke11.md ├── stroke5.md ├── stroke21.md ├── stroke19.md ├── stroke1.md ├── stroke16.md ├── stroke.md ├── stroke17.md └── stroke8.md ├── TextRun_object ├── .gitkeep ├── textRun1.md └── textRun.md ├── Text_object ├── .gitkeep ├── text20.md ├── text4.md ├── text13.md ├── text28.md ├── text29.md ├── text27.md ├── text18.md ├── text19.md ├── text17.md ├── text15.md ├── text3.md ├── text16.md ├── text30.md ├── text14.md ├── text5.md ├── text26.md └── text2.md ├── ToolObj_object ├── .gitkeep ├── toolObj.md ├── toolObj3.md └── toolObj2.md ├── Tools_object ├── .gitkeep ├── tools11.md ├── tools3.md ├── tools9.md ├── tools5.md ├── tools.md ├── tools1.md ├── tools4.md └── tools7.md ├── Tween_Object ├── .gitkeep ├── Tween5.md ├── Tween6.md └── Tween4.md ├── Vertex_object ├── .gitkeep ├── vertex3.md └── vertex2.md ├── XMLUI_object ├── .gitkeep ├── xmlui1.md └── xmlui.md ├── library_object ├── .gitkeep ├── librar10.md ├── librar16.md └── librar18.md ├── BitmapItem_object ├── .gitkeep ├── bitmapIte12.md ├── bitmapItem.md ├── bitmapIte5.md ├── bitmapIte14.md ├── bitmapIte8.md └── bitmapIte13.md ├── Document_object ├── .gitkeep ├── docume24.md ├── docu6182.md ├── docu5901.md ├── docume91.md ├── docu5932.md ├── docu6229.md ├── docume34.md ├── docume44.md ├── docume56.md ├── docu6104.md ├── docum210.md ├── docume35.md ├── docum220.md ├── docume90.md ├── docu9721.md ├── docum83.md ├── docum21.md ├── docum330.md ├── docu6135.md ├── docum440.md ├── docume71.md ├── docum100.md ├── document.md ├── docum540.md ├── docum550.md ├── docume16.md ├── docume51.md ├── docume23.md ├── docu5979.md ├── docume45.md ├── docu9705.md ├── docum170.md ├── docum340.md ├── docume98.md ├── docu6042.md ├── docume57.md └── docume86.md ├── HalfEdge_object ├── .gitkeep ├── halfEdg5.md ├── halfEdg2.md └── halfEdge.md ├── Instance_object ├── .gitkeep └── instanc1.md ├── Parameter_object ├── .gitkeep ├── parameter.md ├── paramete7.md ├── paramete6.md └── paramete5.md ├── Rectangle_object └── .gitkeep ├── SoundItem_object ├── .gitkeep └── soundIt13.md ├── SymbolItem_object ├── .gitkeep ├── symbolIt12.md ├── symbolIt10.md ├── symbolIte8.md ├── symbolItem.md ├── symbolIte9.md ├── symbolIte6.md └── symbolIt11.md ├── TextAttrs_object ├── .gitkeep ├── textAttr9.md ├── textAtt15.md ├── textAtt12.md ├── textAtt17.md ├── textAttr6.md ├── textAttr3.md ├── textAttrs.md ├── textAtt16.md ├── textAtt14.md ├── textAttr2.md ├── textAttr8.md ├── textAtt10.md ├── textAtt13.md ├── textAtt11.md └── textAttr1.md ├── Timeline_object ├── .gitkeep ├── timeli31.md ├── timeli30.md ├── timeli42.md ├── timeli52.md ├── timeli20.md ├── timeli50.md ├── timeli49.md ├── timeli33.md ├── timeli13.md └── timeli51.md ├── VideoItem_object ├── .gitkeep └── videoIte2.md ├── actionsPanel_object └── .gitkeep ├── drawingLayer_object ├── .gitkeep ├── drawingLay11.md ├── drawingLay12.md ├── drawingLaye9.md ├── drawingLaye5.md └── drawingLaye4.md ├── flash_object_(fl) ├── .gitkeep ├── fl49.md ├── fl76.md ├── fl47.md ├── fl10.md ├── fl.md ├── fl73.md ├── fl81.md ├── fl78.md ├── fl11.md ├── fl21.md ├── fl38.md ├── fl44.md ├── fl17.md ├── fl19.md ├── fl12.md ├── fl37.md ├── fl42.md └── fl14.md ├── folderItem_object ├── .gitkeep └── folderItem_summary.md ├── fontItem_object ├── .gitkeep ├── fontItem.md ├── fontIte6.md ├── fontIte8.md └── fontIte1.md ├── outputPanel_object └── .gitkeep ├── presetItem_object ├── .gitkeep ├── presetIte3.md ├── presetIte1.md └── presetIte2.md ├── presetPanel_object └── .gitkeep ├── swfPanel_object ├── .gitkeep ├── swfPane5.md ├── swfPane2.md ├── swfPane4.md ├── swfPane3.md └── swfPane1.md ├── BitmapInstance_object └── .gitkeep ├── C-Level_Extensibility └── .gitkeep ├── ComponentInstance_object └── .gitkeep ├── SymbolInstance_object ├── .gitkeep ├── symbolInstan10.md ├── symbolInstan12.md ├── symbolInstan30.md ├── symbolInstan21.md ├── symbolInstan15.md ├── symbolInstan29.md ├── symbolInstan14.md ├── symbolInstanc2.md ├── symbolInstanc5.md └── symbolInstan27.md ├── compilerErrors_object └── .gitkeep ├── componentsPanel_object ├── .gitkeep └── componentsPane1.md ├── CompiledClipInstance_object ├── .gitkeep ├── compiledClipInstanc5.md ├── compiledClipInstan24.md ├── compiledClipInstan23.md ├── compiledClipInstanc2.md ├── compiledClipInstan12.md └── compiledClipInstance.md ├── SpriteSheetExporter_object ├── .gitkeep ├── SpriteSheetExporter.md ├── SpriteSheetExport22.md ├── SpriteSheetExporte3.md ├── SpriteSheetExporte8.md ├── SpriteSheetExport23.md ├── SpriteSheetExporte6.md ├── SpriteSheetExporte2.md ├── SpriteSheetExport17.md ├── SpriteSheetExport25.md ├── SpriteSheetExport26.md ├── SpriteSheetExport24.md ├── SpriteSheetExport12.md ├── SpriteSheetExport19.md ├── SpriteSheetExport20.md ├── SpriteSheetExport28.md ├── SpriteSheetExporte9.md ├── SpriteSheetExporte4.md ├── SpriteSheetExporte7.md ├── SpriteSheetExport27.md ├── SpriteSheetExport10.md ├── SpriteSheetExport21.md ├── SpriteSheetExport11.md ├── SpriteSheetExport16.md ├── SpriteSheetExporte5.md └── SpriteSheetExport13.md ├── Top-Level_Functions_and_Methods ├── .gitkeep ├── mouseUp.md ├── keyUp.md └── mouseDoubleClick.md ├── downloads └── Samples.zip ├── .gitignore ├── TextureAtlasExporter_object ├── TextureAtlasExporter13.md ├── TextureAtlasExporter12.md ├── TextureAtlasExporter7.md ├── TextureAtlasExporter2.md ├── TextureAtlasExporter5.md ├── TextureAtlasExporter9.md ├── TextureAtlasExporter4.md ├── TextureAtlasExporter8.md ├── TextureAtlasExporter10.md ├── TextureAtlasExporter1.md ├── TextureAtlasExporter16.md ├── TextureAtlasExporter15.md ├── TextureAtlasExporter11.md ├── TextureAtlasExporter14.md ├── TextureAtlasExporter17.md ├── TextureAtlasExporter6.md ├── TextureAtlasExporter3.md └── TextureAtlasExporter.md └── Layer_Parenting_Object ├── layerParenting1.md └── layerParenting3.md /Camera_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Contour_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Edge_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Element_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /FLfile_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Fill_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Filter_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Frame_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Introduction/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Item_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Layer_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Math_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Matrix_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Oval_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Path_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Shape_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Stroke_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TextRun_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Text_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ToolObj_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tools_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tween_Object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Vertex_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /XMLUI_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /library_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BitmapItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Document_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /HalfEdge_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Instance_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Parameter_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Rectangle_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SoundItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SymbolItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TextAttrs_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Timeline_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /VideoItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /actionsPanel_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drawingLayer_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /flash_object_(fl)/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /folderItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fontItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /outputPanel_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /presetItem_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /presetPanel_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /swfPanel_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BitmapInstance_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /C-Level_Extensibility/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ComponentInstance_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SymbolInstance_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /compilerErrors_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /componentsPanel_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CompiledClipInstance_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Top-Level_Functions_and_Methods/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drawingLayer_object/drawingLay11.md: -------------------------------------------------------------------------------- 1 | ## drawingLayer.setFill() 2 | 3 | This method is not available. 4 | -------------------------------------------------------------------------------- /drawingLayer_object/drawingLay12.md: -------------------------------------------------------------------------------- 1 | ## drawingLayer.setStroke() 2 | 3 | This method is not available. 4 | -------------------------------------------------------------------------------- /downloads/Samples.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdobeDocs/developers-animatesdk-docs/HEAD/downloads/Samples.zip -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore everything except .gitignore and folders that I care about: 2 | 3 | !.manifest* 4 | !.gitignore 5 | !* -------------------------------------------------------------------------------- /Shape_object/shape3.md: -------------------------------------------------------------------------------- 1 | ## shape.edges 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *shape.edges* 10 | 11 | #### Description 12 | 13 | Read-only property; an array of Edge objects (see [Edge object](../Edge_object/edge_summary.md)). 14 | 15 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl49.md: -------------------------------------------------------------------------------- 1 | ## fl.presetPanel 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | fl.presetPanel 10 | 11 | #### Description 12 | 13 | Read-only property: a [presetPanel object](../presetPanel_object/presetPanel_summary.md). 14 | 15 | -------------------------------------------------------------------------------- /Tools_object/tools11.md: -------------------------------------------------------------------------------- 1 | ## tools.toolObjs 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.toolObjs 10 | 11 | #### Description 12 | 13 | Read-only property; an array of ToolObj objects (see [ToolObj object](../ToolObj_object/toolObj_summary.md)). 14 | 15 | -------------------------------------------------------------------------------- /Vertex_object/vertex3.md: -------------------------------------------------------------------------------- 1 | ## vertex.y 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *vertex.y* 10 | 11 | #### Description 12 | 13 | Read-only property; the *y* location of the vertex, in pixels. 14 | 15 | #### Example 16 | 17 | See [vertex.x](../Vertex_object/vertex2.md). 18 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl76.md: -------------------------------------------------------------------------------- 1 | ## fl.tools 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.tools 10 | 11 | #### Description 12 | 13 | Read-only property; an array of Tools objects (see [Tools object](../Tools_object/tools_summary.md)). This property is used only when creating extensible tools. 14 | 15 | -------------------------------------------------------------------------------- /Element_object/elemen27.md: -------------------------------------------------------------------------------- 1 | ## element.y 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | *element.y* 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the *y* value of the selected element’s registration point. 14 | 15 | #### Example 16 | 17 | 18 | See [element.x](../Element_object/elemen26.md) 19 | 20 | -------------------------------------------------------------------------------- /Stroke_object/stroke11.md: -------------------------------------------------------------------------------- 1 | ## stroke.joinType 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | stroke.joinType 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the type of join for the stroke. Acceptable values are "miter", "round", and "bevel". 14 | 15 | #### See also 16 | 17 | [stroke.capType](../Stroke_object/stroke1.md) 18 | -------------------------------------------------------------------------------- /Tween_Object/Tween5.md: -------------------------------------------------------------------------------- 1 | ## Tween. startFrame 2 | 3 | #### Availability 4 | 5 | Flash Pro CC 6 | 7 | #### Usage 8 | 9 | Tween.startFrame 10 | 11 | #### Description 12 | 13 | Start frame of a tween. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var tweenObj = fl.getDocumentDOM().getTimeline().layers[0].frames[0].tweenObj; 19 | fl.trace(tweenObj.startFrame); 20 | 21 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl47.md: -------------------------------------------------------------------------------- 1 | ## fl.outputPanel 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.outputPanel 10 | 11 | #### Description 12 | 13 | Read-only property; reference to the [outputPanel object](../outputPanel_object/outputPanel_summary.md). 14 | 15 | #### Example 16 | 17 | See [outputPanel object](../outputPanel_object/outputPanel_summary.md). 18 | -------------------------------------------------------------------------------- /swfPanel_object/swfPane5.md: -------------------------------------------------------------------------------- 1 | ## swfPanel.reload() 2 | 3 | #### Availability 4 | 5 | Flash rofessional CC. 6 | 7 | #### Usage 8 | 9 | swfPanel.reload() 10 | 11 | #### Description 12 | 13 | Method: Reloads content in the SWF panel. 14 | 15 | #### Example 16 | 17 | The following example illustrates the use of this method: 18 | ```javascript 19 | fl.swfPanels[0].reload(); 20 | 21 | ``` -------------------------------------------------------------------------------- /Frame_object/frame20.md: -------------------------------------------------------------------------------- 1 | ## frame.motionTweenSnap 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.motionTweenSnap* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the tweened element automatically snaps to the nearest point on the motion guide layer associated with this frame’s layer *(true)* or not *(false)*. 14 | 15 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl10.md: -------------------------------------------------------------------------------- 1 | ## fl.compilerErrors 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | fl.compilerErrors 10 | 11 | #### Description 12 | 13 | Read-only property; a compilerErrors object, which represents the Errors panel. For information on using this property, see [compilerErrors object](../compilerErrors_object/compilerErrors_summary.md). 14 | 15 | -------------------------------------------------------------------------------- /presetItem_object/presetIte3.md: -------------------------------------------------------------------------------- 1 | ## presetItem.name 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | presetItem.name 10 | 11 | #### Description 12 | 13 | Read-only property: a string that represents the name of the preset or folder, without path information. 14 | 15 | #### Example 16 | 17 | See [presetItem.path](../presetItem_object/presetIte5.md). 18 | 19 | -------------------------------------------------------------------------------- /Matrix_object/matrix3.md: -------------------------------------------------------------------------------- 1 | ## matrix.d 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | matrix.d 10 | 11 | #### Description 12 | 13 | Property; a floating-point value that specifies the (1,1) element in the matrix. This value represents the scale factor of the object’s *y*-axis. 14 | 15 | #### Example 16 | 17 | 18 | See the [matrix.a](../Matrix_object/matrix.md) example. 19 | -------------------------------------------------------------------------------- /Text_object/text20.md: -------------------------------------------------------------------------------- 1 | ## text.selectionEnd 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.selectionEnd 10 | 11 | #### Description 12 | 13 | Property; a zero-based integer that specifies the end of a text subselection. For more information, see 14 | [text.selectionStart](../Text_object/text21.md). 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl.md: -------------------------------------------------------------------------------- 1 | ## fl.actionsPanel 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | fl.actionsPanel 10 | 11 | #### Description 12 | 13 | Read-only property; an actionsPanel object, which represents the currently displayed Actions panel. For information on using this property, see [actionsPanel object](../actionsPanel_object/actionsPanel_summary.md). 14 | 15 | -------------------------------------------------------------------------------- /Element_object/elemen16.md: -------------------------------------------------------------------------------- 1 | ## element.selected 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | *element.selected* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the element is selected *(true)* or not *(false)*. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example selects the element: 19 | element.selected = true; 20 | 21 | ``` -------------------------------------------------------------------------------- /folderItem_object/folderItem_summary.md: -------------------------------------------------------------------------------- 1 | ## folderItem summary 2 | 3 | **Inheritance** [Item object](../Item_object/item_summary.md) > folderItem object 4 | 5 | #### Availability 6 | 7 | Flash MX 2004. 8 | 9 | #### Description 10 | 11 | The folderItem object is a subclass of the Item object. There are no unique methods or properties for folderItem. See [Item object](../Item_object/item_summary.md). 12 | 13 | -------------------------------------------------------------------------------- /Frame_object/frame29.md: -------------------------------------------------------------------------------- 1 | ## frame.shapeTweenBlend 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.shapeTweenBlend* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies how a shape tween is blended between the shape in the keyframe at the start of the tween and the shape in the following keyframe. Acceptable values are *"distributive"* and *"angular"*. 14 | 15 | -------------------------------------------------------------------------------- /Text_object/text4.md: -------------------------------------------------------------------------------- 1 | ## text.border 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.border 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. A value of true causes Flash to show a border around text. 14 | 15 | #### Example 16 | 17 | The following example sets the border property to a value of true: 18 | ```javascript 19 | fl.getDocumentDOM().selection[0].border = true; 20 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera6.md: -------------------------------------------------------------------------------- 1 | ## setZDepth() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.setZDepth(frameIndex, tz) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int, tz:int (pixels) 14 | 15 | #### Return 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Sets camera's Z Depth value. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | cameraObj.setZDepth(200); 27 | ``` 28 | 29 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl73.md: -------------------------------------------------------------------------------- 1 | ## fl.spriteSheetExporter 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | fl.spriteSheetExporter 10 | 11 | #### Description 12 | 13 | Property; returns an instance of the SpriteSheetExporter object. 14 | 15 | #### Example 16 | 17 | The following example returns a reference to the SpriteSheetExporter object: 18 | ```javascript 19 | fl.trace(fl.spriteSheetExporter); 20 | 21 | ``` -------------------------------------------------------------------------------- /library_object/librar10.md: -------------------------------------------------------------------------------- 1 | ## library.items 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *library.items* 10 | 11 | #### Description 12 | 13 | Property; an array of item objects in the library. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example stores the array of all library items in the itemArray variable: 19 | 20 | var itemArray = fl.getDocumentDOM().library.items; 21 | 22 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan10.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.colorBlueAmount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | symbolInstance.colorBlueAmount 10 | 11 | #### Description 12 | 13 | Property; an integer that is part of the color transformation for the instance. This property is equivalent to using the Color >Advanced setting in the instance Property inspector. Allowable values are from -255 to 255. 14 | 15 | -------------------------------------------------------------------------------- /Tools_object/tools3.md: -------------------------------------------------------------------------------- 1 | ## tools.ctlIsDown 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.ctlIsDown 10 | 11 | #### Description 12 | 13 | Read-only property; a Boolean value that is true if the Control key is pressed; false otherwise. 14 | 15 | #### Example 16 | 17 | The following example determines whether the Control key is being pressed: 18 | ```javascript 19 | var isCtrldown = fl.tools.ctrlIsDown; 20 | ``` -------------------------------------------------------------------------------- /Layer_object/layer7.md: -------------------------------------------------------------------------------- 1 | ## layer.name 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.name 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the name of the layer. 14 | 15 | #### Example 16 | 17 | The following example sets the name of the first layer in the current document to foreground: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].name = "foreground"; 21 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan12.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.colorGreenAmount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | symbolInstance.colorGreenAmount 10 | 11 | #### Description 12 | 13 | Property; an integer that is part of the color transformation for the instance. This property is equivalent to using the Color >Advanced setting in the instance Property inspector. Allowable values are from -255 to 255. 14 | 15 | -------------------------------------------------------------------------------- /Tools_object/tools9.md: -------------------------------------------------------------------------------- 1 | ## tools.shiftIsDown 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.shiftIsDown 10 | 11 | #### Description 12 | 13 | Read-only property; a Boolean value that is true if the Shift key is pressed; false otherwise. 14 | 15 | #### Example 16 | 17 | The following example determines whether the Shift key is being pressed. 18 | ```javascript 19 | var isShiftDown = fl.tools.shiftIsDown; 20 | ``` -------------------------------------------------------------------------------- /Parameter_object/parameter.md: -------------------------------------------------------------------------------- 1 | ## parameter.category 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | parameter.category 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the category property for the screen parameter or componentInstance parameter. This property provides an alternative way of presenting a list of parameters. This functionality is not available through the Flash user interface. 14 | 15 | -------------------------------------------------------------------------------- /Text_object/text13.md: -------------------------------------------------------------------------------- 1 | ## text.length 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.length 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that represents the number of characters in the Text object. 14 | 15 | #### Example 16 | 17 | The following example returns the number of characters in the selected text: 18 | ```javascript 19 | var textLength = fl.getDocumentDOM().selection[0].length; 20 | ``` -------------------------------------------------------------------------------- /Text_object/text28.md: -------------------------------------------------------------------------------- 1 | ## text.textType 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.textType 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the type of text field. Acceptable values are "static", "dynamic", and "input". 14 | 15 | #### Example 16 | 17 | The following example sets the textType property to input: 18 | ```javascript 19 | fl.getDocumentDOM().selection[0].textType = "input"; 20 | ``` -------------------------------------------------------------------------------- /Text_object/text29.md: -------------------------------------------------------------------------------- 1 | ## text.useDeviceFonts 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.useDeviceFonts 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. A value of true causes Flash to draw text using device fonts. 14 | 15 | #### Example 16 | 17 | The following example causes Flash to use device fonts when drawing text: 18 | ```javascript 19 | fl.getDocumentDOM().selection[0].useDeviceFonts = true; 20 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl81.md: -------------------------------------------------------------------------------- 1 | ## fl.xmlui 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.xmlui 10 | 11 | #### Description 12 | 13 | Read-only property; an [XMLUI object](../XMLUI_object/xmlui_summary.md). This property lets you get and set XMLUI properties in a XMLUI dialog box and lets you accept or cancel the dialog box programmatically. 14 | 15 | #### Example 16 | 17 | See [XMLUI object](../XMLUI_object/xmlui_summary.md). 18 | -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter13.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.resolution 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.resolution 10 | 11 | #### Description 12 | 13 | Property; Floating value which indicates in which resolution the textures needs to be exported. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.resolution = 1.5; 20 | ```` -------------------------------------------------------------------------------- /Tools_object/tools5.md: -------------------------------------------------------------------------------- 1 | ## tools.mouseIsDown 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.mouseIsDown 10 | 11 | #### Description 12 | 13 | Read-only property; a Boolean value that is true if the left mouse button is currently down; false otherwise. 14 | 15 | #### Example 16 | 17 | The following example determines whether the left mouse button is pressed. 18 | ```javascript 19 | var isMouseDown = fl.tools.mouseIsDown; 20 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporter.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.addBitmap() 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.addBitmap(bitmap) 10 | 11 | #### Parameters 12 | 13 | **bitmap** The BitmapItem or Bitmap to include in the sprite sheet. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; Adds the specified bitmap or bitmapItem to the sprite sheet object. 22 | 23 | -------------------------------------------------------------------------------- /Timeline_object/timeli31.md: -------------------------------------------------------------------------------- 1 | ## timeline.layers 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | timeline.layers 10 | 11 | #### Description 12 | 13 | Read-only property; an array of layer objects. 14 | 15 | #### Example 16 | 17 | 18 | The following example uses the currentLayers variable to store the array of layer objects in the current document: 19 | ```javascript 20 | var currentLayers = fl.getDocumentDOM().getTimeline().layers; 21 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl78.md: -------------------------------------------------------------------------------- 1 | ## fl.version 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.version 10 | 11 | #### Description 12 | 13 | Read-only property; the long string version of the Flash authoring tool, including platform. 14 | 15 | #### Example 16 | 17 | The following example displays the version of the Flash authoring tool in the Output panel: 18 | ```javascript 19 | alert(fl.version); // For example, WIN 10,0,0,540 20 | 21 | ``` -------------------------------------------------------------------------------- /Stroke_object/stroke5.md: -------------------------------------------------------------------------------- 1 | ## stroke.dash2 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | stroke.dash2 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the lengths of the blank parts of a dashed line. This property is available only if the stroke.style property is set to dashed (see [stroke.style](../Stroke_object/stroke20.md)). 14 | 15 | #### Example 16 | 17 | See [stroke.dash1](../Stroke_object/stroke4.md). 18 | 19 | -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter12.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.overflowed 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.overflowed 10 | 11 | #### Description 12 | 13 | Read-only property; Boolean value which indicates, if any assets are remaining after packing into texture atlas. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | alert(exporter.overflowed); 20 | ```` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter7.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.filePath 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.filePath 10 | 11 | #### Description 12 | 13 | property; It's the location where the texture atlas files needs to be exported. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.filePath = "file:///Downloads/TextureAtlasExporter"; 20 | ```` -------------------------------------------------------------------------------- /Edge_object/edge7.md: -------------------------------------------------------------------------------- 1 | ## edge.stroke 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | edge.stroke 10 | 11 | #### Description 12 | 13 | Property; a [Stroke object](../Stroke_object/stroke_summary.md). 14 | 15 | #### Example 16 | 17 | The following example displays the stroke color of the first edge of the selected object: 18 | ```javascript 19 | var shape = fl.getDocumentDOM().selection[0]; 20 | fl.trace(shape.edges[0].stroke.color); 21 | 22 | ``` -------------------------------------------------------------------------------- /Parameter_object/paramete7.md: -------------------------------------------------------------------------------- 1 | ## parameter.verbose 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | parameter.verbose 10 | 11 | #### Description 12 | 13 | Property; specifies where the parameter is displayed. If the value of this property is 0 (nonverbose), the parameter is displayed only in the Component inspector. If it is 1 (verbose), the parameter is displayed in the Component inspector and in the Parameters tab of the Property inspector. 14 | 15 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport22.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.removeBitmap() 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.removeBitmap(bitmap) 10 | 11 | #### Parameters 12 | 13 | **bitmap** The BitmapItem or Bitmap to remove from the sprite sheet. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; Removes the specified bitmap or bitmapItem from the sprite sheet object. 22 | 23 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte3.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.allowRotate 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.allowRotate 10 | 11 | #### Description 12 | 13 | Property; A boolean value indicating whether the symbol frames can be rotated when packed into the sprite sheet. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.allowRotate = true; 20 | 21 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte8.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.borderPadding 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.borderPadding 10 | 11 | #### Description 12 | 13 | Property; An integer indicating the number of pixels of padding to add around each sprite in the sprite sheet. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.borderPadding = 5; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAttr9.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.italic 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.italic* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. A value of true causes text to appear with the italic version of the font. 14 | 15 | #### Example 16 | 17 | The following example sets the selected text field to italic: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().selection[0].setTextAttr("italic", true); 21 | 22 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter2.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.allowRotate 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.allowRotate 10 | 11 | #### Description 12 | 13 | Property; A boolean value indicating whether the symbol frames can be rotated when packed into the TextureAtlas. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.allowRotate = true; 20 | ```` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter5.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.borderPadding 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.borderPadding 10 | 11 | #### Description 12 | 13 | Property; An integer indicating the number of pixels of padding to add around each texture in the texture atlas. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.borderPadding = 5; 20 | ```` -------------------------------------------------------------------------------- /Element_object/element7.md: -------------------------------------------------------------------------------- 1 | ## element.layer 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | *element.layer* 10 | 11 | #### Description 12 | 13 | Read-only property; represents the [Layer object](../Layer_object/layer_summary.md) on which the element is located. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example stores the Layer object that contains the element in the theLayer variable: 19 | 20 | var theLayer = element.layer; 21 | 22 | ``` -------------------------------------------------------------------------------- /Layer_object/layer2.md: -------------------------------------------------------------------------------- 1 | ## layer.frameCount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.frameCount 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that specifies the number of frames in the layer. 14 | 15 | #### Example 16 | 17 | 18 | The following example stores the number of frames in the first layer in the fcNum variable: 19 | 20 | ```javascript 21 | var fcNum = fl.getDocumentDOM().getTimeline().layers[0].frameCount; 22 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter9.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.imageFormat 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.imageFormat 10 | 11 | #### Description 12 | 13 | property; The format of the texture atlas bitmaps 32 bit and 8 bit represented as “RGB8888” and “RGB8” respectively. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.imageFormat = "RGB8"; 20 | ```` -------------------------------------------------------------------------------- /Edge_object/edge3.md: -------------------------------------------------------------------------------- 1 | ## edge.id 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | edge.id 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that represents a unique identifier for the edge. 14 | 15 | #### Example 16 | 17 | The following example stores a unique identifier for the specified edge in the my_shape_id variable: 18 | ```javascript 19 | var shape = fl.getDocumentDOM().selection[0]; 20 | var my_shape_id = shape.edges[0].id; 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text27.md: -------------------------------------------------------------------------------- 1 | ## text.textRuns 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.textRuns 10 | 11 | #### Description 12 | 13 | Read-only property; an array of TextRun objects (see [TextRun object](../TextRun_object/textRun_summary.md)). 14 | 15 | #### Example 16 | 17 | The following example stores the value of the textRuns property in the myTextRuns variable: 18 | ```javascript 19 | var myTextRuns = fl.getDocumentDOM().selection[0].textRuns; 20 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter4.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.autoSize 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.autoSize 10 | 11 | #### Description 12 | 13 | Property; A boolean value indicating whether the TextureAtlasExporter should calculate the overall size of TextureAtlas on its own. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.autoSize = false; 20 | ```` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter8.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.flattenSkewObject 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.flattenSkewObject 10 | 11 | #### Description 12 | 13 | Property; Boolean value which indicates whether skewed assets needs to be flattened to the texture atlas. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.flattenSkewObject = true; 20 | ```` -------------------------------------------------------------------------------- /Tools_object/tools.md: -------------------------------------------------------------------------------- 1 | ## tools.activeTool 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.activeTool 10 | 11 | #### Description 12 | 13 | Read-only property; returns the [ToolObj object](../ToolObj_object/toolObj_summary.md) for the currently active tool. 14 | 15 | #### Example 16 | 17 | The following example saves an object that represents the currently active tool in the theTool variable: 18 | ```javascript 19 | var theTool = fl.tools.activeTool; 20 | ``` -------------------------------------------------------------------------------- /Tools_object/tools1.md: -------------------------------------------------------------------------------- 1 | ## tools.altIsDown 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.altIsDown 10 | 11 | #### Description 12 | 13 | Read-only property; a Boolean value that identifies if the Alt key is being pressed. The value is true if the Alt key is pressed, and false otherwise. 14 | 15 | #### Example 16 | 17 | The following example determines whether the Alt key is being pressed: 18 | ```javascript 19 | var isAltDown = fl.tools.altIsDown; 20 | ``` -------------------------------------------------------------------------------- /Frame_object/frame3.md: -------------------------------------------------------------------------------- 1 | ## frame.actionScript 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.actionScript* 10 | 11 | #### Description 12 | 13 | Property; a string that represents ActionScript code. To insert a new line character, use "\n". 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example assigns stop() to first frame top layer action: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript = 'stop();'; 21 | 22 | ``` -------------------------------------------------------------------------------- /Frame_object/frame38.md: -------------------------------------------------------------------------------- 1 | ## frame.tweenInstanceName 2 | 3 | #### Availability 4 | 5 | Flash Professional CS5. 6 | 7 | #### Usage 8 | 9 | *Frame.tweenInstanceName()* 10 | 11 | #### Description 12 | 13 | Property; a string that assigns an instance name to the selected motion object. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example assigns the instance name MyMotionTween to the specified motion object. 19 | 20 | theFrame.tweenInstanceName = "MyMotionTween"; 21 | 22 | ``` -------------------------------------------------------------------------------- /HalfEdge_object/halfEdg5.md: -------------------------------------------------------------------------------- 1 | ## halfEdge.id 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | halfEdge.id 10 | 11 | #### Description 12 | 13 | Read-only property; a unique integer identifier for the HalfEdge object. 14 | 15 | #### Example 16 | 17 | The following example displays a unique identifier for the specified half edge in the Output panel: 18 | 19 | ```javascript 20 | var shape = fl.getDocumentDOM().selection[0]; alert(shape.contours[0].getHalfEdge().id); 21 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport23.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.removeSymbol() 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.removeSymbol(symbol) 10 | 11 | #### Parameters 12 | 13 | **symbol** Object; The SymbolItem or SymbolInstance to remove from the sprite sheet. 14 | 15 | #### Returns 16 | 17 | Boolean. 18 | 19 | #### Description 20 | 21 | Method; Removes the specified SymbolItem or SymbolInstance from the sprite sheet. 22 | 23 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte6.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.autoSize 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.autoSize 10 | 11 | #### Description 12 | 13 | Property; A boolean value indicating whether the sprite sheet exporter should calculate the overall size of the sprite sheet on its own. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.autoSize = false; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter10.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.optimizeBitmap 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.optimizeBitmap 10 | 11 | #### Description 12 | 13 | Property; Boolean value which indicates whether texture atlas bitmaps needs to be optimized by removing extra spaces. 14 | 15 | #### Example 16 | 17 | ``` java script 18 | var exporter = new TextureAtlasExporter; 19 | exporter.optimizeBitmap = true; 20 | ```` -------------------------------------------------------------------------------- /Document_object/docume24.md: -------------------------------------------------------------------------------- 1 | ## document.breakApart() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.breakApart() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; performs a break-apart operation on the current selection. 22 | 23 | #### Example 24 | 25 | The following example breaks apart the current selection: 26 | ```javascript 27 | fl.getDocumentDOM().breakApart(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Matrix_object/matrix2.md: -------------------------------------------------------------------------------- 1 | ## matrix.c 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | matrix.c 10 | 11 | #### Description 12 | 13 | Property; a floating-point value that specifies the (1,0) element in the matrix. This value causes Animate to skew the object by moving its bottom edge along a horizontal axis. 14 | The matrix.b and matrix.c properties in a matrix represent skewing. 15 | 16 | #### Example 17 | 18 | See the [matrix.b](../Matrix_object/matrix1.md) example. 19 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte2.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.algorithm 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.algorithm 10 | 11 | #### Description 12 | 13 | Property; A string indicating which algorithm to use to pack the sprite sheet. Valid values are "basic" (the default), and "maxRects". 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.algorithm = "maxRects"; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAtt15.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.size 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.size* 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the size of the font. 14 | 15 | #### Example 16 | 17 | The following example retrieves the size of the character at index 2 and shows the result in the Output panel: 18 | 19 | ```javascript 20 | fl.outputPanel.trace(fl.getDocumentDOM().selection[0].getTextAttr("size", 2)); 21 | 22 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl11.md: -------------------------------------------------------------------------------- 1 | ## fl.componentsPanel 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.componentsPanel 10 | 11 | #### Description 12 | 13 | Read-only property; a [componentsPanel object](../componentsPanel_object/componentsPanel_summary.md), which represents the Components panel. 14 | 15 | #### Example 16 | 17 | The following example stores a componentsPanel object in the comPanel variable: 18 | ```javascript 19 | var comPanel = fl.componentsPanel; 20 | 21 | ``` -------------------------------------------------------------------------------- /Frame_object/frame13.md: -------------------------------------------------------------------------------- 1 | ## frame.isEmpty() 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | *frame.isEmpty()* 10 | 11 | #### Description 12 | 13 | Method; a Boolean value. Lets you know whether the frame contains any elements. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example illustrates use of this method. 19 | 20 | var frame = fl.getDocumentDOM().getTimeline().layers[0].frames[0]; 21 | if (frame.isEmpty) fl.trace("first frame is empty"); 22 | 23 | ``` -------------------------------------------------------------------------------- /Path_object/path3.md: -------------------------------------------------------------------------------- 1 | ## path.clear() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | path.clear() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; removes all points from the path. 22 | 23 | #### Example 24 | 25 | The following example removes all points from a path stored in the myPath variable: 26 | ```javascript 27 | var myPath = fl.drawingLayer.newPath(); 28 | myPath.clear(); 29 | 30 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport17.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.image 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.image 10 | 11 | #### Description 12 | 13 | Read-only property; A string value indicating the name of the sprite sheet image file. This property is provided for use by sprite sheet generator plugins. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | alert(exporter.image); 20 | 21 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter1.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.algorithm 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.algorithm 10 | 11 | #### Description 12 | 13 | Property; A string indicating which algorithm to use to pack the TextureAtlas. Valid values are "basic", and 14 | "maxRects" (the default). 15 | 16 | #### Example 17 | 18 | ``` javascript 19 | var exporter = new TextureAtlasExporter; 20 | exporter.algorithm = "maxRects"; 21 | ```` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter16.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.sheetWidth 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.sheetWidth 10 | 11 | #### Description 12 | 13 | Property; An integer value specifying the width of the texture atlas. This value is read-only if TextureAtlasExporter.autoSize is set to true. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.sheetwidth = 512; 20 | ```` -------------------------------------------------------------------------------- /Timeline_object/timeli30.md: -------------------------------------------------------------------------------- 1 | ## timeline.layerCount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | timeline.layerCount 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that represents the number of layers in the specified timeline. 14 | 15 | #### Example 16 | 17 | 18 | The following example uses the NumLayer variable to store the number of layers in the current scene: 19 | ```javascript 20 | var NumLayer = fl.getDocumentDOM().getTimeline().layerCount; 21 | ``` -------------------------------------------------------------------------------- /Document_object/docu6182.md: -------------------------------------------------------------------------------- 1 | ## document.width 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.width 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the width of the document (Stage) in pixels. 14 | 15 | #### Example 16 | 17 | The following example sets the width of the Stage to 400 pixels. 18 | 19 | ```javascript 20 | fl.getDocumentDOM().width= 400; 21 | 22 | ``` 23 | #### See also 24 | 25 | [document.height](../Document_object/docume91.md) 26 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport25.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.sheetHeight 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.sheetHeight 10 | 11 | #### Description 12 | 13 | Property; An integer value specifying the height of the sprite sheet. This value is read-only if 14 | SpriteSheetExporter.autoSize is set to true. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | exporter.sheetHeight = 512; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport26.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.sheetWidth 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.sheetWidth 10 | 11 | #### Description 12 | 13 | Property; An integer value specifying the width of the sprite sheet. This value is read-only if 14 | SpriteSheetExporter.autoSize is set to true. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | exporter.sheetwidth = 512; 21 | 22 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter15.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.sheetHeight 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.sheetHeight 10 | 11 | #### Description 12 | 13 | Property; An integer value specifying the height of the texture atlas. This value is read-only if TextureAtlasExporter.autoSize is set to true. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | exporter.sheetHeight = 512; 20 | ```` -------------------------------------------------------------------------------- /Camera_object/Camera18.md: -------------------------------------------------------------------------------- 1 | ## camera.tintEnabled 2 | 3 | #### Availability 4 | 5 | Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.tintEnabled 10 | 11 | #### Type 12 | 13 | Boolean 14 | 15 | #### Description 16 | 17 | Used to Enable/Disable tint. The value true is if camera is enabled otherwise false. 18 | 19 | #### Example 20 | 21 | The following example enables the tint: 22 | 23 | ```javascript 24 | var timeline = an.getDocumentDOM().getTimeline(); 25 | 26 | timeline.camera.tintEnabled = true; 27 | 28 | ``` -------------------------------------------------------------------------------- /Document_object/docu5901.md: -------------------------------------------------------------------------------- 1 | ## document.swapStrokeAndFill() 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | document.swapStrokeAndFill() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; swaps the Stroke and Fill colors. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example swaps the Stroke and Fill colors in the current document: 27 | fl.getDocumentDOM().swapStrokeAndFill(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Document_object/docume91.md: -------------------------------------------------------------------------------- 1 | ## document.height 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.height 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the height of the document (Stage) in pixels. 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the height of the Stage to 400 pixels: 19 | ```javascript 20 | fl.getDocumentDOM().height = 400; 21 | 22 | ``` 23 | #### See also 24 | 25 | [document.width](../Document_object/docu6182.md) 26 | -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport24.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.shapePadding 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.shapePadding 10 | 11 | #### Description 12 | 13 | Property; An integer value indicating how many pixels of padding should be added to each exported symbol frame when adding it to the sprite sheet. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.shapePadding = 10; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter11.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.optimizeJson 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.optimizeJson 10 | 11 | #### Description 12 | 13 | Property; Boolean value which indicates whether animation.json needs to be optimized by removing indentation, decomposed matrix and use shortened names. 14 | #### Example 15 | 16 | ``` javascript 17 | var exporter = new TextureAtlasExporter; 18 | exporter.optimizeJson = true; 19 | ```` -------------------------------------------------------------------------------- /flash_object_(fl)/fl21.md: -------------------------------------------------------------------------------- 1 | ## fl.drawingLayer 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.drawingLayer 10 | 11 | #### Description 12 | 13 | Read-only property; the [drawingLayer object](../drawingLayer_object/drawingLayersummary.md) that an extensible tool should use when the user wants to temporarily draw while dragging (for example, when creating a selection marquee). 14 | 15 | #### Example 16 | 17 | See [drawingLayer.setColor()](../drawingLayer_object/drawingLay10.md). 18 | 19 | -------------------------------------------------------------------------------- /Document_object/docu5932.md: -------------------------------------------------------------------------------- 1 | ## document.swfJPEGQuality 2 | 3 | #### Availability 4 | 5 | Flash Professional CS6. 6 | 7 | #### Usage 8 | 9 | document.swfJPEGQuality 10 | 11 | #### Description 12 | 13 | Property; an integer, returns the JPEG Quality setting from the current Publish Profile in the document. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example display the current SWF JPEG quality: 19 | fl.trace("current profile's JPEG Quality is: " + fl.getDocumentDOM().swfJPEGQuality); 20 | 21 | ``` -------------------------------------------------------------------------------- /Document_object/docu6229.md: -------------------------------------------------------------------------------- 1 | ## document.zoomFactor 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | document.zoomFactor 10 | 11 | #### Description 12 | 13 | Property; specifies the zoom percent of the Stage at authoring time. A value of 1 equals 100 percent zoom, 8 equals 800 percent, .5 equals 50 percent, and so on. 14 | 15 | #### Example 16 | 17 | The following example sets the zoom factor of the Stage to 200 percent. 18 | 19 | ```javascript 20 | fl.getDocumentDOM().zoomFactor = 2; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport12.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.canShapePad 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.canShapePad 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the 14 | SpriteSheetExporter.layoutFormat property supports shape padding. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | alert(exporter.canShapePad); 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport19.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.maxSheetHeight 2 | 3 | #### Availability 4 | 5 | Flash Pro CC. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.maxSheetHeight 10 | 11 | #### Description 12 | 13 | Controls the maximum height of the generated sprite sheet when autoSize = true, clipped to a maximum value of 8192. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.autoSize to true; 20 | exporter.maxSheetHeight = 512; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport20.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.maxSheetWidth 2 | 3 | #### Availability 4 | 5 | Flash Pro CC. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.maxSheetWidth 10 | 11 | #### Description 12 | 13 | Controls the maximum width of the generated sprite sheet when autoSize = true, clipped to a maximum value of 8192. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.autoSize to true; 20 | exporter.maxSheetWidth = 512; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport28.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.version 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.version 10 | 11 | #### Description 12 | 13 | Read-only property; A stinr gindicating the version number of the Flash Pro application. This property is provided for use by sprite sheet plugins. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | alert(exporter.verion); 20 | // "12.0.0.416" 21 | 22 | ``` -------------------------------------------------------------------------------- /Stroke_object/stroke21.md: -------------------------------------------------------------------------------- 1 | ## stroke.thickness 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | stroke.thickness 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the stroke size. 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the thickness property of the stroke to a value of 2: 19 | ```javascript 20 | var myStroke = fl.getDocumentDOM().getCustomStroke(); 21 | myStroke.thickness = 2; 22 | fl.getDocumentDOM().setCustomStroke(myStroke); 23 | 24 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter14.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.shapePadding 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.shapePadding 10 | 11 | #### Description 12 | 13 | Property; An integer value indicating how many pixels of padding should be added to each exported symbol frame 14 | when adding it to the TextureAtlas. 15 | 16 | #### Example 17 | 18 | ``` javascript 19 | var exporter = new TextureAtlasExporter; 20 | exporter.shapePadding = 1.5; 21 | ```` -------------------------------------------------------------------------------- /Camera_object/Camera16.md: -------------------------------------------------------------------------------- 1 | ## reset() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.reset(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing 18 | 19 | #### Description 20 | 21 | Reset all camera properties to default. 22 | 23 | #### Example 24 | 25 | The following example reset all camera properties to default. 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.reset(0); 29 | ``` 30 | -------------------------------------------------------------------------------- /Matrix_object/matrix5.md: -------------------------------------------------------------------------------- 1 | ## matrix.ty 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | matrix.ty 10 | 11 | #### Description 12 | 13 | Property; a floating-point value that specifies the *y*-axis location of a symbol’s registration point or the center of a shape. It defines the *y* translation of the transformation. 14 | You can move an object by setting the matrix.tx and matrix.ty properties. 15 | 16 | #### Example 17 | 18 | 19 | See the [matrix.tx](../Matrix_object/matrix4.md) example. 20 | 21 | -------------------------------------------------------------------------------- /Shape_object/shape12.md: -------------------------------------------------------------------------------- 1 | ## shape.numCubicSegments 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | *shape.numCubicSegments* 10 | 11 | #### Description 12 | 13 | Read-only property; the number of cubic segments in the shape. 14 | 15 | #### Example 16 | 17 | Assuming a square or rectangle shape is selected, the following code displays "4" in the Output panel: 18 | 19 | ```javascript 20 | var theShape = fl.getDocumentDOM().selection[0]; 21 | fl.trace(theShape.numCubicSegments); 22 | 23 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte9.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.canBorderPad 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.canBorderPad 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the 14 | SpriteSheetExporter.layoutFormat property supports border padding. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | alert(exporter.canBorderPad); 21 | 22 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter17.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.version 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.version 10 | 11 | #### Description 12 | 13 | Read-only property; A stinrg indicating the version number of the Animate application. This property is provided for use by texture atlas plugins. 14 | 15 | #### Example 16 | 17 | ``` javascript 18 | var exporter = new TextureAtlasExporter; 19 | alert(exporter.version); 20 | // "20.0.1.19255" 21 | ```` -------------------------------------------------------------------------------- /Timeline_object/timeli42.md: -------------------------------------------------------------------------------- 1 | ## timeline.selectAllFrames() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | timeline.selectAllFrames() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; selects all the frames in the current timeline. 22 | 23 | #### Example 24 | The following example selects all the frames in the current timeline. 25 | 26 | ```javascript 27 | fl.getDocumentDOM().getTimeline().selectAllFrames(); 28 | ``` -------------------------------------------------------------------------------- /Timeline_object/timeli52.md: -------------------------------------------------------------------------------- 1 | ## timeline.advancedLayersEnabled 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | timeline.advancedLayersEnabled 10 | 11 | 12 | #### Description 13 | 14 | Property;A boolean value that specifies the advanced layers mode is enabled or disabled. 15 | 16 | #### Example 17 | 18 | 19 | The following example enables the advanced layers mode. 20 | 21 | ```javascript 22 | var timeline = an.getDocumentDOM().getTimeline(); 23 | timeline.advancedLayersEnabled = true ; 24 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera15.md: -------------------------------------------------------------------------------- 1 | ## resetColorFilter() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.resetColorFilter(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing 18 | 19 | #### Description 20 | 21 | Remove color filter. 22 | 23 | #### Example 24 | 25 | The following example removes color filter. 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.resetColorFilter(0); 29 | 30 | ``` 31 | 32 | -------------------------------------------------------------------------------- /Camera_object/Camera17.md: -------------------------------------------------------------------------------- 1 | ## camera.cameraEnabled 2 | 3 | #### Availability 4 | 5 | Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.cameraEnabled 10 | 11 | #### Type 12 | 13 | Boolean 14 | 15 | #### Description 16 | 17 | Used to Enable/Disable camera. The value is true if camera is enabled otherwise false. 18 | 19 | #### Example 20 | 21 | The following example enables the camera: 22 | 23 | ```javascript 24 | 25 | var timeline = an.getDocumentDOM().getTimeline(); 26 | 27 | timeline.camera.cameraEnabled = true; 28 | 29 | ``` -------------------------------------------------------------------------------- /Timeline_object/timeli20.md: -------------------------------------------------------------------------------- 1 | ## timeline.frameCount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | timeline.frameCount 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that represents the number of frames in this timeline’s longest layer. 14 | 15 | #### Example 16 | 17 | The following example uses a countNum variable to store the number of frames in the current document’s longest layer: 18 | ```javascript 19 | var countNum = fl.getDocumentDOM().getTimeline().frameCount; 20 | 21 | ``` -------------------------------------------------------------------------------- /Document_object/docume34.md: -------------------------------------------------------------------------------- 1 | ## document.convertLinesToFills() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.convertLinesToFills() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; converts lines to fills on the selected objects. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example converts the current selected lines to fills: 27 | 28 | fl.getDocumentDOM().convertLinesToFills(); 29 | 30 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte4.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.allowTrimming 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.allowTrimming 10 | 11 | #### Description 12 | 13 | Property; A boolean value indicating whether the symbol frames can be trimmed of any extra whitespace when packed into the sprite sheet. The default value is true. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.allowTrimming = false; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAtt12.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.lineSpacing 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.lineSpacing* 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the line spacing (*leading*) of the paragraph. Acceptable values are -360 through 720. 14 | 15 | #### Example 16 | 17 | The following example sets the selected text field’s lineSpacing property to 100: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().selection[0].setTextAttr("lineSpacing", 100); 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text18.md: -------------------------------------------------------------------------------- 1 | ## text.scrollable 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.scrollable 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. If the value is true, the text can be scrolled. 14 | 15 | This property works only with dynamic or input text; it generates a warning if used with static text. 16 | 17 | #### Example 18 | 19 | The following example sets the scrollable property to false: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].scrollable = false; 22 | ``` -------------------------------------------------------------------------------- /Tools_object/tools4.md: -------------------------------------------------------------------------------- 1 | ## tools.getKeyDown() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.getKeyDown() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | The integer value of the key. 18 | 19 | #### Description 20 | 21 | Method; returns the most recently pressed key. 22 | 23 | #### Example 24 | 25 | The following example displays the integer value of the most recently pressed key: 26 | ```javascript 27 | var theKey = fl.tools.getKeyDown(); 28 | fl.trace(theKey); 29 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera12.md: -------------------------------------------------------------------------------- 1 | ## resetRotation() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.resetRotation(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Reset camera angle to zero. 22 | 23 | #### Example 24 | 25 | The following example resets camera angle to zero. 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.resetRotation(0); 29 | 30 | ``` 31 | 32 | -------------------------------------------------------------------------------- /Stroke_object/stroke19.md: -------------------------------------------------------------------------------- 1 | ## stroke.strokeHinting 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | stroke.strokeHinting 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether stroke hinting is set on the stroke. 14 | 15 | #### Example 16 | 17 | 18 | The following example enables stroke hinting for the stroke: 19 | ```javascript 20 | var myStroke = fl.getDocumentDOM().getCustomStroke(); 21 | myStroke.strokeHinting = true; 22 | fl.getDocumentDOM().setCustomStroke(myStroke); 23 | 24 | ``` -------------------------------------------------------------------------------- /TextRun_object/textRun1.md: -------------------------------------------------------------------------------- 1 | ## textRun.characters 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | **TextRun object** 8 | 9 | #### Usage 10 | 11 | *textRun.characters* 12 | 13 | #### Description 14 | 15 | Property; the text contained in the TextRun object. 16 | 17 | #### Example 18 | 19 | The following example displays the characters that make up the first run of characters in the selected text field in the Output panel: 20 | 21 | ```javascript 22 | fl.trace(fl.getDocumentDOM().selection[0].textRuns[0].characters); 23 | 24 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte7.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.beginExport() 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.beginExport() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; Initializes the SpriteSheetExporter to create a new sprite sheet. This method is not necessary if you create the exporter from new. It is necessary if you reuse the same exporter to make multiple sprite sheets. 22 | 23 | -------------------------------------------------------------------------------- /library_object/librar16.md: -------------------------------------------------------------------------------- 1 | ## library.selectNone() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *library.selectNone()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; deselects all the library items. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following examples deselect all the items in the library: 27 | 28 | fl.getDocumentDOM().library.selectNone(); 29 | fl.getDocumentDOM().library.selectAll(false); 30 | 31 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera14.md: -------------------------------------------------------------------------------- 1 | ## resetTint() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.resetTint(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Remove camera tint. 22 | 23 | #### Example 24 | 25 | The following example Remove camera tint. 26 | ```javascript 27 | var tl = an.getDocumentDOM().getTimeline(); 28 | tl.camera.resetTint(0); // reset camera tint at first frame in timeline 29 | 30 | 31 | ``` 32 | 33 | -------------------------------------------------------------------------------- /Frame_object/frame21.md: -------------------------------------------------------------------------------- 1 | ## frame.motionTweenSync 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.motionTweenSync* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that if set to true, synchronizes the animation of the tweened object with the main timeline. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example specifies that tweened object should be synchronized with the timeline: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenSync = true; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport27.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.stackDuplicateFrames 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.stackDuplicateFrames 10 | 11 | #### Description 12 | 13 | Property; A boolean value specifying whether the sprite sheet can stack duplicate symbol frames when adding them to the sprite sheet. The default is true. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | exporter.stackDuplicateFrames = true; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAtt17.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.url 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.url* 10 | 11 | #### Description 12 | 13 | Property; a string that represents the URL property of the text field. This property works only with static text. 14 | 15 | #### Example 16 | 17 | The following example sets the URL of the selected text field to [http://www.adobe.com:](http://www.adobe.com/) 18 | 19 | 20 | fl.getDocumentDOM().setElementTextAttr("url", ["http://www.adobe.com"](http://www.adobe.com/)); 21 | -------------------------------------------------------------------------------- /TextAttrs_object/textAttr6.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.face 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.face* 10 | 11 | #### Description 12 | 13 | Property; a string that represents the name of the font, such as *"Arial"*. 14 | 15 | #### Example 16 | 17 | The following example sets the font of the selected text field from the character at index 2 up to, but not including, the character at index 8 to Arial: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().selection[0].setTextAttr("face", "Arial", 2, 8); 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text19.md: -------------------------------------------------------------------------------- 1 | ## text.selectable 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.selectable 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. If the value is true, the text can be selected. 14 | 15 | Input text is always selectable. Flash generates a warning when this property is set to false and used with input text. 16 | 17 | #### Example 18 | 19 | The following example sets the selectable property to true: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].selectable = true; 22 | ``` -------------------------------------------------------------------------------- /ToolObj_object/toolObj.md: -------------------------------------------------------------------------------- 1 | ## toolObj.depth 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | toolObj.depth 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that specifies the depth of the tool in the pop-up menu in the Tools panel. This property is used only when creating extensible tools. 14 | 15 | #### Example 16 | 17 | The following example specifies that the tool has a depth of 1, which means one level under a tool in the Tools panel: 18 | ```javascript 19 | fl.tools.activeTool.depth = 1; 20 | 21 | ``` -------------------------------------------------------------------------------- /Frame_object/frame4.md: -------------------------------------------------------------------------------- 1 | ## frame.duration 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.duration* 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that represents the number of frames in a frame sequence. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example stores the number of frames in a frame sequence that starts at the first frame in the top layer in the frameSpan variable: 19 | 20 | var frameSpan = fl.getDocumentDOM().getTimeline().layers[0].frames[0].duration; 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport10.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.canRotate 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.canRotate 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the 14 | SpriteSheetExporter.layoutFormat property may rotate symbol frames when adding them to the sprite sheet. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | alert(exporter.canRotate); 21 | 22 | ``` -------------------------------------------------------------------------------- /Stroke_object/stroke1.md: -------------------------------------------------------------------------------- 1 | ## stroke.capType 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | stroke.capType 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the type of cap for the stroke. Acceptable values are "none", "round", and "square". 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the stroke cap type to round: 19 | ```javascript 20 | var myStroke = fl.getDocumentDOM().getCustomStroke(); 21 | myStroke.capType = "round"; 22 | fl.getDocumentDOM().setCustomStroke(myStroke); 23 | 24 | ``` -------------------------------------------------------------------------------- /SymbolItem_object/symbolIt12.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.timeline 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *symbolItem.timeline* 10 | 11 | #### Description 12 | 13 | Read-only property; a [Timeline object](../Timeline_object/timeline_summary.md). 14 | 15 | #### Example 16 | 17 | The following example obtains and shows the number of layers that the selected movie clip in the library contains: 18 | 19 | ```javascript 20 | var tl = fl.getDocumentDOM().library.getSelectedItems()[0].timeline; 21 | alert(tl.layerCount); 22 | 23 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter6.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.canRotate 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.canRotate 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the 14 | TextureAtlasExporter.layoutFormat property may rotate textures when adding them to the texture atlas. 15 | 16 | #### Example 17 | 18 | ``` javascript 19 | var exporter = new TextureAtlasExporter; 20 | alert(exporter.canRotate); 21 | ```` -------------------------------------------------------------------------------- /Tween_Object/Tween6.md: -------------------------------------------------------------------------------- 1 | ## Tween. tweenType 2 | 3 | #### Availability 4 | 5 | Flash Pro CC 6 | 7 | #### Usage 8 | 9 | Tween.tweenType 10 | 11 | #### Description 12 | 13 | Specifies the type of tween. For example, Motion or Shape. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var tweenObj = fl.getDocumentDOM().getTimeline().layers[0].frames[0].tweenObj; 19 | if( tweenObj.tweenType == "shape") { 20 | for(var i = 1; i < tweenObj.duration; i++) { 21 | var shape = tweenObj.getShape(i); ///// code to perform some operation on returned shape } } 22 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera19.md: -------------------------------------------------------------------------------- 1 | ## camera.colorFilterEnabled 2 | 3 | #### Availability 4 | 5 | Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.colorFilterEnabled 10 | 11 | #### Type 12 | 13 | Boolean 14 | 15 | #### Description 16 | 17 | Used to Enable/Disable camera's color Filter. The value is true if camera is enabled otherwise false. 18 | 19 | #### Example 20 | 21 | The following example enables the color filter: 22 | 23 | ```javascript 24 | var timeline = an.getDocumentDOM().getTimeline(); 25 | 26 | timeline.camera.colorFilterEnabled = true; 27 | 28 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport21.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.overflowed 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.overflowed 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether all the exported symbol frames cannot fit within the currently specified size of the sprite sheet. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | if (exporter.overflowed) 20 | { 21 | exporter.sheetWidth = 1024; 22 | } 23 | 24 | ``` -------------------------------------------------------------------------------- /SymbolItem_object/symbolIt10.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.sourceLibraryName 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *symbolItem.sourceLibraryName* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the name of the item in the source file library. It is used for shared library symbols. 14 | 15 | #### Example 16 | 17 | The following example shows the value of the sourceLibraryName property in the Output panel: 18 | 19 | ```javascript 20 | fl.trace(fl.getDocumentDOM().library.items[0].sourceLibraryName); 21 | 22 | ``` -------------------------------------------------------------------------------- /XMLUI_object/xmlui1.md: -------------------------------------------------------------------------------- 1 | ## xmlui.cancel() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *xmlui.cancel()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; closes the current XMLUI dialog box with a cancel state, which is equivalent to the user clicking the Cancel button. 22 | 23 | #### See also 24 | 25 | [fl.xmlui](../flash_object_(fl)/fl81.md) , [document.xmlPanel()](../Document_object/docu6198.md), [xmlui.accept()](../XMLUI_object/xmlui.md) 26 | -------------------------------------------------------------------------------- /Document_object/docume44.md: -------------------------------------------------------------------------------- 1 | ## document.deleteSelection() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.deleteSelection() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; deletes the current selection on the Stage. Displays an error message if there is no selection. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example deletes the current selection in the document: 27 | fl.getDocumentDOM().deleteSelection(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Document_object/docume56.md: -------------------------------------------------------------------------------- 1 | ## document.duplicateSelection() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.duplicateSelection() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; duplicates the selection on the Stage. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example duplicates the current selection, which is similar to Alt-clicking and then dragging an item: 27 | fl.getDocumentDOM().duplicateSelection(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Parameter_object/paramete6.md: -------------------------------------------------------------------------------- 1 | ## parameter.valueType 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | parameter.valueType 10 | 11 | #### Description 12 | 13 | Read-only property; a string that indicates the type of the screen or component parameter. The type can be one of the following values: "Default", "Array", "Object", "List", "String", "Number", "Boolean", "Font Name", "Color", "Collection", "Web Service URL", **or** "Web Service Operation". 14 | 15 | #### See also 16 | 17 | [parameter.value](../Parameter_object/paramete5.md) 18 | -------------------------------------------------------------------------------- /flash_object_(fl)/fl38.md: -------------------------------------------------------------------------------- 1 | ## fl.languageCode 2 | 3 | #### Availability 4 | 5 | Flash CS5 Professional. 6 | 7 | #### Usage 8 | 9 | fl.languageCode 10 | 11 | #### Description 12 | 13 | Property; a string that returns the five character code identifying the locale of the application’s user interface. 14 | 15 | #### Example 16 | 17 | The following example returns the five character langauge code indicated by the Flash application’s localized user interface: 18 | ```javascript 19 | locConfigURI = fl.applicationURI + fl.languageCode + "/Configuration"; 20 | 21 | ``` -------------------------------------------------------------------------------- /Document_object/docu6104.md: -------------------------------------------------------------------------------- 1 | ## document.unGroup() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.unGroup() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; ungroups the current selection. 22 | 23 | #### Example 24 | 25 | The following example ungroups the elements in the current selection: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().unGroup(); 29 | 30 | ``` 31 | #### See also 32 | 33 | [document.group()](../Document_object/docume90.md) 34 | -------------------------------------------------------------------------------- /Parameter_object/paramete5.md: -------------------------------------------------------------------------------- 1 | ## parameter.value 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | parameter.value 10 | 11 | #### Description 12 | 13 | Property; corresponds to the Value field in the Parameters tab of the Component inspector, the Parameters tab of the Property inspector, or the screen Property inspector. The type of the value property is determined by the valueType property for the parameter (see [parameter.valueType](../Parameter_object/paramete6.md)). 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /TextAttrs_object/textAttr3.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.bold 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.bold* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. A value of true causes text to appear with the bold version of the font. 14 | 15 | #### Example 16 | 17 | The following example selects the first character of the selected Text object and sets the bold property to true: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().setTextSelection(0, 1); 21 | fl.getDocumentDOM().setElementTextAttr('bold', true); 22 | 23 | ``` -------------------------------------------------------------------------------- /Tween_Object/Tween4.md: -------------------------------------------------------------------------------- 1 | ## Tween. duration 2 | 3 | #### Availability 4 | 5 | Flash Pro CC 6 | 7 | #### Usage 8 | 9 | Tween.duration 10 | 11 | #### Description 12 | 13 | Duration of a tween span that is equal to number of frames in a tween. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var tweenObj = fl.getDocumentDOM().getTimeline().layers[0].frames[0].tweenObj; 19 | if( tweenObj.tweenType == "shape") { 20 | for(var i = 1; i < tweenObj.duration; i++) { 21 | var shape = tweenObj.getShape(i); ///// code to perform some operation on returned shape } } 22 | 23 | ``` -------------------------------------------------------------------------------- /BitmapItem_object/bitmapIte12.md: -------------------------------------------------------------------------------- 1 | ## bitmapItem.useDeblocking 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | *bitmapItem.useDeblocking* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether deblocking is enabled (*true*) or not (*false*). 14 | 15 | #### Example 16 | 17 | ```javascript 18 | Assuming the first item in the Library is a bitmap item, the following code enables deblocking for the item: 19 | 20 | var libItem = fl.getDocumentDOM().library.items[0]; 21 | libItem.useDeblocking = true; 22 | 23 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera11.md: -------------------------------------------------------------------------------- 1 | ## resetZoom() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.resetZoom(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing 18 | 19 | #### Description 20 | 21 | Reset camera zoom to it's default zoom value i.e 100%. 22 | 23 | #### Example 24 | 25 | The following example resets camera zoom to it's default zoom value i.e 100%. 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.resetZoom(0); 29 | 30 | ``` 31 | -------------------------------------------------------------------------------- /Contour_object/contour.md: -------------------------------------------------------------------------------- 1 | ## contour.fill 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | contour.fill 10 | 11 | #### Description 12 | 13 | Property; a [Fill object](../Fill_object/fill_summary.md). 14 | 15 | #### Example 16 | 17 | Assuming that you have a contour with a fill selected, the following example displays the contour’s fill color in the Output panel: 18 | 19 | ```javascript 20 | var insideContour = fl.getDocumentDOM().selection[0].contours[1]; 21 | var insideFill = insideContour.fill; 22 | fl.trace(insideFill.color); 23 | ``` -------------------------------------------------------------------------------- /Document_object/docum210.md: -------------------------------------------------------------------------------- 1 | ## document.publish() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.publish() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; publishes the document according to the active publish settings (File >Publish Settings). This method is equivalent to selecting File >Publish. 22 | 23 | #### Example 24 | The following example publishes the current document: 25 | 26 | ```javascript 27 | fl.getDocumentDOM().publish(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Layer_object/layer10.md: -------------------------------------------------------------------------------- 1 | ## layer.visible 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.visible 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the layer’s objects on the Stage are shown or hidden. If set to true, all objects in the layer are visible; if false, they are hidden. The default value is true. 14 | 15 | #### Example 16 | 17 | The following example makes all objects in the first layer invisible: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].visible = false; 21 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport11.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.canTrim 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.canTrim 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the SpriteSheetExporter.layoutFormat property supports trimming extra whitespace from symbol frames when adding them to the sprite sheet. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | alert(exporter.canTrim); 20 | 21 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan30.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.visible 2 | 3 | #### Availability 4 | 5 | Flash CS5.5 Professional. 6 | 7 | #### Usage 8 | 9 | symbolInstance.visible 10 | 11 | #### Description 12 | 13 | Property; a boolean value that sets the Visible property of an object to on (true) or off (false). 14 | 15 | #### Example 16 | 17 | The following example sets the visibility of the first item in the first frame of the first layer to false: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].visible = false; 21 | 22 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAttrs.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.aliasText 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.aliasText* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies that Flash should draw the text using a method optimized for increasing the legibility of small text. 14 | 15 | #### Example 16 | 17 | The following example sets the aliasText property to true for all the text in the currently selected text field: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().setElementTextAttr('aliasText', true); 21 | 22 | ``` -------------------------------------------------------------------------------- /Document_object/docume35.md: -------------------------------------------------------------------------------- 1 | ## document.convertSelectionToBitmap() 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | document.convertSelectionToBitmap() 10 | 11 | #### Parameters 12 | 13 | None 14 | 15 | #### Returns 16 | 17 | Boolean. 18 | 19 | #### Description 20 | 21 | Method; converts selected objects in the current frame to a bitmap and inserts the bitmap into the library. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example illustrates use of this method: 27 | fl.getDocumentDOM().convertSelectionToBitmap(); 28 | 29 | ``` -------------------------------------------------------------------------------- /SymbolItem_object/symbolIte8.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.sourceAutoUpdate 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *symbolItem.sourceAutoUpdate* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the item is updated when the FLA file is published. The default value is false. Used for shared library symbols. 14 | 15 | #### Example 16 | 17 | The following example sets the sourceAutoUpdate property for a library item: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().library.items[0].sourceAutoUpdate = true; 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text17.md: -------------------------------------------------------------------------------- 1 | ## text.renderAsHTML 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.renderAsHTML 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. If the value is true, Flash draws the text as HTML and interprets embedded HTML tags. 14 | 15 | This property works only with dynamic or input text; it generates a warning if used with other text types. 16 | 17 | #### Example 18 | 19 | The following example sets the renderAsHTML property to true: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].renderAsHTML = true; 22 | ``` -------------------------------------------------------------------------------- /componentsPanel_object/componentsPane1.md: -------------------------------------------------------------------------------- 1 | ## componentsPanel.reload() 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | *componentsPanel.reload()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | A Boolean value of *true* if the Component panel list is refreshed, *false* otherwise. 18 | 19 | #### Description 20 | 21 | Method; refreshes the Components panel’s list of components. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example refreshes the Components panel: 27 | fl.componentsPanel.reload(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Document_object/docum220.md: -------------------------------------------------------------------------------- 1 | ## document.publishProfiles 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.publishProfiles 10 | 11 | #### Description 12 | 13 | Read-only property; an array of the publish profile names for the document. 14 | 15 | #### Example 16 | 17 | 18 | The following example displays the names of the publish profiles for the document: 19 | 20 | ```javascript 21 | var myPubProfiles = fl.getDocumentDOM().publishProfiles; 22 | for (var i=0; i < myPubProfiles.length; i++){ 23 | fl.trace(myPubProfiles[i]); 24 | } 25 | 26 | ``` -------------------------------------------------------------------------------- /Document_object/docume90.md: -------------------------------------------------------------------------------- 1 | ## document.group() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.group() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; converts the current selection to a group. 22 | 23 | #### Example 24 | 25 | The following example converts the objects in the current selection to a group: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().group(); 29 | 30 | ``` 31 | #### See also 32 | 33 | [document.unGroup()](../Document_object/docu6104.md) 34 | -------------------------------------------------------------------------------- /Item_object/item13.md: -------------------------------------------------------------------------------- 1 | ## item.name 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | item.name 10 | 11 | #### Description 12 | 13 | Method; a string that specifies the name of the library item, which includes the folder structure. For example, if Symbol\_1 is inside a folder called Folder\_1, the name property of Symbol\_1 is "Folder\_1/Symbol\_1". 14 | 15 | #### Example 16 | 17 | The following example shows the name of the specified library item in the Output panel: 18 | 19 | ```javascript 20 | fl.trace(fl.getDocumentDOM().library.items[0].name); 21 | ``` -------------------------------------------------------------------------------- /Layer_object/layer.md: -------------------------------------------------------------------------------- 1 | ## layer.animationType 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | layer.animationType 10 | 11 | #### Description 12 | 13 | Read-only property; a string value indicating the animation type of the layer. Possible values include: "none", "motion object", "IK pose". 14 | 15 | #### Example 16 | 17 | The following example returns the layer type of the first layer of the root timeline: 18 | 19 | ```javascript 20 | var layer = fl.getDocumentDOM().getTimeline().layers[0]; 21 | fl.trace("animationType: " + layer.animationType); 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport16.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.format 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.format 10 | 11 | #### Description 12 | 13 | Read-only property; A string value indicating the format of the sprite sheet image file. Possible values include "RGBA8888", "RGB888x", and "RGB8". This property is provided for use by sprite sheet generator plugins. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | alert(exporter.format); 20 | // "RGBA8888" 21 | 22 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExporte5.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.app 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.app 10 | 11 | #### Description 12 | 13 | Read-only property; A string indicating the name of the application that is generating the sprite sheet. This property is provided for use by any future sprite sheet generator plugins that may be created for Flash Pro. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | var exporter = new SpriteSheetExporter; 19 | alert(exporter.app); 20 | // "Flash Pro CS6" 21 | 22 | ``` -------------------------------------------------------------------------------- /Timeline_object/timeli50.md: -------------------------------------------------------------------------------- 1 | ## timeline.stopPlayback() 2 | 3 | #### Availability 4 | 5 | Flash Professional CS5. 6 | 7 | #### Usage 8 | 9 | timeline.stopPlayback() 10 | 11 | #### Returns 12 | 13 | Nothing. 14 | 15 | #### Description 16 | 17 | Method; stops automatic playback of the timeline if it is currently playing. This method can be used with SWF panels to control timeline playback in the authoring environment. 18 | 19 | #### Example 20 | 21 | The following example stops playback of the timeline. 22 | ```javascript 23 | fl.getDocumentDOM().getTimeline().stopPlayback(); 24 | ``` -------------------------------------------------------------------------------- /Layer_object/layer5.md: -------------------------------------------------------------------------------- 1 | ## layer.layerType 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.layerType 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the current use of the layer; equivalent to the Type setting in the Layer Properties dialog box. Acceptable values are "normal", "guide", "guided", "mask", "masked", and "folder". 14 | 15 | #### Example 16 | 17 | The following example sets the first layer in the timeline to type folder: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].layerType = "folder"; 21 | ``` -------------------------------------------------------------------------------- /Layer_object/layer8.md: -------------------------------------------------------------------------------- 1 | ## layer.outline 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.outline 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies the status of outlines for all objects in the layer. If set to true, all objects in the layer appear only with outlines. If false, objects appear as they were created. 14 | 15 | #### Example 16 | 17 | The following example makes all objects on the first layer appear only with outlines: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].outline = true; 21 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan21.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.is3D 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | symbolInstance.is3D 10 | 11 | #### Description 12 | 13 | Read-only property; a boolean value that indicates whether the symbol instance contains a 3D matrix (transform). 14 | 15 | #### Example 16 | 17 | The following example returns the value of the is3D property for the currently selected symbol instance on the Stage: 18 | 19 | ```javascript 20 | fl.trace("the instance contains a 3D matrix: " + fl.getDocumentDOM().selection[0].is3D); 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text15.md: -------------------------------------------------------------------------------- 1 | ## text.maxCharacters 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.maxCharacters 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the maximum number of characters the user can enter in this Text object. 14 | 15 | This property works only with input text; if used with other text types, the property generates a warning. 16 | 17 | #### Example 18 | 19 | The following example sets the value of the maxCharacters property to 30: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].maxCharacters = 30; 22 | ``` -------------------------------------------------------------------------------- /Timeline_object/timeli49.md: -------------------------------------------------------------------------------- 1 | ## timeline.startPlayback() 2 | 3 | #### Availability 4 | 5 | Flash Professional CS5. 6 | 7 | #### Usage 8 | 9 | timeline.startPlayback() 10 | 11 | #### Returns 12 | 13 | Nothing. 14 | 15 | #### Description 16 | 17 | Method; starts automatic playback of the timeline if it is currently playing. This method can be used with SWF panels to control timeline playback in the authoring environment. 18 | 19 | #### Example 20 | 21 | The following example starts playback of the timeline. 22 | ```javascript 23 | fl.getDocumentDOM().getTimeline().startPlayback(); 24 | ``` -------------------------------------------------------------------------------- /drawingLayer_object/drawingLaye9.md: -------------------------------------------------------------------------------- 1 | ## drawingLayer.newPath() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *drawingLayer.newPath()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | A Path object. 18 | 19 | #### Description 20 | 21 | Method; returns a new Path object. You typically use this method only when creating extensible tools. See [Path object](../Path_object/path_summary.md). 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example returns a new Path object: 27 | fl.drawingLayer.newPath(); 28 | 29 | ``` -------------------------------------------------------------------------------- /fontItem_object/fontItem.md: -------------------------------------------------------------------------------- 1 | ## fontItem.bitmap 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | fontItem.bitmap 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the Font item is bitmapped (true) or not (false). 14 | 15 | #### Example 16 | 17 | Assuming that the first item in the Library is a Font item, the following code displays true in the Output panel if it is bitmapped, false if it is not: 18 | ```javascript 19 | var theItem = fl.getDocumentDOM().library.items[0]; 20 | fl.trace("bitmap: "+ theItem.bitmap); 21 | ``` -------------------------------------------------------------------------------- /CompiledClipInstance_object/compiledClipInstanc5.md: -------------------------------------------------------------------------------- 1 | ## compiledClipInstance.cacheAsBitmap 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | compiledClipInstance.cacheAsBitmap 10 | 11 | #### Description 12 | 13 | Property; a boolean that indicates whether to cache bitmaps. (Equivalent to Use runtime bitmap caching in the Property Inspector). The default is false. 14 | 15 | #### Example 16 | 17 | The following example illustrates use of this property: 18 | ```javascript 19 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].cacheAsBitmap = true; 20 | ``` -------------------------------------------------------------------------------- /Document_object/docu9721.md: -------------------------------------------------------------------------------- 1 | ## document.setStageViewAngle() 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | document.setStageViewAngle(angle) 10 | 11 | #### Parameters 12 | 13 | **angle** A floating point value between 0.0 and 179.0. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Specifies the perspective angle for viewing 3D objects. 22 | 23 | #### Example 24 | 25 | The following example sets the Stage perspective angle to 70 degrees: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().setStageViewAngle(70); 29 | 30 | ``` -------------------------------------------------------------------------------- /Frame_object/frame22.md: -------------------------------------------------------------------------------- 1 | ## frame.name 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.name* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the name of the frame. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the name of the first frame, top layer to "First Frame" and then stores the name value in the frameLabel variable: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].name = 'First Frame'; 21 | var frameLabel = fl.getDocumentDOM().getTimeline().layers[0].frames[0].name; 22 | 23 | ``` -------------------------------------------------------------------------------- /SymbolItem_object/symbolItem.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.convertToCompiledClip() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *symbolItem.convertToCompiledClip()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; converts a symbol item in the library to a compiled movie clip. 22 | 23 | #### Example 24 | 25 | The following example converts an item in the library to a compiled movie clip: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().library.items[3].convertToCompiledClip(); 29 | 30 | ``` -------------------------------------------------------------------------------- /Text_object/text3.md: -------------------------------------------------------------------------------- 1 | ## text.autoExpand 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.autoExpand 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. For static text fields, a value of true causes the bounding width to expand to show all text. For dynamic or input text fields, a value of true causes the bounding width and height to expand to show all text. 14 | 15 | #### Example 16 | 17 | The following example sets the autoExpand property to a value of true: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().selection[0].autoExpand = true; 21 | ``` -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter3.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.app 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.app 10 | 11 | #### Description 12 | 13 | Read-only property; A string indicating the name of the application that is generating the TextureAtlas. This property 14 | is provided for use by any future TextureAtlas generator plugins that may be created for Animate 2020. 15 | 16 | #### Example 17 | 18 | ``` javascript 19 | var exporter = new TextureAtlasExporter; 20 | alert(exporter.app); 21 | // "Adobe Animate" 22 | ```` -------------------------------------------------------------------------------- /Camera_object/Camera13.md: -------------------------------------------------------------------------------- 1 | ## resetPosition() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | camera.resetPosition(frameIndex) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | Nothing 18 | 19 | #### Description 20 | 21 | Reset camera position to the original position i.e (0,0,0). 22 | 23 | #### Example 24 | 25 | The following example resets camera position to the original position i.e (0,0,0): 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.resetPosition(0); 29 | 30 | ``` 31 | 32 | -------------------------------------------------------------------------------- /Document_object/docum83.md: -------------------------------------------------------------------------------- 1 | ## document.straightenSelection() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.straightenSelection() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; straightens the currently selected strokes. This method is equivalent to using the Straighten button in the Tools panel. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example straightens the curve of the current selection: 27 | fl.getDocumentDOM().straightenSelection(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Frame_object/frame35.md: -------------------------------------------------------------------------------- 1 | ## frame.soundSync 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.soundSync* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the sync behavior of a sound that is attached directly to a frame ([frame.soundLibraryItem](../Frame_object/frame31.md)). Acceptable values are *"event", "stop", "start", and "stream"*. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example specifies that a sound should stream: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundSync = 'stream'; 21 | 22 | ``` -------------------------------------------------------------------------------- /Path_object/path4.md: -------------------------------------------------------------------------------- 1 | ## path.close() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | path.close() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; appends a point at the location of the first point of the path and extends the path to that point, which closes the path. If the path has no points, no points are added. 22 | 23 | #### Example 24 | 25 | The following example creates a closed path: 26 | ```javascript 27 | var myPath = fl.drawingLayer.newPath(); 28 | myPath.close(); 29 | 30 | ``` -------------------------------------------------------------------------------- /SpriteSheetExporter_object/SpriteSheetExport13.md: -------------------------------------------------------------------------------- 1 | ## SpriteSheetExporter.canStackDuplicateFrames 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | SpriteSheetExporter.canStackDuplicateFrames 10 | 11 | #### Description 12 | 13 | Read-only property; A boolean value indicating whether the framework specified by the 14 | SpriteSheetExporter.layoutFormat property supports stacking duplicate symbol frames within the sprite sheet. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | var exporter = new SpriteSheetExporter; 20 | alert(exporter.canStackDuplicateFrames); 21 | 22 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl44.md: -------------------------------------------------------------------------------- 1 | ## fl.objectDrawingMode 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | fl.objectDrawingMode 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the object drawing mode is enabled (true) or the merge drawing mode is enabled (false). 14 | 15 | #### Example 16 | 17 | The following example toggles the state of the object drawing mode: 18 | ```javascript 19 | var toggleMode = fl.objectDrawingMode; 20 | if (toggleMode) { 21 | fl.objectDrawingMode = false; 22 | } else { 23 | fl.objectDrawingMode = true; 24 | } 25 | 26 | ``` -------------------------------------------------------------------------------- /CompiledClipInstance_object/compiledClipInstan24.md: -------------------------------------------------------------------------------- 1 | ## compiledClipInstance.visible 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | compiledClipInstance.visible 10 | 11 | #### Description 12 | 13 | Property; a boolean that sets visibility. Equivalent to the visible checkbox in the Display section of the Property Inspector for symbols. 14 | 15 | #### Example 16 | 17 | The following example illustrates use of this property: 18 | ```javascript 19 | // change visible to false on currently selected symbol instance 20 | fl.getDocumentDOM().selection[0].visible = false; 21 | 22 | ``` -------------------------------------------------------------------------------- /Document_object/docum21.md: -------------------------------------------------------------------------------- 1 | ## document.smoothSelection() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.smoothSelection() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; smooths the curve of each selected fill outline or curved line. This method performs the same action as the Smooth button in the Tools panel. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example smooths the curve of the current selection: 27 | fl.getDocumentDOM().smoothSelection(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Item_object/item14.md: -------------------------------------------------------------------------------- 1 | ## item.removeData() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | item.removeData(name) 10 | 11 | #### Parameters 12 | 13 | **name** Specifies the name of the data to remove from the library item. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Property; removes persistent data from the library item. 22 | 23 | #### Example 24 | 25 | The following example removes the data named myData from the first item in the library: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().library.items[0].removeData("myData"); 29 | ``` -------------------------------------------------------------------------------- /swfPanel_object/swfPane2.md: -------------------------------------------------------------------------------- 1 | ## swfPanel.dpiScaleFactorY 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | swfPanel.dpiScaleFactorY 10 | 11 | #### Description 12 | 13 | Read-only property: a string that contains the DPI scale factor (scaleY) for swfPanel. Depending on this scale-factor, SwfPanel can adjust its contents. 14 | 15 | #### Example 16 | 17 | The following code illustrates the use of this property: 18 | ```javascript 19 | fl.trace(fl.swfPanel[x].dpiScaleFactorY); 20 | 21 | ``` 22 | #### See also 23 | 24 | [swfPanel.dpiScaleFactorX](../swfPanel_object/swfPane1.md) 25 | -------------------------------------------------------------------------------- /Camera_object/Camera7.md: -------------------------------------------------------------------------------- 1 | ## setZoom() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.setZoom(frameIndex, zoomVal) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int zoomVal:int 14 | 15 | #### Return 16 | 17 | Nothing 18 | 19 | #### Description 20 | 21 | Zooms camera to absolute value given by input parameter in percentage. 22 | 23 | #### Example 24 | 25 | The following example zooms camera to absolute value given by input parameter in percentage. 26 | ```javascript 27 | var timeline = an.getDocumentDOM().getTimeline(); 28 | timeline.camera.setZoom(37,-100); 29 | ``` -------------------------------------------------------------------------------- /CompiledClipInstance_object/compiledClipInstan23.md: -------------------------------------------------------------------------------- 1 | ## compiledClipInstance.useBackgroundColor 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | compiledClipInstance.useBackgroundColor 10 | 11 | #### Description 12 | 13 | Property; a boolean that sets the background color: 14 | 15 | - true - Use 32-bit with alpha. 16 | 17 | - false - Use the background color. 18 | 19 | #### Example 20 | 21 | The following example illustrates use of this property: 22 | ```javascript 23 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].useBackgroundColor = true; 24 | 25 | ``` -------------------------------------------------------------------------------- /Document_object/docum330.md: -------------------------------------------------------------------------------- 1 | ## document.resetTransformation() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.resetTransformation() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; resets the transformation matrix. This method is equivalent to selecting Modify>Transform >Remove Transform. 22 | 23 | #### Example 24 | 25 | The following example resets the transformation matrix for the current selection: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().resetTransformation(); 29 | 30 | ``` -------------------------------------------------------------------------------- /Stroke_object/stroke16.md: -------------------------------------------------------------------------------- 1 | ## stroke.scaleType 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | stroke.scaleType 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the type of scale to be applied to the stroke. Acceptable values are "normal", "horizontal", "vertical", and "none". 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the scale type of the stroke to horizontal: 19 | ```javascript 20 | var myStroke = fl.getDocumentDOM().getCustomStroke(); 21 | myStroke.scaleType = "horizontal"; 22 | fl.getDocumentDOM().setCustomStroke(myStroke); 23 | 24 | ``` -------------------------------------------------------------------------------- /drawingLayer_object/drawingLaye5.md: -------------------------------------------------------------------------------- 1 | ## drawingLayer.endDraw() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *drawingLayer.endDraw()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; exits drawing mode. Drawing mode is used when you want to temporarily draw while the mouse button is pressed. You typically use this method only when creating extensible tools. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example exits drawing mode: 27 | fl.drawingLayer.endDraw(); 28 | 29 | ``` -------------------------------------------------------------------------------- /Tools_object/tools7.md: -------------------------------------------------------------------------------- 1 | ## tools.penLoc 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | tools.penLoc 10 | 11 | #### Description 12 | 13 | Read-only property; a point that represents the current location of the mouse pointer. The tools.penLoc property comprises two properties, *x* and *y*, corresponding to the *x,y* location of the mouse pointer. 14 | 15 | #### Example 16 | 17 | The following example determines the current location of the mouse: 18 | ```javascript 19 | var tempPt = fl.tools.penLoc; 20 | ``` 21 | #### See also 22 | 23 | [tools.penDownLoc](../Tools_object/tools6.md) 24 | -------------------------------------------------------------------------------- /XMLUI_object/xmlui.md: -------------------------------------------------------------------------------- 1 | ## xmlui.accept() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *xmlui.accept()* 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; closes the current XMLUI dialog box with an accept state, which is equivalent to the user clicking the OK button. 22 | 23 | #### See also 24 | 25 | [fl.xmlui](../flash_object_(fl)/fl81.md) , [document.xmlPanel()](../Document_object/docu6198.md), [xmlui.cancel()](../XMLUI_object/xmlui1.md) 26 | 27 | 28 | -------------------------------------------------------------------------------- /Frame_object/frame32.md: -------------------------------------------------------------------------------- 1 | ## frame.soundLoop 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.soundLoop* 10 | 11 | #### Description 12 | 13 | Property; an integer value that specifies the number of times a sound that is attached directly to a frame ([*frame.soundLibraryItem*](../Frame_object/frame31.md)) plays. If you want to specify a value for this property, set [*frame.soundLoopMode*](../Frame_object/frame33.md) to *"repeat"*. 14 | 15 | #### Example 16 | 17 | See [frame.soundLoopMode](../Frame_object/frame33.md). 18 | 19 | 20 | -------------------------------------------------------------------------------- /SymbolItem_object/symbolIte9.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.sourceFilePath 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *symbolItem.sourceFilePath* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the path for the source FLA file as a file:/// URI. The path must be an absolute path, not a relative path. This property is used for shared library symbols. 14 | 15 | #### Example 16 | 17 | The following example shows the value of the sourceFilePath property in the Output panel: 18 | 19 | ```javascript 20 | fl.trace(fl.getDocumentDOM().library.items[0].sourceFilePath); 21 | 22 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl17.md: -------------------------------------------------------------------------------- 1 | ## fl.createNewDocList 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.createNewDocList 10 | 11 | #### Description 12 | 13 | Read-only property; an array of strings that represent the various types of documents that can be created. 14 | 15 | #### Example 16 | 17 | The following example displays the types of documents that can be created, in the Output panel: 18 | ```javascript 19 | fl.trace("Number of choices " + fl.createNewDocList.length); 20 | for (i = 0; i < fl.createNewDocList.length; i++) 21 | fl.trace("choice: " + fl.createNewDocList[i]); 22 | 23 | ``` -------------------------------------------------------------------------------- /BitmapItem_object/bitmapItem.md: -------------------------------------------------------------------------------- 1 | ## bitmapItem.allowSmoothing 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *bitmapItem.allowSmoothing* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether to allow smoothing of a bitmap *(true)* or not *(false)*. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following code sets the allowSmoothing property of the first item in the library of the current document to true: 19 | 20 | fl.getDocumentDOM().library.items[0].allowSmoothing = true; 21 | alert(fl.getDocumentDOM().library.items[0].allowSmoothing); 22 | 23 | ``` -------------------------------------------------------------------------------- /Document_object/docu6135.md: -------------------------------------------------------------------------------- 1 | ## document.unlockAllElements() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.unlockAllElements() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; unlocks all locked elements on the currently selected frame. 22 | 23 | #### Example 24 | 25 | The following example unlocks all locked objects on the current frame: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().unlockAllElements(); 29 | 30 | ``` 31 | #### See also 32 | 33 | [element.locked](../Element_object/element9.md) 34 | -------------------------------------------------------------------------------- /Document_object/docum440.md: -------------------------------------------------------------------------------- 1 | ## document.selectNone() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.selectNone() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; deselects any selected items. 22 | 23 | #### Example 24 | 25 | The following example deselects any items that are selected: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().selectNone(); 29 | 30 | ``` 31 | #### See also 32 | 33 | [document.selectAll()](../Document_object/docum420.md), [document.selection](../Document_object/docum430.md) 34 | -------------------------------------------------------------------------------- /Document_object/docume71.md: -------------------------------------------------------------------------------- 1 | ## document.frameRate 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.frameRate 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the number of frames displayed per second when the SWF file plays; the default is 12. Setting this property is the same as setting the default frame rate in the Document Properties dialog box (Modify>Document) in the FLA file. 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the frame rate to 25.5 frames per second: 19 | ```javascript 20 | fl.getDocumentDOM().frameRate = 25.5; 21 | 22 | ``` -------------------------------------------------------------------------------- /Frame_object/frame34.md: -------------------------------------------------------------------------------- 1 | ## frame.soundName 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.soundName* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the name of a sound that is attached directly to a frame ([frame.soundLibraryItem](../Frame_object/frame31.md)), as stored in the library. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example changes the soundName property of the first frame to "song1.mp3"; song1.mp3 must exist in the library: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].soundName = "song1.mp3"; 21 | 22 | ``` -------------------------------------------------------------------------------- /ToolObj_object/toolObj3.md: -------------------------------------------------------------------------------- 1 | ## toolObj.position 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | toolObj.position 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that specifies the position of the tool in the Tools panel. This property is used only when you create extensible tools. 14 | 15 | #### Example 16 | 17 | The following commands in the mouseDown() method of a tool’s JavaScript file will show that tool’s position in the Tools panel as an integer in the Output panel: 18 | ```javascript 19 | myToolPos = fl.tools.activeTool.position; 20 | fl.trace(myToolPos); 21 | 22 | ``` -------------------------------------------------------------------------------- /Element_object/element9.md: -------------------------------------------------------------------------------- 1 | ## element.locked 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *element.locked* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value: true if the element is locked; false otherwise. If the value of [element.elementType](../Element_object/element1.md) is 14 | "shape", this property is ignored. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | The following example locks the first element in the first frame, top layer: 20 | // Similar to Modify > Arrange > Lock: 21 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].locked = true; 22 | 23 | ``` -------------------------------------------------------------------------------- /Shape_object/shape13.md: -------------------------------------------------------------------------------- 1 | ## shape.vertices 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | shape.vertices 10 | 11 | #### Description 12 | 13 | Read-only property; an array of Vertex objects (see [Vertex object](../Vertex_object/vertex_summary.md)). 14 | 15 | #### Example 16 | 17 | The following example stores the first selected object in the someShape variable, and then shows the number of vertices for that object in the Output panel: 18 | 19 | ```javascript 20 | var someShape = fl.getDocumentDOM().selection[0]; 21 | fl.trace("The shape has " + someShape.vertices.length + " vertices."); 22 | 23 | ``` -------------------------------------------------------------------------------- /Camera_object/Camera.md: -------------------------------------------------------------------------------- 1 | ## getZDepth() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019. 6 | 7 | #### Usage 8 | 9 | *camera.getZDepth(frameIndex)* 10 | 11 | #### Parameters 12 | 13 | frameIndex:int 14 | 15 | #### Return 16 | 17 | int 18 | 19 | 20 | #### Description 21 | 22 | Return current Z Depth value of camera. 23 | 24 | #### Example 25 | 26 | The following example : 27 | ```javascript 28 | var timeline = an.getDocumentDOM().getTimeline(); 29 | timeline.camera.cameraEnabled = true; 30 | var depth = timeline.camera.getZDepth(0); 31 | 32 | ``` 33 | #### See also 34 | 35 | [getRotation()](../Camera_object/Camera2.md) 36 | -------------------------------------------------------------------------------- /Document_object/docum100.md: -------------------------------------------------------------------------------- 1 | ## document.livePreview 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.livePreview 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether Live Preview is enabled. If set to true, components appear on the Stage as they will appear in the published Flash content, including their approximate size. If set to false, components appear only as outlines. The default value is true. 14 | 15 | #### Example 16 | 17 | 18 | The following example sets Live Preview to false: 19 | ```javascript 20 | fl.getDocumentDOM().livePreview = false; 21 | 22 | ``` -------------------------------------------------------------------------------- /Document_object/document.md: -------------------------------------------------------------------------------- 1 | ## document.accName 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.accName 10 | 11 | #### Description 12 | 13 | Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers identify objects by reading the name aloud. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the accessibility name of the document to "Main Movie": 19 | fl.getDocumentDOM().accName = "Main Movie"; 20 | 21 | The following example gets the accessibility name of the document: 22 | fl.trace(fl.getDocumentDOM().accName); 23 | 24 | ``` -------------------------------------------------------------------------------- /Frame_object/frame16.md: -------------------------------------------------------------------------------- 1 | ## frame.motionTweenOrientToPath 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.motionTweenOrientToPath* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the tweened element rotates the element as it moves along a path to maintain its angle with respect to each point on the path *(true)* or whether it does not rotate *(false)*. 14 | If you want to specify a value for this property, you should set [frame.motionTweenRotate](../Frame_object/frame17.md) to "none". 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Document_object/docum540.md: -------------------------------------------------------------------------------- 1 | ## document.setInstanceAlpha() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.setInstanceAlpha(opacity) 10 | 11 | #### Parameters 12 | 13 | **opacity** An integer between 0 (transparent) and 100 (completely saturated) that adjusts the transparency of the instance. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Methods; sets the opacity of the instance. 22 | 23 | #### Example 24 | 25 | The following example sets the opacity of the tint to a value of 50: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().setInstanceAlpha(50); 29 | 30 | ``` -------------------------------------------------------------------------------- /Document_object/docum550.md: -------------------------------------------------------------------------------- 1 | ## document.setInstanceBrightness() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.setInstanceBrightness(brightness) 10 | 11 | #### Parameters 12 | 13 | **brightness** An integer that specifies brightness as a value from -100 (black) to 100 (white). 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; sets the brightness for the instance. 22 | 23 | #### Example 24 | 25 | The following example sets the brightness for the instance to a value of 50: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().setInstanceBrightness(50); 29 | 30 | ``` -------------------------------------------------------------------------------- /Document_object/docume16.md: -------------------------------------------------------------------------------- 1 | ## document.as3AutoDeclare 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | document.as3AutoDeclare 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that describes whether the instances placed on the Stage are automatically added to user- defined timeline classes. The default value is true. 14 | 15 | #### Example 16 | 17 | 18 | The following example specifies that instances placed on the Stage in the current document must be manually added to user-defined timeline classes. 19 | ```javascript 20 | 21 | fl.getDocumentDOM().as3AutoDeclare=false; 22 | 23 | ``` -------------------------------------------------------------------------------- /Path_object/path7.md: -------------------------------------------------------------------------------- 1 | ## path.nPts 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | path.nPts 10 | 11 | #### Description 12 | 13 | Read-only property; an integer representing the number of points in the path. A new path has 0 points. 14 | 15 | #### Example 16 | 17 | The following example uses the Output panel to show the number of points in the path referenced by the myPath 18 | variable: 19 | ```javascript 20 | var myPath = fl.drawingLayer.newPath(); 21 | var numOfPoints = myPath.nPts; 22 | fl.trace("Number of points in the path: " + numOfPoints); 23 | // Displays: Number of points in the path: 0 24 | 25 | ``` -------------------------------------------------------------------------------- /Shape_object/shape7.md: -------------------------------------------------------------------------------- 1 | ## shape.isFloating 2 | 3 | #### Availability 4 | 5 | Flash CS6. 6 | 7 | #### Usage 8 | 9 | *shape.isFloating* 10 | 11 | #### Description 12 | 13 | Read-only property; if true, the shape is floating above the parent frame’s (or group’s) shape. Also, if true, this type of shape will have it's own matrix, similar to a drawing object. 14 | 15 | #### Example 16 | 17 | The following example displays whether a specified shape is floating: 18 | 19 | ```javascript 20 | var myShape = fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0]; 21 | fl.trace("is shape floating? " + myShape.isFloating); 22 | 23 | ``` -------------------------------------------------------------------------------- /SoundItem_object/soundIt13.md: -------------------------------------------------------------------------------- 1 | ## soundItem.useImportedMP3Quality 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *soundItem.useImportedMP3Quality* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. If true, all other properties are ignored, and the imported MP3 quality is used. 14 | 15 | #### Example 16 | 17 | The following example sets an item in the library to use the imported MP3 quality: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().library.items[0].useImportedMP3Quality = true; 21 | 22 | ``` 23 | #### See also 24 | 25 | [soundItem.compressionType](../SoundItem_object/soundIte2.md) 26 | -------------------------------------------------------------------------------- /TextAttrs_object/textAtt16.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.target 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.target* 10 | 11 | #### Description 12 | 13 | Property; a string that represents the target property of the text field. This property works only with static text. 14 | 15 | #### Example 16 | 17 | The following example gets the target property of the text field in the first frame of the top layer of the current scene and shows it in the Output panel: 18 | 19 | ```javascript 20 | fl.outputPanel.trace(fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].getTe xtAttr("target")); 21 | 22 | ``` -------------------------------------------------------------------------------- /fontItem_object/fontIte6.md: -------------------------------------------------------------------------------- 1 | ## fontItem.isDefineFont4Symbol 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | fontItem.isDefineFont4Symbol 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies the format of the font that is output when publishing a SWF file. If this value is true, Flash outputs a font that can be used with the flash.text.engine (FTE) APIs. If this value is false, the font can be used with the flash.text APIs, including text fields. The default value is false. 14 | 15 | #### Example 16 | 17 | See [fontItem.embedVariantGlyphs](../fontItem_object/fontIte4.md). 18 | -------------------------------------------------------------------------------- /swfPanel_object/swfPane4.md: -------------------------------------------------------------------------------- 1 | ## swfPanel.path 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | swfPanel.path 10 | 11 | #### Description 12 | 13 | Read-only property: a string that represents the path to the SWF file used in the specified Window SWF panel. 14 | 15 | #### Example 16 | 17 | The following code displays the path of the SWF file used in the first registered Window SWF panel in the Output panel: 18 | ```javascript 19 | fl.trace(fl.swfPanels[0].path); 20 | 21 | ``` 22 | #### See also 23 | 24 | [swfPanel.name](../swfPanel_object/swfPane3.md), [fl.swfPanels](../flash_object_(fl)/fl74.md) 25 | -------------------------------------------------------------------------------- /Document_object/docume51.md: -------------------------------------------------------------------------------- 1 | ## document.distributeToLayers() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.distributeToLayers() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; performs a distribute-to-layers operation on the current selection—equivalent to selecting Distribute to Layers. This method displays an error if there is no selection. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example distributes the current selection to layers: 27 | fl.getDocumentDOM().distributeToLayers(); 28 | 29 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan15.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.colorRedAmount 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | symbolInstance.colorRedAmount 10 | 11 | #### Description 12 | 13 | Property; an integer that is part of the color transformation for the instance. This property is equivalent to using the Color >Advanced setting in the instance Property inspector. Allowable values are from -255 to 255. 14 | 15 | #### Example 16 | 17 | The following example sets the colorRedAmount of the selected symbol instance to 255: 18 | ```javascript 19 | fl.getDocumentDOM().selection[0].colorRedAmount = 255; 20 | 21 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAtt14.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.rotation 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.rotation* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. A value of true causes Flash to rotate the characters of the text 90º. The default value is *false*. This property applies only to static text with a vertical orientation; it generates a warning if used with other text types. 14 | 15 | #### Example 16 | 17 | The following example sets the rotation of the selected text field to true: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().setElementTextAttr("rotation", true); 21 | 22 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl19.md: -------------------------------------------------------------------------------- 1 | ## fl.createNewTemplateList 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.createNewTemplateList 10 | 11 | #### Description 12 | 13 | Read-only property; an array of strings that represent the various types of templates that can be created. 14 | 15 | #### Example 16 | 17 | The following example displays the types of templates that can be created, in the Output panel: 18 | ```javascript 19 | fl.trace("Number of template types: " + fl.createNewTemplateList.length); for (i = 0; i < 20 | fl.createNewTemplateList.length; i++) fl.trace("type: " + fl.createNewTemplateList[i]); 21 | 22 | ``` -------------------------------------------------------------------------------- /Vertex_object/vertex2.md: -------------------------------------------------------------------------------- 1 | ## vertex.x 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *vertex.x* 10 | 11 | #### Description 12 | 13 | Read-only property; the *x* location of the vertex, in pixels. 14 | 15 | #### Example 16 | 17 | The following example displays the location of the *x* and *y* values of the vertex in the Output panel: 18 | 19 | ```javascript 20 | var shape = fl.getDocumentDOM().selection[0]; 21 | var hEdge = shape.edges[0].getHalfEdge(0); 22 | var vertex = hEdge.getVertex(); 23 | 24 | fl.trace('x location of vertex is: ' + vertex.x); 25 | fl.trace('y location of vertex is: ' + vertex.y); 26 | 27 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl12.md: -------------------------------------------------------------------------------- 1 | ## fl.configDirectory 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.configDirectory 10 | 11 | #### Description 12 | 13 | Read-only property; a string that specifies the full path for the local user’s Configuration directory in a platform- specific format. To specify this path as a file:/// URI, which is not platform-specific, use [fl.configURI](../flash_object_(fl)/fl13.md). 14 | 15 | #### Example 16 | 17 | The following example displays the Configuration directory in the Output panel: 18 | ```javascript 19 | fl.trace("My local configuration directory is " + fl.configDirectory); 20 | ``` -------------------------------------------------------------------------------- /library_object/librar18.md: -------------------------------------------------------------------------------- 1 | ## library.unusedItems 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | *library.unusedItems* 10 | 11 | #### Description 12 | 13 | Property; an array of Library Items that are not used in the document. This is the equivalent of the "Select Unused Items" menu item in the Library panel. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example illustrates the use of this property: 19 | var items = fl.getDocumentDOM().library.unusedItems; 20 | fl.trace("number of unused items found: " + items.length); 21 | for (var i in items) 22 | fl.trace("" + items[i].name); 23 | 24 | ``` -------------------------------------------------------------------------------- /presetItem_object/presetIte1.md: -------------------------------------------------------------------------------- 1 | ## presetItem.isFolder 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | presetItem.isFolder 10 | 11 | #### Description 12 | 13 | Read-only property: a Boolean value that specifies whether the item in the Motion Presets panel is a folder (true) or a preset (false). 14 | 15 | #### Example 16 | 17 | 18 | The following example shows that the first item in the Motion Presets panel is a folder and the second is a preset: 19 | ```javascript 20 | var presetItemArray=fl.presetPanel.items; 21 | fl.trace(presetItemArray[0].isFolder); 22 | fl.trace(presetItemArray[1].isFolder); 23 | 24 | ``` -------------------------------------------------------------------------------- /BitmapItem_object/bitmapIte5.md: -------------------------------------------------------------------------------- 1 | ## bitmapItem.hPixels 2 | 3 | #### Availability 4 | 5 | Flash CS6 Professional. 6 | 7 | #### Usage 8 | 9 | *bitmapItem.hPixels* 10 | 11 | #### Description 12 | 13 | Read-only property; an int that specifies the width of the bitmap, in pixels. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following code illustrates use of this property. 19 | // get the number of pixels in the horizontal dimension. 20 | var bmItemObj = fl.getDocumentDOM().library.items[0]; 21 | var numHorizontalPixels = bmItemObj.hPixels; 22 | 23 | ``` 24 | #### See also 25 | 26 | [bitmapItem.vPixels](../BitmapItem_object/bitmapIte14.md) 27 | -------------------------------------------------------------------------------- /Document_object/docume23.md: -------------------------------------------------------------------------------- 1 | ## document.backgroundColor 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.backgroundColor 10 | 11 | #### Description 12 | 13 | Property; the color of the background, in one of the following formats: 14 | 15 | - A string in the format "#RRGGBB" or "#RRGGBBAA" 16 | 17 | - A hexadecimal number in the format 0xRRGGBB 18 | 19 | - An integer that represents the decimal equivalent of a hexadecimal number 20 | 21 | #### Example 22 | 23 | The following example sets the background color to black: 24 | 25 | ```javascript 26 | fl.getDocumentDOM().backgroundColor = '#000000'; 27 | 28 | ``` -------------------------------------------------------------------------------- /Shape_object/shape1.md: -------------------------------------------------------------------------------- 1 | ## shape.contours 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *shape.contours* 10 | 11 | #### Description 12 | 13 | Read-only property; an array of Contour objects for the shape (see [Contour object](../Contour_object/contour_summary.md)). 14 | 15 | #### Example 16 | 17 | The following example stores the first contour in the contours array in the *c* variable and then stores the [HalfEdge object](../HalfEdge_object/halfEdge_summary.md) of that contour in the he variable: 18 | 19 | ```javascript 20 | var c = fl.getDocumentDOM().selection[0].contours[0]; 21 | var he = c.getHalfEdge(); 22 | 23 | ``` -------------------------------------------------------------------------------- /SymbolItem_object/symbolIte6.md: -------------------------------------------------------------------------------- 1 | ## symbolItem.scalingGrid 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | *symbolItem.scalingGrid* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether 9-slice scaling is enabled for the item. 14 | 15 | #### Example 16 | 17 | The following example enables 9-slice scaling for an item in the library: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().library.items[0].scalingGrid = true; 21 | 22 | ``` 23 | #### See also 24 | 25 | [symbolItem.scalingGridRect](../SymbolItem_object/symbolIte7.md) 26 | 27 | 28 | -------------------------------------------------------------------------------- /TextAttrs_object/textAttr2.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.autoKern 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.autoKern* 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that determines whether Flash uses *(true)* or ignores *(false)* pair kerning information in the font(s) when it kerns the text. 14 | 15 | #### Example 16 | 17 | The following example selects the characters from index 2 up to, but not including, index 6 and sets the *autoKern* property to true: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().setTextSelection(3, 6); 21 | fl.getDocumentDOM().setElementTextAttr('autoKern', true); 22 | 23 | ``` -------------------------------------------------------------------------------- /Text_object/text16.md: -------------------------------------------------------------------------------- 1 | ## text.orientation 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.orientation 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the orientation of the text field. Acceptable values are "horizontal", "vertical left to right", and "vertical right to left". 14 | 15 | This property works only with static text; it generates a warning if used with other text types. 16 | 17 | #### Example 18 | 19 | The following example sets the orientation property to vertical right to left: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].orientation = "vertical right to left"; 22 | ``` -------------------------------------------------------------------------------- /drawingLayer_object/drawingLaye4.md: -------------------------------------------------------------------------------- 1 | ## drawingLayer.drawPath() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *drawingLayer.drawPath(path)* 10 | 11 | #### Parameters 12 | 13 | **path** A [Path object](../Path_object/path_summary.md) to draw. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; draws the path specified by the *path* parameter. You typically use this method only when creating extensible tools. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example draws a path specified by the Path object named gamePath: fl.drawingLayer.drawPath(gamePath); 27 | 28 | ``` -------------------------------------------------------------------------------- /swfPanel_object/swfPane3.md: -------------------------------------------------------------------------------- 1 | ## swfPanel.name 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | swfPanel.name 10 | 11 | #### Description 12 | 13 | Read-only property: a string that represents the name of the specified Window SWF panel. 14 | 15 | #### Example 16 | 17 | The following code displays the name of the first registered Window SWF panel in the Output panel: 18 | ```javascript 19 | fl.trace(fl.swfPanels[0].name); 20 | 21 | ``` 22 | #### See also 23 | 24 | [swfPanel.path](../swfPanel_object/swfPane4.md), [fl.swfPanels](../flash_object_(fl)/fl74.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /BitmapItem_object/bitmapIte14.md: -------------------------------------------------------------------------------- 1 | ## bitmapItem.vPixels 2 | 3 | #### Availability 4 | 5 | Flash CS6 Professional. 6 | 7 | #### Usage 8 | 9 | *bitmapItem.vPixels* 10 | 11 | #### Description 12 | 13 | Read-only property; an int that specifies the height of the bitmap, in pixels. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following code illustrates use of this property. 19 | 20 | // get the number of pixels in the vertical dimension 21 | var bmitemObj = fl.getDocumentDOM().library.items[0]; 22 | var numHorizontalPixels = bmitemObj.vPixels; 23 | 24 | ``` 25 | #### See also 26 | 27 | [bitmapItem.hPixels](../BitmapItem_object/bitmapIte5.md) 28 | -------------------------------------------------------------------------------- /Text_object/text30.md: -------------------------------------------------------------------------------- 1 | ## text.variableName 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.variableName 10 | 11 | #### Description 12 | 13 | Property; a string that contains the name of the variable associated with the Text object. This property works only with dynamic or input text; it generates a warning if used with other text types. 14 | 15 | This property is supported only in ActionScript 1.0 and ActionScript 2.0. 16 | 17 | #### Example 18 | 19 | The following example sets the variable name of the selected text box to firstName: 20 | ```javascript 21 | fl.getDocumentDOM().selection[0].variableName = "firstName"; 22 | ``` -------------------------------------------------------------------------------- /CompiledClipInstance_object/compiledClipInstanc2.md: -------------------------------------------------------------------------------- 1 | ## compiledClipInstance.backgroundColor 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | compiledClipInstance.backgroundColor 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the matte color when Opaque is selected. This is a string in hexadecimal #rrggbb format or an integer containg the value. 14 | 15 | #### Example 16 | 17 | The following example illustrates getting the backgroundColor property: 18 | ```javascript 19 | var bitmapInstance = fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0]; 20 | bitmapInstance.backgroundColor = "#000000"; 21 | ``` -------------------------------------------------------------------------------- /Document_object/docu5979.md: -------------------------------------------------------------------------------- 1 | ## document.testScene() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.testScene() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; executes a Test Scene operation on the current scene of the document. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example tests the current scene in the document: 27 | fl.getDocumentDOM().testScene(); 28 | 29 | ``` 30 | #### See also 31 | 32 | [document.canTestScene()](../Document_object/docume28.md), [document.testMovie()](../Document_object/docu5948.md) 33 | -------------------------------------------------------------------------------- /Document_object/docume45.md: -------------------------------------------------------------------------------- 1 | ## document.description 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.description 10 | 11 | #### Description 12 | 13 | Property; a string that is equivalent to the Description field in the Accessibility panel. The description is read by the screen reader. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the description of the document: 19 | fl.getDocumentDOM().description= "This is the main movie"; 20 | 21 | The following example gets the description of the document and displays it in the Output panel: 22 | fl.trace(fl.getDocumentDOM().description); 23 | 24 | ``` -------------------------------------------------------------------------------- /Element_object/elemen12.md: -------------------------------------------------------------------------------- 1 | ## element.removePersistentData() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *element.removePersistentData(name)* 10 | 11 | #### Parameters 12 | 13 | **name** A string that specifies the name of the data to remove. 14 | 15 | #### Returns 16 | 17 | A Boolean value: true if data was removed; *false* otherwise. 18 | 19 | #### Description 20 | 21 | Method; removes any persistent data with the specified name that has been attached to the object. Only symbols and bitmaps support persistent data. 22 | 23 | #### Example 24 | 25 | 26 | See [element.getPersistentData()](../Element_object/element2.md). 27 | -------------------------------------------------------------------------------- /Fill_object/fill7.md: -------------------------------------------------------------------------------- 1 | ## fill.overflow 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | fill.overflow 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the behavior of a gradient’s overflow. Acceptable values are "extend", "repeat", and 14 | "reflect"; the strings are not case-sensitive. The default value is "extend". 15 | 16 | #### Example 17 | 18 | The following example specifies that the behavior of the overflow for the current selection should be "extend": 19 | 20 | ```javascript 21 | var fill = fl.getDocumentDOM().getCustomFill(); 22 | fill.overflow = "extend"; 23 | fl.getDocumentDOM().setCustomFill(fill); 24 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl37.md: -------------------------------------------------------------------------------- 1 | ## fl.isFontInstalled() 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | fl.isFontInstalled(fontName) 10 | 11 | #### Parameters 12 | 13 | **fontName** A string that specifies the name of a device font. 14 | 15 | #### Returns 16 | 17 | A Boolean value of true if the specified font is installed; false otherwise. 18 | 19 | #### Description 20 | 21 | Method; determines whether a specified font is installed. 22 | 23 | #### Example 24 | 25 | The following code displays "true" in the Output panel if the Times font is installed. 26 | ```javascript 27 | fl.trace(fl.isFontInstalled("Times")); 28 | 29 | ``` -------------------------------------------------------------------------------- /fontItem_object/fontIte8.md: -------------------------------------------------------------------------------- 1 | ## fontItem.size 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | fontItem.size 10 | 11 | #### Description 12 | 13 | Property; an integer that represents the size of the Font item, in points. 14 | 15 | #### Example 16 | 17 | Assuming that the first item in the Library is a Font item, the following code displays the item’s point size in the Output panel and then sets it to 24. 18 | 19 | ```javascript 20 | var theItem = fl.getDocumentDOM().library.items[0]; 21 | fl.outputPanel.clear(); 22 | fl.trace("font size: "+ theItem.size); 23 | theItem.size=24; 24 | fl.trace("font size: "+ theItem.size); 25 | ``` -------------------------------------------------------------------------------- /Element_object/elemen13.md: -------------------------------------------------------------------------------- 1 | ## element.rotation 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | *element.rotation* 10 | 11 | #### Description 12 | 13 | Property; an integer or float value between -180 and 180 that specifies the object’s clockwise rotation, in degrees. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the currently selected element’s rotation to 45 degrees: 19 | var element = fl.getDocumentDOM().selection[0]; 20 | fl.trace("Element rotation = " + element.rotation); 21 | element.rotation = 45; 22 | fl.trace("After setting rotation to 45: rotation = " + element.rotation); 23 | 24 | ``` -------------------------------------------------------------------------------- /Element_object/elemen15.md: -------------------------------------------------------------------------------- 1 | ## element.scaleY 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | *element.scaleY* 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the *y* scale value of symbols, drawing objects, and primitive rectangles and ovals. A value of 1 indicates 100 percent scale. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the y scale value of the current selection to 2 (doubles its value): 19 | var element = fl.getDocumentDOM().selection[0]; 20 | element.scaleY = 2; 21 | 22 | ``` 23 | #### See also 24 | 25 | [element.scaleX](../Element_object/elemen14.md) 26 | -------------------------------------------------------------------------------- /Element_object/element5.md: -------------------------------------------------------------------------------- 1 | ## element.hasPersistentData() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *element.hasPersistentData(name)* 10 | 11 | #### Parameters 12 | 13 | **name** A string that specifies the name of the data item to test. 14 | 15 | #### Returns 16 | 17 | A Boolean value: *true* if the specified data is attached to the object; *false* otherwise. 18 | 19 | #### Description 20 | 21 | Method; determines whether the specified data has been attached to the specified element. Only symbols and bitmaps support persistent data. 22 | 23 | #### Example 24 | 25 | See [element.getPersistentData()](../Element_object/element2.md). -------------------------------------------------------------------------------- /Filter_object/filter7.md: -------------------------------------------------------------------------------- 1 | ## filter.enabled 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | filter.enabled 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies whether the specified filter is enabled (true) or disabled (false). 14 | 15 | #### Example 16 | 17 | The following example disables the Color filters on the selected object(s): 18 | ```javascript 19 | var myFilters = fl.getDocumentDOM().getFilters(); 20 | for(i=0; i < myFilters.length; i++){ 21 | if(myFilters[i].name == 'adjustColorFilter'){ 22 | myFilters[i].enabled = false; 23 | } 24 | } 25 | fl.getDocumentDOM().setFilters(myFilters); 26 | 27 | ``` -------------------------------------------------------------------------------- /Stroke_object/stroke.md: -------------------------------------------------------------------------------- 1 | ## stroke.breakAtCorners 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. Deprecated in Flash CS3 in favor of [stroke.joinType](../Stroke_object/stroke11.md). 6 | 7 | #### Usage 8 | 9 | stroke.breakAtCorners 10 | 11 | #### Description 12 | 13 | Property; a Boolean value. This property is the same as the Sharp Corners setting in the custom Stroke Style dialog box. 14 | 15 | #### Example 16 | 17 | 18 | The following example sets the breakAtCorners property to true: 19 | ```javascript 20 | var myStroke = fl.getDocumentDOM().getCustomStroke(); 21 | myStroke.breakAtCorners = true; 22 | fl.getDocumentDOM().setCustomStroke(myStroke); 23 | 24 | ``` -------------------------------------------------------------------------------- /TextAttrs_object/textAttr8.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.indent 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.indent* 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies paragraph indentation. Acceptable values are -720 through 720. 14 | 15 | #### Example 16 | 17 | The following example sets the indentation of the selected text field from the character at index 2 up to, but not including, the character at index 8 to 100. This can affect characters outside the specified range if they are in the same paragraph. 18 | 19 | ```javascript 20 | fl.getDocumentDOM().selection[0].setTextAttr("indent", 100, 2, 8); 21 | 22 | ``` -------------------------------------------------------------------------------- /Text_object/text14.md: -------------------------------------------------------------------------------- 1 | ## text.lineType 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | text.lineType 10 | 11 | #### Description 12 | 13 | Property; a string that sets the line type. Acceptable values are "single line", "multiline", "multiline no wrap", and "password". 14 | 15 | This property works only with dynamic or input text and generates a warning if used with static text. The "password" 16 | value works only for input text. 17 | 18 | #### Example 19 | 20 | The following example sets the lineType property to the value multiline no wrap: 21 | ```javascript 22 | fl.getDocumentDOM().selection[0].lineType = "multiline no wrap"; 23 | ``` -------------------------------------------------------------------------------- /Timeline_object/timeli33.md: -------------------------------------------------------------------------------- 1 | ## timeline.name 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | timeline.name 10 | 11 | #### Description 12 | 13 | Property; a string that specifies the name of the current timeline. This name is the name of the current scene, screen (slide or form), or symbol that is being edited. 14 | 15 | #### Example 16 | 17 | 18 | The following example retrieves the first scene name: 19 | ```javascript 20 | var sceneName = fl.getDocumentDOM().timelines[0].name; 21 | ``` 22 | The following example sets the first scene name to FirstScene: 23 | ```javascript 24 | fl.getDocumentDOM().timelines[0].name = "FirstScene"; 25 | ``` -------------------------------------------------------------------------------- /flash_object_(fl)/fl42.md: -------------------------------------------------------------------------------- 1 | ## fl.mruRecentFileList 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | fl.mruRecentFileList 10 | 11 | #### Description 12 | 13 | Read-only property; an array of the complete filenames in the Most Recently Used (MRU) list that the Flash authoring tool manages. 14 | 15 | #### Example 16 | 17 | The following example displays the number of recently opened files and the name of each file, in the Output panel: 18 | ```javascript 19 | fl.trace("Number of recently opened files: " + fl.mruRecentFileList.length); 20 | for (i = 0; i < fl.mruRecentFileList.length; i++) fl.trace("file: " + fl.mruRecentFileList[i]); 21 | ``` -------------------------------------------------------------------------------- /BitmapItem_object/bitmapIte8.md: -------------------------------------------------------------------------------- 1 | ## bitmapItem.quality 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *bitmapItem.quality* 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the quality of the bitmap. To use the default document quality, specify -1; otherwise, specify an integer from 0 to 100. Available only for JPEG compression. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following code sets the quality property of the first item in the library of the current document to 65: 19 | 20 | fl.getDocumentDOM().library.items[0].quality = 65; 21 | alert(fl.getDocumentDOM().library.items[0].quality); 22 | 23 | ``` -------------------------------------------------------------------------------- /Element_object/elemen25.md: -------------------------------------------------------------------------------- 1 | ## element.width 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *element.width* 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the width of the element in pixels. 14 | Do not use this property to resize a text field. Instead, select the text field and use [document.setTextRectangle()](../Document_object/docu9846.md). Using this property with a text field scales the text. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | The following example sets the width of the specified element to 100: 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].width= 100; 21 | 22 | ``` -------------------------------------------------------------------------------- /HalfEdge_object/halfEdg2.md: -------------------------------------------------------------------------------- 1 | ## halfEdge.getOppositeHalfEdge() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | halfEdge.getOppositeHalfEdge() 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | A HalfEdge object. 18 | 19 | #### Description 20 | 21 | Method; gets the HalfEdge object on the other side of the edge. 22 | 23 | #### Example 24 | 25 | The following example stores the half edge opposite hEdge in the otherHalfEdge variable: 26 | 27 | ```javascript 28 | var shape = fl.getDocumentDOM().selection[0]; 29 | var hEdge = shape.edges[0].getHalfEdge(0); 30 | var otherHalfEdge = hEdge.getOppositeHalfEdge(); 31 | 32 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan29.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.useBackgroundColor 2 | 3 | #### Availability 4 | 5 | Flash CS5.5 Professional. 6 | 7 | #### Usage 8 | 9 | symbolInstance.useBackgroundColor 10 | 11 | #### Description 12 | 13 | Property; a boolean value that indicates whether to use 24 bit mode (true) or 32 bit mode with alpha (false) for the instance. If true, the backgroundColor specified for the instance is used. 14 | 15 | #### Example 16 | 17 | The following example sets the useBackgroundColor property of an instance to true: 18 | 19 | ```javascript 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].useBackgroundColor = true 21 | 22 | ``` -------------------------------------------------------------------------------- /TextRun_object/textRun.md: -------------------------------------------------------------------------------- 1 | ## textRun.textAttrs 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textRun.textAttrs* 10 | 11 | #### Description 12 | 13 | Property; the [TextAttrs object](../TextAttrs_object/textAttrs_summary.md) containing the attributes of the run of text. 14 | 15 | #### Example 16 | 17 | The following example displays the properties of the first run of characters in the selected text field in the Output panel. 18 | 19 | ```javascript 20 | var curTextAttrs = fl.getDocumentDOM().selection[0].textRuns[0].textAttrs; 21 | for (var prop in curTextAttrs) { 22 | fl.trace(prop + " = " + curTextAttrs[prop]); 23 | } 24 | 25 | ``` -------------------------------------------------------------------------------- /presetItem_object/presetIte2.md: -------------------------------------------------------------------------------- 1 | ## presetItem.level 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | presetItem.level 10 | 11 | #### Description 12 | 13 | Read-only property: an integer that specifies the level of the item in the folder structure of the Motion Presets panel. The Default Folder and Custom Presets folder are level 0. 14 | 15 | #### Example 16 | 17 | The following example shows that the first item in the Motion Presets panel is level 0 and the second is level 1: 18 | ```javascript 19 | var presetItemArray=fl.presetPanel.items; 20 | fl.trace(presetItemArray[0].level); 21 | fl.trace(presetItemArray[1].level); 22 | 23 | ``` -------------------------------------------------------------------------------- /swfPanel_object/swfPane1.md: -------------------------------------------------------------------------------- 1 | ## swfPanel.dpiScaleFactorX 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | swfPanel.dpiScaleFactorX 10 | 11 | #### Description 12 | 13 | Read-only property: a string that contains the DPI scale factor (scaleX) for swfPanel. Depending on this scale-factor, SwfPanel can adjust its contents. 14 | 15 | #### Example 16 | 17 | The following code illustrates the use of this property: 18 | ```javascript 19 | fl.trace(fl.swfPanel[x].dpiScaleFactorX); 20 | 21 | ``` 22 | #### See also 23 | 24 | [swfPanel.dpiScaleFactorY](../swfPanel_object/swfPane2.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /Camera_object/Camera8.md: -------------------------------------------------------------------------------- 1 | ## setRotation() 2 | 3 | #### Availability 4 | 5 | Adobe Animate 2019 6 | 7 | #### Usage 8 | 9 | camera.setRotation(frameIndex, angleDegree) 10 | 11 | #### Parameters 12 | 13 | frameIndex:int - frame Number in timeline 14 | 15 | AngleDegree:int - the angleDegree for rotation. 16 | 17 | #### Return 18 | 19 | nothing 20 | 21 | #### Description 22 | 23 | Rotate camera by absolute angle given as input parameters. 24 | 25 | #### Example 26 | 27 | The following example rotates camera by absolute angle given as input parameters. 28 | ```javascript 29 | var timeline = an.getDocumentDOM().getTimeline(); 30 | timeline.camera.setRotation(37,-100); 31 | ``` -------------------------------------------------------------------------------- /Element_object/element6.md: -------------------------------------------------------------------------------- 1 | ## element.height 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *element.height* 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the height of the element in pixels. 14 | Do not use this property to resize a text field. Instead, select the text field and use [document.setTextRectangle()](../Document_object/docu9846.md). Using this property with a text field scales the text. 15 | 16 | #### Example 17 | 18 | ```javascript 19 | The following example sets the height of the specified element to 100: 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].height = 100; 21 | 22 | ``` -------------------------------------------------------------------------------- /VideoItem_object/videoIte2.md: -------------------------------------------------------------------------------- 1 | ## videoItem.lastModifiedDate 2 | 3 | #### Availability 4 | 5 | Flash Pro CS6. 6 | 7 | #### Usage 8 | 9 | *videoItem.lastModifiedDate* 10 | 11 | #### Description 12 | 13 | Read-only property; a hexadecimal value indicating the modification date and time of the video item. This value is incremented every time the video item is imported. 14 | 15 | #### Example 16 | 17 | Assuming the first item in the Library is a video item, the following code displays a hex number as described above. 18 | 19 | ```javascript 20 | var libItem = fl.getDocumentDOM().library.items[0]; 21 | fl.trace("Mod date when imported = " + libItem.lastModifiedDate); 22 | 23 | ``` -------------------------------------------------------------------------------- /Document_object/docu9705.md: -------------------------------------------------------------------------------- 1 | ## document.setStageVanishingPoint() 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | document.setStageVanishingPoint(point) 10 | 11 | #### Parameters 12 | 13 | **point** A point that specifies the *x* and *y* coordinates of the location at which to set the vanishing point for viewing 3D objects. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Specifies the vanishing point for viewing 3D objects. 22 | 23 | #### Example 24 | 25 | The following example sets the Stage vanishing point: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().setStageVanishingPoint({x:45, y:45}); 29 | 30 | ``` -------------------------------------------------------------------------------- /Edge_object/edge.md: -------------------------------------------------------------------------------- 1 | ## edge.cubicSegmentIndex 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | edge.cubicSegmentIndex 10 | 11 | #### Description 12 | 13 | Read-only property; an integer that specifies the index value of a cubic segment of the edge (see [shape.getCubicSegmentPoints()](../Shape_object/shape5.md)). 14 | 15 | #### Example 16 | 17 | The following code displays the index values of all the cubic segments of the specified edge: 18 | ```javascript 19 | var theShape = fl.getDocumentDOM().selection[0]; var edgesArray = theShape.edges; 20 | for(var i=0;iRevert. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example reverts the current document to the previously saved version: 27 | fl.getDocumentDOM().revert(); 28 | 29 | ``` 30 | #### See also 31 | 32 | [document.canRevert()](../Document_object/docume26.md), [fl.revertDocument()](../flash_object_(fl)/fl61.md). 33 | -------------------------------------------------------------------------------- /Document_object/docume98.md: -------------------------------------------------------------------------------- 1 | ## document.library 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.library 10 | 11 | #### Description 12 | 13 | Read-only property; the [library object](../library_object/library_summary.md) for a document. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example gets the library for the currently focused document: 19 | var myCurrentLib = fl.getDocumentDOM().library; 20 | 21 | Assuming the currently focused document is not fl.documents[1], the following example gets the library for a nonfocused library or for a library you opened using File >Open as external library: 22 | 23 | var externalLib = fl.documents[1].library; 24 | 25 | ``` -------------------------------------------------------------------------------- /Element_object/elemen26.md: -------------------------------------------------------------------------------- 1 | ## element.x 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | *element.x* 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the *x* value of the selected element’s registration point. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example sets the value of the specified element’s registration point to 100, 200: 19 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].x= 100; 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].y= 200; 21 | 22 | ``` 23 | #### See also 24 | 25 | [element.y](../Element_object/elemen27.md) 26 | 27 | 28 | -------------------------------------------------------------------------------- /Frame_object/frame18.md: -------------------------------------------------------------------------------- 1 | ## frame.motionTweenRotateTimes 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *frame.motionTweenRotateTimes* 10 | 11 | #### Description 12 | 13 | Property; an integer that specifies the number of times the tweened element rotates between the starting keyframe and the next keyframe. 14 | 15 | #### Example 16 | 17 | ```javascript 18 | The following example rotates the element in this frame counter-clockwise three times by the time it reaches the next keyframe: 19 | 20 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotate = "counter- clockwise"; 21 | fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotateTimes = 3; 22 | 23 | ``` -------------------------------------------------------------------------------- /Math_object/Math2.md: -------------------------------------------------------------------------------- 1 | ## Math.pointDistance() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | Math.pointDistance(pt1, pt2) 10 | 11 | #### Parameters 12 | 13 | **pt1, pt2** Specify the points between which distance is measured. 14 | 15 | #### Returns 16 | 17 | A floating-point value that represents the distance between the points. 18 | 19 | #### Description 20 | 21 | Method; computes the distance between two points. 22 | 23 | #### Example 24 | 25 | 26 | The following example stores the value for the distance between *pt1* and *pt2* in the dist variable: 27 | ```javascript 28 | var pt1 = {x:10, y:20} var pt2 = {x:100, y:200} 29 | var dist = fl.Math.pointDistance(pt1, pt2); 30 | 31 | ``` -------------------------------------------------------------------------------- /SymbolInstance_object/symbolInstan27.md: -------------------------------------------------------------------------------- 1 | ## symbolInstance.tintColor 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | symbolInstance.tintColor 10 | 11 | #### Description 12 | 13 | Read-only property; when the Color Effect Property Inspector is using style tint(colorMode == 'tint'), return the color applied to the tint. Otherwise using this property results in an error. 14 | 15 | #### Example 16 | 17 | The following illustrates use of the tintColor property: 18 | 19 | ```javascript 20 | var elem = fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0]; 21 | if (elem.colorMode = 'tint') { 22 | fl.trace(elem.tintColor); 23 | fl.trace(elem.tintPercent); 24 | } 25 | 26 | ``` -------------------------------------------------------------------------------- /Text_object/text2.md: -------------------------------------------------------------------------------- 1 | ## text.antiAliasThickness 2 | 3 | #### Availability 4 | 5 | Flash 8. 6 | 7 | #### Usage 8 | 9 | text.antiAliasThickness 10 | 11 | #### Description 12 | 13 | Property; a float value that specifies the anti-aliasing thickness of the text. This property controls how thickly the text is drawn, with higher values specifying thicker text. A value of 0 specifies normal thickness. This property is available only if text.fontRenderingMode is set to customThicknessSharpness. 14 | 15 | #### Example 16 | 17 | See [text.fontRenderingMode](../Text_object/text10.md). 18 | 19 | #### See also 20 | 21 | [text.antiAliasSharpness](../Text_object/text1.md), [text.fontRenderingMode](../Text_object/text10.md) 22 | -------------------------------------------------------------------------------- /TextureAtlasExporter_object/TextureAtlasExporter.md: -------------------------------------------------------------------------------- 1 | ## TextureAtlasExporter.exportTextureAtlas() 2 | 3 | #### Availability 4 | 5 | Animate 2020. 6 | 7 | #### Usage 8 | 9 | TextureAtlasExporter.exportTextureAtlas(symbol, path) 10 | 11 | #### Parameters 12 | 13 | **_symbol_**: Object; The SymbolItem or SymbolInstance on which texture atlas should be generated. 14 | 15 | #### Returns 16 | 17 | Boolean. 18 | 19 | #### Description 20 | 21 | Method; Exports the texture atlas for the selected symbol. 22 | 23 | #### Example 24 | 25 | ``` javascript 26 | symbolsArr=fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements; 27 | 28 | TextureAtlasExporter.exportTextureAtlas(symbolsArr[0].libraryItem) 29 | ```` 30 | -------------------------------------------------------------------------------- /Document_object/docu6042.md: -------------------------------------------------------------------------------- 1 | ## document.translate3DCenter() 2 | 3 | #### Availability 4 | 5 | Flash CS4 Professional. 6 | 7 | #### Usage 8 | 9 | document.translate3DCenter(xyzCoordinate) 10 | 11 | #### Parameters 12 | 13 | **xyzCoordinate** An XYZ coordinate that specifies the center point for 3D rotation or translation. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method: sets the XYZ position around which the selection is translated or rotated. This method is available only for movie clips. 22 | 23 | #### Example 24 | 25 | ```javascript 26 | The following example specifies the XYZ axes for 3D translation: 27 | fl.getDocumentDOM().translate3DCenter({x:180, y:18,z:-30}); 28 | 29 | ``` -------------------------------------------------------------------------------- /Document_object/docume57.md: -------------------------------------------------------------------------------- 1 | ## document.editScene() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | document.editScene(index) 10 | 11 | #### Parameters 12 | 13 | **index** A zero-based integer that specifies which scene to edit. 14 | 15 | #### Returns 16 | 17 | Nothing. 18 | 19 | #### Description 20 | 21 | Method; makes the specified scene the currently selected scene for editing. 22 | 23 | #### Example 24 | 25 | Assuming that there are three scenes (Scene0, Scene1, and Scene2) in the current document, the following example makes Scene2 the current scene and then deletes it: 26 | 27 | ```javascript 28 | fl.getDocumentDOM().editScene(2); 29 | fl.getDocumentDOM().deleteScene(); 30 | 31 | ``` -------------------------------------------------------------------------------- /Document_object/docume86.md: -------------------------------------------------------------------------------- 1 | ## document.getTelemetryForSwf() 2 | 3 | #### Availability 4 | 5 | Adobe Animate. 6 | 7 | #### Usage 8 | 9 | document.getTelemetryForSwf( ) 10 | 11 | #### Parameters 12 | 13 | None. 14 | 15 | #### Returns 16 | 17 | Returns boolean. Returns true if the "Enable detailed telemetry" checkbox is selected; otherwise false. 18 | 19 | #### Description 20 | 21 | Method; Indicates whether if the "Enable detailed telemetry" checkbox is selected in the Publish Settings dialog. 22 | 23 | #### Example 24 | 25 | 26 | The following example calls getTelemetryFromSwf(): 27 | ```javascript 28 | fl.trace("is detailed telemetry enabled for this doc: " + fl.getDocumentDOM().getTelemetryForSwf()); 29 | 30 | ``` -------------------------------------------------------------------------------- /Layer_object/layer6.md: -------------------------------------------------------------------------------- 1 | ## layer.locked 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | layer.locked 10 | 11 | #### Description 12 | 13 | Property; a Boolean value that specifies the locked status of the layer. If set to true, the layer is locked. The default value is false. 14 | 15 | #### Example 16 | 17 | The following example stores the Boolean value for the status of the first layer in the lockStatus variable: 18 | 19 | ```javascript 20 | var lockStatus = fl.getDocumentDOM().getTimeline().layers[0].locked; 21 | ``` 22 | 23 | The following example sets the status of the first layer to unlocked: 24 | 25 | ```javascript 26 | fl.getDocumentDOM().getTimeline().layers[0].locked = false; 27 | ``` -------------------------------------------------------------------------------- /Shape_object/shape9.md: -------------------------------------------------------------------------------- 1 | ## shape.isOvalObject 2 | 3 | #### Availability 4 | 5 | Flash CS3 Professional. 6 | 7 | #### Usage 8 | 9 | *shape.isOvalObject* 10 | 11 | #### Description 12 | 13 | Read-only property; if true, the shape is a primitive Oval object (was created using the Oval Primitive tool). 14 | 15 | #### Example 16 | 17 | The following example displays "true" if the first selected item is a primitive Oval object, and "false" if it is not: 18 | 19 | ```javascript 20 | var sel = fl.getDocumentDOM().selection[0]; 21 | fl.trace(sel.isOvalObject); 22 | 23 | ``` 24 | #### See also 25 | 26 | [shape.isRectangleObject](../Shape_object/shape10.md) 27 | 28 | 29 | -------------------------------------------------------------------------------- /TextAttrs_object/textAttr1.md: -------------------------------------------------------------------------------- 1 | ## textAttrs.alignment 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | *textAttrs.alignment* 10 | 11 | #### Description 12 | 13 | Property; a string that specifies paragraph justification. Acceptable values are *"left", "center", "right",* and 14 | *"justify"*. 15 | 16 | #### Example 17 | 18 | The following example sets the paragraphs that contain characters between index 0 up to, but not including, index 3 to justify. This can affect characters outside the specified range if they are in the same paragraph. 19 | 20 | ```javascript 21 | fl.getDocumentDOM().setTextSelection(0, 3); 22 | fl.getDocumentDOM().setElementTextAttr("alignment", "justify"); 23 | 24 | ``` -------------------------------------------------------------------------------- /ToolObj_object/toolObj2.md: -------------------------------------------------------------------------------- 1 | ## toolObj.iconID 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | toolObj.iconID 10 | 11 | #### Description 12 | 13 | Read-only property; an integer with a value of -1. This property is used only when you create extensible tools. An iconID value of -1 means that Flash will not try find an icon for the tool. Instead, the script for the tool should specify the icon to display in the Tools panel; see [toolObj.setIcon()](../ToolObj_object/toolObj4.md). 14 | 15 | #### Example 16 | 17 | The following example assigns a value of -1 (the icon ID of the current tool) to the toolIconID variable: 18 | ```javascript 19 | var toolIconID = fl.tools.activeTool.iconID 20 | 21 | ``` -------------------------------------------------------------------------------- /Top-Level_Functions_and_Methods/keyUp.md: -------------------------------------------------------------------------------- 1 | ## keyUp() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | 9 | function keyUp() { 10 | // statements 11 | } 12 | 13 | #### Parameters 14 | 15 | None. 16 | 17 | #### Returns 18 | 19 | Nothing. 20 | 21 | #### Description 22 | 23 | Function; called when the extensible tool is active and a key is released. 24 | 25 | #### Example 26 | 27 | The following example displays a message in the Output panel when the extensible tool is active and a key is released. 28 | 29 | ```javascript 30 | function keyUp() { 31 | fl.trace("Key is released"); 32 | } 33 | 34 | ``` 35 | #### See also 36 | 37 | [keyDown()](../Top-Level_Functions_and_Methods/keyDown.md) 38 | -------------------------------------------------------------------------------- /Top-Level_Functions_and_Methods/mouseDoubleClick.md: -------------------------------------------------------------------------------- 1 | ## mouseDoubleClick() 2 | 3 | #### Availability 4 | 5 | Flash MX 2004. 6 | 7 | #### Usage 8 | function mouseDoubleClick() { 9 | // statements 10 | } 11 | 12 | #### Parameters 13 | 14 | None. 15 | 16 | #### Returns 17 | 18 | Nothing. 19 | 20 | #### Description 21 | 22 | Function; called when the extensible tool is active and the mouse button is double-clicked on the Stage. 23 | 24 | #### Example 25 | 26 | The following example displays a message in the Output panel when the extensible tool is active and the mouse button is double-clicked. 27 | 28 | ```javascript 29 | function mouseDoubleClick() { 30 | fl.trace("Mouse was double-clicked"); 31 | } 32 | 33 | ``` --------------------------------------------------------------------------------