PHP: swf_nextid - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

swf_oncondition swf_mulcolor

Last updated: Fri, 26 Jan 2007

view this page in

# 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 User Contributed Notes
swf_nextid
zarek at jazdesign dot com
08-May-2001 11: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!`
add a note
swf_oncondition swf_mulcolor

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST