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...
spark.effects.interpolation 

MultiValueInterpolator  - AS3 Flex

Paquetespark.effects.interpolation
Clasepublic class MultiValueInterpolator
HerenciaMultiValueInterpolator Inheritance Object
Implementa IInterpolator

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

The MultiValueInterpolator class interpolates each element of Arrays or Vectors of start and end elements separately, using another interpolator to do the interpolation for each element. By default, the interpolation for each element uses the NumberInterpolator class, but you can construct a MultiValueInterpolator instance with a different interpolator.



Propiedades públicas
 PropiedadDefinido por
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
  elementInterpolator : IInterpolator
The interpolator for each element of the input Array or Vector.
MultiValueInterpolator
Métodos públicos
 MétodoDefinido por
  
MultiValueInterpolator(elementInterpolator:IInterpolator = null)
Constructor.
MultiValueInterpolator
  
decrement(baseValue:Object, decrementValue:Object):Object
Given a base value and a value to subtract from it, return the result of that decrement operation.
MultiValueInterpolator
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
  
increment(baseValue:Object, incrementValue:Object):Object
Given a base value and a value to add to it, return the result of that operation.
MultiValueInterpolator
  
interpolate(fraction:Number, startValue:Object, endValue:Object):Object
Given an elapsed fraction of an animation, between 0.0 and 1.0, and start and end values to interpolate, return the interpolated value.
MultiValueInterpolator
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 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
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Información sobre propiedades

elementInterpolator

propiedad
elementInterpolator:IInterpolator

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

The interpolator for each element of the input Array or Vector. A value of null specifies to use the NumberInterpolator class.

El valor predeterminado es NumberInterpolator.



Implementación
    public function get elementInterpolator():IInterpolator
    public function set elementInterpolator(value:IInterpolator):void
Información sobre constructores

MultiValueInterpolator

()Información sobre
public function MultiValueInterpolator(elementInterpolator:IInterpolator = null)

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

Constructor.

Parámetros
elementInterpolator:IInterpolator (default = null) — The interpolator for each element of the Array. If no interpolator is specified, use the NumberInterpolator class.
Información sobre métodos

decrement

()método
public function decrement(baseValue:Object, decrementValue:Object):Object

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

Given a base value and a value to subtract from it, return the result of that decrement operation. For example, if the objects are simple Numbers, the result would be Number(baseValue) - Number(incrementValue). This function is called by the animation system when it needs to dynamically calculate a value given some ending value and a 'by' value that should be subtracted from it. Both of the arguments are of type Object and cannot simply be added together.

Parámetros

baseValue:Object — The start value of the interpolation.
 
decrementValue:Object — The change to apply to the baseValue.

Valor devuelto
Object — The interpolated value.

increment

()método 
public function increment(baseValue:Object, incrementValue:Object):Object

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

Given a base value and a value to add to it, return the result of that operation. For example, if the objects are simple Numbers, the result is a Number(baseValue) + Number(incrementValue). This method is called by the animation system when it needs to dynamically calculate a value given some starting value and a 'by' value that should be added to it. Both of the arguments are of type Object and cannot simply be added together.

Parámetros

baseValue:Object — The start value of the interpolation.
 
incrementValue:Object — The change to apply to the baseValue.

Valor devuelto
Object — The interpolated value.

interpolate

()método 
public function interpolate(fraction:Number, startValue:Object, endValue:Object):Object

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

Given an elapsed fraction of an animation, between 0.0 and 1.0, and start and end values to interpolate, return the interpolated value. Interpolation for MultiValueInterpolator consists of running a separate interpolation on each element of the startValue and endValue arrays or vectors, returning a new Array or Vector that holds those interpolated values. The returned object will be an Array if startValue and endValue are of type Array, otherwise the returned object will be of type Vector.

Parámetros

fraction:Number — The fraction elapsed of the animation, between 0.0 and 1.0.
 
startValue:Object — The start value of the interpolation.
 
endValue:Object — The end value of the interpolation.

Valor devuelto
Object — The interpolated value.




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