Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: swf_removeobject - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<swf_pushmatrixswf_rotate" width="11" height="7"/>
view the version of this page
Last updated: Tue, 16 Aug 2005

swf_removeobject

(PHP 4, PECL)

swf_removeobject -- Remove an object

Description

void swf_removeobject ( int depth )

Removes the object at the depth specified by depth.



add a note add a note User Contributed Notes
swf_removeobject
mathe at bluemento dot de
16-Sep-2003 12:45
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 ;)
mathe at bluemento dot de
14-Sep-2003 10:43
Note that this function just remove the last object drawn in the specified depth. After the FIFO-principal. :)

<swf_pushmatrixswf_rotate" width="11" height="7"/>
 Last updated: Tue, 16 Aug 2005
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This mirror generously provided by: HappySize, Inc.
Last updated: Sun Aug 28 20:32:21 2005 JST