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...
org.osmf.events 

TimeEvent  - AS3 OSMF FLEXOSMF

Paqueteorg.osmf.events
Clasepublic class TimeEvent
HerenciaTimeEvent Inheritance Event Inheritance Object

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

A TimeEvent is dispatched when properties of a TimeTrait change.



Propiedades públicas
 PropiedadDefinido por
 Inheritedbubbles : Boolean
[solo lectura] Indica si un evento es un evento de propagación.
Event
 Inheritedcancelable : Boolean
[solo lectura] Indica si se puede evitar el comportamiento asociado al evento.
Event
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
 InheritedcurrentTarget : Object
[solo lectura] Objeto que procesa de forma activa el objeto de evento con un detector de eventos.
Event
 InheritedeventPhase : uint
[solo lectura] La fase actual en el flujo del evento.
Event
 Inheritedtarget : Object
[solo lectura] El destino del evento.
Event
  time : Number
[solo lectura] New time value resulting from this change.
TimeEvent
 Inheritedtype : String
[solo lectura] El tipo de evento.
Event
Métodos públicos
 MétodoDefinido por
  
TimeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = NaN)
Constructor
TimeEvent
 Inherited
Duplica una instancia de la subclase Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0.
Event
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Comprueba si se ha llamado a preventDefault() en el evento.
Event
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo.
Event
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento.
Event
 Inherited
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual.
Event
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve una cadena que contiene todas las propiedades del objeto de evento.
Event
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  COMPLETE : String = "complete"
[estática] The TimeEvent.COMPLETE constant defines the value of the type property of the event object for a complete event.
TimeEvent
  CURRENT_TIME_CHANGE : String = "currentTimeChange"
[estática] The TimeEvent.CURRENT_TIME_CHANGE constant defines the value of the type property of the event object for a currentTimeChange event.
TimeEvent
  DURATION_CHANGE : String = "durationChange"
[estática] The TimeEvent.DURATION_CHANGE constant defines the value of the type property of the event object for a durationChange event.
TimeEvent
Información sobre propiedades

time

propiedad
time:Number  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

New time value resulting from this change. For currentTimeChange events, this corresponds to the currentTime property. For durationChange events, this corresponds to the duration property. For complete events, this is unused.



Implementación
    public function get time():Number
Información sobre constructores

TimeEvent

()Información sobre
public function TimeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = NaN)

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

Constructor

Parámetros
type:String — The type of the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
 
time:Number (default = NaN) — The new time for the event. The property to which this value applies depends on the event type constant.
Información sobre constantes

COMPLETE

Constante
public static const COMPLETE:String = "complete"

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

The TimeEvent.COMPLETE constant defines the value of the type property of the event object for a complete event.

CURRENT_TIME_CHANGE

Constante 
public static const CURRENT_TIME_CHANGE:String = "currentTimeChange"

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

The TimeEvent.CURRENT_TIME_CHANGE constant defines the value of the type property of the event object for a currentTimeChange event.

DURATION_CHANGE

Constante 
public static const DURATION_CHANGE:String = "durationChange"

Versión del lenguaje: ActionScript 3.0
Versiones de producto: OSMF 1.0, OSMF para Flex 4.0
Versiones de motor de ejecución: Flash Player 10, AIR 1.5

The TimeEvent.DURATION_CHANGE constant defines the value of the type property of the event object for a durationChange event.





[ 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.