beautypg.com

New methods and properties – Adobe Extending Flash Professional CS5 User Manual

Page 27

background image

5

EXTENDING FLASH PROFESSIONAL

Introduction

Last updated 5/2/2011

New methods and properties

The following methods and properties for existing objects are new in Flash Pro CS5:

Document object

document.debugMovie()

document.loadCuepointXML()

flash object (fl)

fl.languageCode

fl.toggleBreakpoint

Frame object

frame.convertMotionObjectTo2D()

frame.convertMotionObjectTo3D()

frame.getMotionObjectXML()

frame.hasMotionPath()

frame.isMotionObject()

frame.is3DMotionObject()

frame.selectMotionPath()

frame.setMotionObjectDuration()

frame.setMotionObjectXML()

frame.tweenInstanceName

Timeline object

timeline.createMotionObject()

timeline.libraryItem

timeline.removeMotionObject()

timeline.startPlayback

timeline.stopPlayback

The following methods and properties for existing objects are new in Flash Pro CS5.5:

SymbolInstance object

symbolInstance.bitmapRenderMode

symbolInstance.backgroundColor

symbolInstance.usesBackgroundColor

symbolInstance.visible

Timeline object

timeline.copyLayers()

timeline.cutLayers()

timeline.duplicateLayers()

timeline.pasteLayers()

This manual is related to the following products: