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

  • 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 316
295
EXTENDING FLASH PROFESSIONAL
Frame object
Last updated 5/2/2011
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.selectMotionPath()
Availability
Flash Professional CS5.
Usage
Frame.selectMotionPath()
Description
Method; a Boolean value. Selects (true) or deselects (false) the motion path of the current motion object.
Example
The example selects or deselects the motion path of the current motion object.
Zobrazit stránku 316
1 2 ... 312 313 314 315 316 317 318 319 320 321 322 ... 564 565

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

Žádné komentáře