PHP : Function Reference : Ming functions for Flash : SWFDisplayItem->scaleTo()
julien séjourné
It's good to know that when you do "$i->scaleTo(0,0)", it doesn't output an "empty object" ( nothing... ) on the screen, but the object with its original dimensions.
13-sep-2003 03:43
after a shape etc. has been added, the refence to the DisplayItem is returned:
$displayItem = $sprite->add($shape);
$displayItem->scaleTo(0.1,0.1);
the above scales it to 0.1 of whatever its original size was
|