MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 55

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 124
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 54
TUTORIALS POINT
Simply Easy Learning Page 50
S.N.
Method & Description
1
EventDispatcher(target:IEventDispatcher = null)
Aggregates an instance of the EventDispatcher class.
2
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0,
useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification
of an event.
3
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
4
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
5
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
6
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors
for the specified event type.
Events
Following are the events for flash.events.EventDispatcher class:
S.N.
Event & Description
1
activate
Dispatched when the Flash Player gains operating system focus and becomes active.
2
detivate
Dispatched when the Flash Player loses operating system focus and becomes inactive.
Methods inherited
This class inherits methods from the following class:
Object
UIComponent Class
Introduction
The UIComponent class is the base class for all visual components, both interactive and noninteractive.
Vedere la pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 123 124

Commenti su questo manuale

Nessun commento