PGemitter._size_height Property

Availability

ActionScript 2.0; Flash Player 6

Since

Partigen 1.0

Usage

PGemitter._source : Number/String

Description

Property, read/write; The height for size - AKA _size[1]. This is just another way to change a single value in the main property array. You would use this instead if you want to tween the value or use it in PGemitter.loadConfig().

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 height value of _size:

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._size = [100, 100]; //make _size not 'disabled'
my_em._size_height = 200; //only height changes to 200
my_em.start();

See Also

PGemitter._size, PGemitter._size_width


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