Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 307

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 306
285
Last updated 5/2/2011
Chapter 21: Frame object
Availability
Flash MX 2004.
Description
The Frame object represents frames in the layer.
Method summary
The following methods can be used with the Frame object:
Property summary
The following properties can be used with the Frame object:
Method Description
frame.convertMotionObjectTo2D() Converts the selected motion object to a 2D motion object.
frame.convertMotionObjectTo3D() Converts the selected motion object to a 3D motion object.
frame.getCustomEase() Returns an array of JavaScript objects, each of which has an x and y property.
frame.getMotionObjectXML() Returns the motion XML from the selected motion object.
frame.hasMotionPath() Informs you whether or not the currrent selection has a motion tween.
frame.is3DMotionObject() Informs you whether or not the currrent selection is a 3D motion object.
frame.isMotionObject() Informs you whether or not the currrent selection is a motion object.
frame.selectMotionPath() Selects or deselects the motion path of the current motion object.
frame.setCustomEase() Specifies a cubic Bézier curve to be used as a custom ease curve.
frame.setMotionObjectDuration() Specifies the duration (the tween span length) of the currently selected motion
object.
frame.setMotionObjectXML() Applies the specified motion XML to the selected motion object.
Property Description
frame.actionScript A string representing ActionScript code.
frame.duration Read-only; an integer that represents the number of frames in a frame
sequence.
frame.elements Read-only; an array of Element objects (see Element object).
frame.hasCustomEase A Boolean value that specifies whether the frame gets its ease information from
the custom ease curve.
frame.labelType A string that specifies the type of Frame name.
frame.motionTweenOrientToPath A Boolean value that specifies whether or not the tweened element rotates the
element as it moves along a path to maintain its angle with respect to each
point on the path.
frame.motionTweenRotate A string that specifies how the tweened element rotates.
Zobrazit stránku 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 564 565

Komentáře k této Příručce

Žádné komentáře