Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
 

Paquete lc.foundation.util 


Métodos públicos
 FunciónDefinido por
  
addOneShotEventListener(dispatcher:IEventDispatcher, type:String, listener:Function, useCapture:Boolean = false, priority:int = 0):void
Add an event listener to the specified event dispatcher ensuring that it will only fire once.
lc.foundation.util
  
Create an adapter function that calls the provided function with the provided parameters, appending any parameters passed in when it is invoked.
lc.foundation.util
Información sobre funciones

addOneShotEventListener

()función
public function addOneShotEventListener(dispatcher:IEventDispatcher, type:String, listener:Function, useCapture:Boolean = false, priority:int = 0):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versiones de motor de ejecución: AIR (unsupported), Flash Player 9, Flash Player 10

Add an event listener to the specified event dispatcher ensuring that it will only fire once.

Parámetros

dispatcher:IEventDispatcher — The event dispatcher to add the listener to.
 
type:String — The type of event.
 
listener:Function — The listener function that processes the event. This function must accept an Event object as its only parameter and must return nothing.
 
useCapture:Boolean (default = false) — Determines whether the listener works in the capture phase or the target and bubbling phases. If useCapture is set to true, the listener processes the event only during the capture phase and not in the target or bubbling phase. If useCapture is false, the listener processes the event only during the target or bubbling phase. To listen for the event in all three phases, call addEventListener() twice, once with useCapture set to true, then again with useCapture set to false.
 
priority:int (default = 0) — The priority level of the event listener. Priorities are designated by a 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.

addParams

()función 
public function addParams(func:Function, ... params):Function

Versión del lenguaje: ActionScript 3.0
Versión de producto: Adobe Digital Enterprise Platform Document Services - Workspace 9
Versiones de motor de ejecución: AIR (unsupported), Flash Player 9, Flash Player 10

Create an adapter function that calls the provided function with the provided parameters, appending any parameters passed in when it is invoked. The returned adapter function will accept any number of parameters to be appended.

Parámetros

func:Function — The function to adapt.
 
... params — An arbitrary number of additional parameters to be passed to the provided function when the returned adapter function is called.

Valor devuelto
Function — The created adapter function.

[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.