SWF::DisplayItem - SWF DisplayItem class
use SWF::DisplayItem;
SWF::DisplayItem is used for animation. To create an SWF::DisplayItem object, you may use either add in the SWF::Movie manpage or add in the SWF::Sprite manpage method.
Move $displayItem to ($x, $y) in global co-ordinates.
Displace $displayItem by ($x, $y)
Set $displyItem scale to $x in the x-direction and $y in the y-direction. If $y is not specified, $y=$x is assumed.
Multiply $displyItem scale by $x in the x-direction and $y in the y-direction. If $y is not specified, $y=$x is assumed.
Set $displayItem rotation to $degrees.
Rotate $displayItem by $degrees.
Add $x to the current x-skew.
Set x-skew to $x. 1.0 is 45-degree forward slant. More is more forwad while less is more backward.
Add $y to the current y-skew.
Set y-skew to $y. 1.0 is 45-degree upward slant. More is more upward while less is more downward.
Set Z-order of $displayItem to $depth.
Useful for SWF::Morph. Sets $displayItem ratio to $ratio.
Add RGB color to the $displayItem's color transform. Default value of $a is 1.0
Multiplies the $displayItem's color transform by the given values. Default value of $a is 1.0
Set $displayItem's name to $name (used for targetting with SWF::Action).
Remove $displayItem from the movie display list.
Returns displace coordinates of $displayitem.
Returns rotation of $displayItem.
Returns scale of $displayItem in x- and y-direction.
Returns x- and y-skew of $displayItem.
Returns Z-order of $displayItem.
Soheil Seyfaie (soheil AT users.sourceforge.net).
SWF, SWF::Button, SWF::Shape, SWF::Movie, .