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_nextid - 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_mulcolorswf_oncondition" width="11" height="7"/>
view the version of this page
Last updated: Fri, 28 Oct 2005

swf_nextid

(PHP 4, PECL)

swf_nextid -- Returns the next free object id

Description

int swf_nextid ( void )

The swf_nextid() function returns the next available object id.



add a note add a note User Contributed Notes
swf_nextid
zarek at jazdesign dot com
09-May-2001 03:36
this function, when used as shown below, works fine:
$char = "mytext";
$fontsize = 50;
$horiz = 50;
$vert = -50;
swf_pushmatrix ();
$nextid = swf_nextid ();
swf_definefont ($nextid, "Pix3");
swf_fontsize ($fontsize);
$nextid2 = swf_nextid ();
swf_definetext ($nextid2, $char, 1);
swf_translate ($horiz, $vert, 0);
swf_placeobject ($nextid2, 2);
swf_popmatrix ();

Stay tuned, I will be posting many working examples of swf using php on http://www.jazdesign.com  ... there is not anything there now but there will be soon.... send me email if you have specific questions.

note: swf with php is very quirky! if one thing is wrong it can make your system crash, browser lock or other fun things, sometimes testing can drive you nuts!

<swf_mulcolorswf_oncondition" width="11" height="7"/>
 Last updated: Fri, 28 Oct 2005
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Fri Nov 11 16:24:37 2005 JST