Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 147

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 146
125
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Example
The following example publishes the current document:
fl.getDocumentDOM().publish();
document.publishProfiles
Availability
Flash MX 2004.
Usage
document.publishProfiles
Description
Read-only property; an array of the publish profile names for the document.
Example
The following example displays the names of the publish profiles for the document:
var myPubProfiles = fl.getDocumentDOM().publishProfiles;
for (var i=0; i < myPubProfiles.length; i++){
fl.trace(myPubProfiles[i]);
}
document.punch()
Availability
Flash 8.
Usage
document.punch()
Parameters
None.
Returns
A Boolean value: true if successful; false otherwise.
Description
Method; uses the top selected drawing object to punch through all selected drawing objects underneath it. This method
returns
false if there are no drawing objects selected or if any of the selected items are not drawing objects.
Example
The following example punches through drawing objects underneath the selected drawing object:
fl.getDocumentDOM().punch();
Przeglądanie stron 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag