Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 306

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 305
284
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
frame.motionTweenSync
Availability
Flash MX 2004.
Usage
frame.motionTweenSync
Description
Property; a Boolean value that if set to true, synchronizes the animation of the tweened object with the main timeline.
Example
The following example specifies that tweened object should be synchronized with the timeline:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].motionTweenSync = true;
frame.name
Availability
Flash MX 2004.
Usage
frame.name
Description
Property; a string that specifies the name of the frame.
Example
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:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].name = 'First Frame';
var frameLabel = fl.getDocumentDOM().getTimeline().layers[0].frames[0].name;
frame.setCustomEase()
Availability
Flash 8.
Usage
frame.setCustomEase(property, easeCurve)
Parameters
property A string that specifies the property the ease curve should be used for. Acceptable values are "all",
"position", "rotation", "scale", "color", and "filters".
Zobrazit stránku 305
1 2 ... 301 302 303 304 305 306 307 308 309 310 311 ... 559 560

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

Žádné komentáře