PGemitter._tween_y Property

Availability

ActionScript 2.0; Flash Player 6

Since

Partigen 1.0

Usage

PGemitter._tween_y : Number/String

Description

Property, read/write; End y value. This is the _y position of the end point for the tween mode.

These values use the number-absolute and string-relative convention. This means that using a number will place that value at the real absolute stage value. Using a string will add the value to emitters current value. This is an adopted Fuse behavior.

Example

The following example sets the y tween value:

Stage.align = 'lt'; //align the stage
Partigen.createEmitter(this, 'my_em', 0); //create a new emitter with all the defaults
my_em._x = my_em._y = 200; //set the emitters x&y position to 200 so we can see it
my_em._mode_mode = 'tween'; //set the mode to tween, not needed on new emitters as tween is the default
my_em._tween_y = 0; //will send the particles to the top of the stage
my_em.start();

See Also

PGemitter.setTween(), PGemitter._tween_x, PGemitter._tween_cx, PGemitter._tween_cy, PGemitter._tween_duration, PGemitter._tween_ease, PGemitter._tween_delay


Documentation generated by BLDoc Community Edition from B-Line Express.