There are 2 types of expanding effects:
1.
Expanding from the middle of the object (3 subtypes)
Usage: displayEffect(id, timeout, 0, subType, clone, func);
0 - specifies the expanding effect subType: (0-2) expand on: 0 - both directions, 1 - horizontal, 2 - vertical. (10-12) shrink on: 10 - both directions, 11 - horizontal, 12 - vertical.
Examples:
both directions,
horizontal,
vertical.
2.
Expanding from an edge of the object (5 subtypes)
Usage: displayEffect(id, timeout, 2, subType, clone, func);
2 - specifies the expanding effect subType: (0-5) Can be used for expanding an object on one or both directions (10-15) Can be used for shrinking an object on one or both directions
Examples:
Left-Top,
Right-Bottom,
Left,
Right,
Top,
Bottom.
Texts moving in from:
Left Right Top Bottom Left-Top Left-Bottom Right-Top Right-Bottom
Usage: displayEffect(id, timeout, 1, subType, clone, func);
1 - specifies the moving effect
subType:
(0-7)-> the direction where the object will come from
(10-17) -> the direction where the object will fly to