Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 352

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 351
330
EXTENDING FLASH PROFESSIONAL
library object
Last updated 5/2/2011
Returns
An integer value representing the item’s zero-based index value.
Description
Method; returns the library item’s index value (zero-based). The library index is flat, so folders are considered part of
the main index. Folder paths can be used to specify a nested item.
Example
The following example stores the zero-based index value of the library item square, which is in the test folder, in the
variable
sqIndex, and then displays the index value in a dialog box:
var sqIndex = fl.getDocumentDOM().library.findItemIndex("test/square");
alert(sqIndex);
library.getItemProperty()
Availability
Flash MX 2004.
Usage
library.getItemProperty(property)
Parameters
property A string. For a list of values that you can use as a property parameter, see the Property summary table for
the
Item object, along with property summaries for its subclasses.
Returns
A string value for the property.
Description
Method; gets the property for the selected item.
Example
The following example shows a dialog box that contains the Linkage Identifier value for the symbol when referencing
it using ActionScript or for run-time sharing:
alert(fl.getDocumentDOM().library.getItemProperty("linkageIdentifier"));
library.getItemType()
Availability
Flash MX 2004.
Usage
library.getItemType([namePath])
Seitenansicht 351
1 2 ... 347 348 349 350 351 352 353 354 355 356 357 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare