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>s événements<br />

Evénement Description<br />

onSelect =<br />

function(obj:Obj<br />

ect,<br />

menuItem:Object)<br />

{}<br />

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

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

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

caption (propriété ContextMenuItem.caption)<br />

public caption : String<br />

Appelé lorsque l'élément <strong>de</strong> menu spécifié est sélectionné dans le menu<br />

contextuel <strong>de</strong> Flash Player.<br />

Signature Description<br />

ContextMenuItem(capt<br />

ion:String,<br />

callbackFunction:Fun<br />

ction,<br />

[separatorBefore:Boo<br />

lean],<br />

[enabled:Boolean],<br />

[visible:Boolean])<br />

Crée un nouvel objet ContextMenuItem pouvant être ajouté dans le<br />

tableau ContextMenu.customItems.<br />

Modificateurs Signature Description<br />

copy() :<br />

ContextMenuItem<br />

Crée et renvoie une copie <strong>de</strong> l'objet ContextMenuItem<br />

spécifié.<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 />

Chaîne spécifiant la légen<strong>de</strong> (texte) <strong>de</strong> l'élément <strong>de</strong> menu qui s'affiche dans le menu<br />

contextuel.<br />

Disponibilité : <strong>ActionScript</strong> 1.0 ; Flash Player 7<br />

ContextMenuItem 469

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

Saved successfully!

Ooh no, something went wrong!