note 35749 added to function.swfdisplayitem.scaleto
| From: | php-general at lists dot php dot net | Date: | Fri, 12 Sep 2003 23:43:47 +0000 |
| Subject: | note 35749 added to function.swfdisplayitem.scaleto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56418@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.swfdisplayitem.scaleto.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35749
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35749&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35749&report=yes