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

  • 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 323
302
EXTENDING FLASH PROFESSIONAL
Frame object
Last updated 5/2/2011
Usage
Frame.tweenInstanceName()
Description
Property; a string that assigns an instance name to the selected motion object.
Example
The following example assigns the instance name MyMotionTween to the specified motion object.
theFrame.tweenInstanceName = "MyMotionTween";
frame.tweenType
Availability
Flash MX 2004.
Usage
frame.tweenType
Description
Property; a string that specifies the type of tween; acceptable values are "motion", "shape", or "none". The value
"none" removes the motion tween. Use the timeline.createMotionTween() method to create a motion tween.
If you specify "motion", the object in the frame must be a symbol, text field, or grouped object. It will be tweened from
its location in the current keyframe to the location in the following keyframe.
If you specify "shape", the object in the frame must be a shape. It will blend from its shape in the current keyframe to
the shape in the following keyframe.
Example
The following example specifies that the object is a motion tween, and therefore, it should be tweened from its location
in the current keyframe to the location in the following keyframe:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].tweenType = "motion";
frame.useSingleEaseCurve
Availability
Flash 8.
Usage
frame.useSingleEaseCurve
Description
Property; a Boolean value. If true, a single custom ease curve is used for easing information for all properties. If false,
each property has its own ease curve.
Zobrazit stránku 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 564 565

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

Žádné komentáře