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 ;)
swf_removeobject
(PHP 4)
swf_removeobject — オブジェクトを削除する
説明
void swf_removeobject ( int depth )depth で指定した深さのオブジェクトを削除します。
パラメータ
- depth
深さを表す整数値。
返り値
値を返しません。
swf_removeobject
mathe at bluemento dot de
16-Sep-2003 12:45
16-Sep-2003 12:45
mathe at bluemento dot de
14-Sep-2003 10:43
14-Sep-2003 10:43
Note that this function just remove the last object drawn in the specified depth. After the FIFO-principal. :)