Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 304

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 303
282
EXTENDING FLASH CS4 PROFESSIONAL
Frame object
Example
The following example sets the name of the first frame in the top layer to "First Frame" and then sets its label
to
"comment":
fl.getDocumentDOM().getTimeline().layers[0].frames[0].name = 'First Frame';
fl.getDocumentDOM().getTimeline().layers[0].frames[0].labelType = 'comment';
frame.motionTweenOrientToPath
Availability
Flash MX 2004.
Usage
frame.motionTweenOrientToPath
Description
Property; a Boolean value that specifies whether the tweened element rotates the element as it moves along a path to
maintain its angle with respect to each point on the path (
true) or whether it does not rotate (false).
If you want to specify a value for this property, you should set frame.motionTweenRotate to "none".
frame.motionTweenRotate
Availability
Flash MX 2004.
Usage
frame.motionTweenRotate
Description
Property; a string that specifies how the tweened element rotates. Acceptable values are "none", "auto",
"clockwise", and "counter-clockwise". A value of "auto" means the object will rotate in the direction requiring
the least motion to match the rotation of the object in the following keyframe.
If you want to specify a value for frame.motionTweenOrientToPath, set this property to "none".
Example
See frame.motionTweenRotateTimes.
frame.motionTweenRotateTimes
Availability
Flash MX 2004.
Seitenansicht 303
1 2 ... 299 300 301 302 303 304 305 306 307 308 309 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare