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.

Résumé <strong>de</strong> la métho<strong>de</strong><br />

Modificateurs Signature Description<br />

static addListener(listener<br />

:Object) : Void<br />

static getBeginIn<strong>de</strong>x() :<br />

Number<br />

static getCaretIn<strong>de</strong>x() :<br />

Number<br />

static getEndIn<strong>de</strong>x() :<br />

Number<br />

Métho<strong>de</strong>s héritées <strong>de</strong> la classe Object<br />

Enregistre un objet pour recevoir les notifications <strong>de</strong><br />

changement <strong>du</strong> focus clavier.<br />

Renvoie l'in<strong>de</strong>x au début <strong>de</strong> la plage <strong>de</strong> sélection.<br />

Renvoie l'in<strong>de</strong>x <strong>de</strong> la position <strong>du</strong> point d'insertion<br />

clignotant (caret).<br />

Renvoie l'in<strong>de</strong>x <strong>de</strong> fin <strong>de</strong> la plage <strong>de</strong> sélection ayant<br />

actuellement le focus.<br />

static getFocus() : String Renvoie une chaîne spécifiant le chemin cible <strong>de</strong><br />

l'objet ayant le focus.<br />

static removeListener(liste<br />

ner:Object) :<br />

Boolean<br />

static setFocus(newFocus:Ob<br />

ject) : Boolean<br />

static setSelection(beginIn<br />

<strong>de</strong>x:Number,<br />

endIn<strong>de</strong>x:Number) :<br />

Void<br />

Supprime un objet précé<strong>de</strong>mment enregistré avec<br />

Selection.addListener().<br />

Donne le focus au champ <strong>de</strong> texte, bouton ou clip<br />

sélectionnable (modifiable) spécifié par le paramètre<br />

newFocus.<br />

Définit la plage <strong>de</strong> sélection <strong>du</strong> champ <strong>de</strong> texte ayant<br />

actuellement le focus.<br />

addProperty (métho<strong>de</strong> Object.addProperty), hasOwnProperty (métho<strong>de</strong><br />

Object.hasOwnProperty), isPropertyEnumerable (métho<strong>de</strong><br />

Object.isPropertyEnumerable), isPrototypeOf (métho<strong>de</strong> Object.isPrototypeOf),<br />

registerClass (métho<strong>de</strong> Object.registerClass), toString (métho<strong>de</strong><br />

Object.toString), unwatch (métho<strong>de</strong> Object.unwatch), valueOf (métho<strong>de</strong><br />

Object.valueOf), watch (métho<strong>de</strong> Object.watch)<br />

Sélection 1107

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

Saved successfully!

Ooh no, something went wrong!