note 35804 added to function.swf-removeobject
| From: | mathe at bluemento dot de | Date: | Mon, 15 Sep 2003 12:45:36 +0000 |
| Subject: | note 35804 added to function.swf-removeobject | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56522@lists.php.net to get a copy of this message | ||
Hey ... it is the LIFO (not FIFO)!!
An Example:
for ($i = 0;$i < 100;$i++) {
swf_removeobject($this->Depth);
swf_removeobject($this->Depth);
swf_addcolor(0,0,0,0);
$this->modifyCoords();
swf_placeobject($this->ObjId1, $this->Depth);
swf_placeobject($this->ObjId2, $this->Depth);
}
Here, two objects are placed in same depth.
So, if you want to remove those two objects,
use the swf_removeobject-function two times.
the ObjId2 will be removed at the first remove-call.
This caused a lot of trouble in my code ;)
----
Manual Page -- http://www.php.net/manual/en/function.swf-removeobject.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35804
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35804&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35804&report=yes