Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 510

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 509
488
EXTENDING FLASH CS4 PROFESSIONAL
Timeline object
timeline.setLayerProperty()
Availability
Flash MX 2004.
Usage
timeline.setLayerProperty(property, value [, layersToChange])
Parameters
property A string that specifies the property to set. For a list of properties, see “Layer object” on page 306.
value The value to which you want to set the property. Use the same type of value you would use when setting the
property in the layer object.
layersToChange A string that identifies which layers should be modified. Acceptable values are "selected", "all",
and
"others". The default value is "selected" if you omit this parameter. This parameter is optional.
Returns
Nothing.
Description
Method; sets the specified property on all the selected layers to a specified value.
Example
The following example makes the selected layer(s) invisible:
fl.getDocumentDOM().getTimeline().setLayerProperty("visible", false);
The following example sets the name of the selected layer(s) to selLayer:
fl.getDocumentDOM().getTimeline().setLayerProperty("name", "selLayer");
timeline.setSelectedFrames()
Availability
Flash MX 2004.
Usage
timeline.setSelectedFrames(startFrameIndex, endFrameIndex [, bReplaceCurrentSelection])
timeline.setSelectedFrames(selectionList [, bReplaceCurrentSelection])
Parameters
startFrameIndex A zero-based index that specifies the beginning frame to set.
endFrameIndex A zero-based index that specifies the end of the selection; endFrameIndex is the frame after the last
frame in the range to select.
bReplaceCurrentSelection A Boolean value that, if it is set to true, causes the currently selected frames to be
deselected before the specified frames are selected. The default value is
true.
selectionList An array of three integers, as returned by timeline.getSelectedFrames().
Seitenansicht 509
1 2 ... 505 506 507 508 509 510 511 512 513 514 515 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare