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

  • 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 315
294
EXTENDING FLASH PROFESSIONAL
Frame object
Last updated 5/2/2011
Example
The following example rotates the element in this frame counter-clockwise three times by the time it reaches the next
keyframe:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotate = "counter-
clockwise";
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenRotateTimes = 3;
frame.motionTweenScale
Availability
Flash MX 2004.
Usage
frame.motionTweenScale
Description
Property; a Boolean value that specifies whether the tweened element scales to the size of the object in the following
keyframe, increasing its size with each frame in the tween (
true), or doesn’t scale (false).
Example
The following example specifies that the tweened element should scale to the size of the object in the following
keyframe, increasing its size with each frame in the tween.
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenScale = true;
frame.motionTweenSnap
Availability
Flash MX 2004.
Usage
frame.motionTweenSnap
Description
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).
frame.motionTweenSync
Availability
Flash MX 2004.
Zobrazit stránku 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 564 565

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

Žádné komentáře