Re: cvs: php4 /ext/swf/ swf.c
| From: | Sterling Hughes | Date: | Sun, 11 Jun 2000 23:48:21 +0000 |
| Subject: | Re: cvs: php4 /ext/swf/ swf.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-176@lists.php.net to get a copy of this message | ||
> I commited a fix for the virtaul dir.
> Any idea why you don't return anything from swf_openfile()? Can you only
> have one file open at a time? Isn't their library thread-safe?
>
You can have only one file open at a time. However you can open numerous
files in a single script, ie:
swf_openfile(...);
swf_closefile(...);
swf_openfile(...);
swf_closefile(...);
Sterling
P.s.: The libswf (as you probably have figured out) is not a very mature
library, however, it is the most mature and feature rich of all the (2,3
others) *C* libraries for creating Flash files. Right now, among other
things, I'm working on incorporating Macromedia's C++ Flash SDK into PHP.
I remember a while back someone was talking about using C++ to make a PHP
extension, what are the basic steps necessary (with re to c/c++ compat of
course).