03.07.2013 Views

Guide de reference du langage ActionScript 2.0 - PowWeb

Guide de reference du langage ActionScript 2.0 - PowWeb

Guide de reference du langage ActionScript 2.0 - PowWeb

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

listener.onIOError = function(file:FileReference):Void {<br />

trace("onIOError: " + file.name);<br />

}<br />

listener.onSecurityError = function(file:FileReference,<br />

errorString:String):Void {<br />

trace("onSecurityError: " + file.name + " errorString: " + errorString);<br />

}<br />

var fileRef:FileReferenceList = new FileReferenceList();<br />

fileRef.addListener(listener);<br />

fileRef.browse();<br />

Voir également<br />

FileReference (flash.net.FileReference)<br />

Résumé <strong>de</strong>s propriétés<br />

Modificateurs Propriété Description<br />

Propriétés héritées <strong>de</strong> la classe Object<br />

Résumé <strong>de</strong>s événements<br />

Récapitulatif <strong>de</strong>s constructeurs<br />

608 Chapitre 2: Classes <strong>ActionScript</strong><br />

fileList:Array Un tableau d'objets FileReference.<br />

constructeur (propriété Object.constructor), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype, propriété), __resolve<br />

(Object.__resolve, propriété)<br />

Evénement Description<br />

onCancel =<br />

function(fileRef<br />

List:FileReferen<br />

ceList) {}<br />

onSelect =<br />

function(fileRef<br />

List:FileReferen<br />

ceList) {}<br />

Appelé lorsque l'utilisateur ferme la boîte <strong>de</strong> dialogue <strong>de</strong> recherche <strong>de</strong><br />

fichier.<br />

Appelé lorsque l'utilisateur sélectionne un ou plusieurs fichiers à<br />

télécharger à partir <strong>de</strong> la boîte <strong>de</strong> dialogue <strong>de</strong> recherche <strong>de</strong> fichiers.<br />

Signature Description<br />

FileReferenceList() Crée un nouvel objet FileReferenceList.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!