News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Generate Flash movies on the fly with PHP
December 21, 2006 @ 09:02:00

The IBM developerWorks site has a new tutorial posted about creating Flash movies on the fly with PHP (and some help from Ming).

Rich Internet Applications is the new buzz-phrase for Web 2.0, and a key component of the substance behind Web 2.0 is Adobe Flash. Learn how to integrate Flash movies into your application and generate Flash movies dynamically using the Ming library.

They start with a brief look at Flash and how its embedded into a web page, including the needed HTML. From there, they jump right into Ming.

They create a sample Flash file - a "Hello World" - to get the ball rolling. They modify it a bit and create some moving text of varying colors. Next up is working with shapes and lines, and finally - importing and using images in your simple PHP-generated Flash animation.

0 comments voice your opinion now!
generate flash ming tutorial text animation shape image generate flash ming tutorial text animation shape image


Experts Round Table:
SWF Frame Rate Extraction
November 16, 2006 @ 09:58:00

On the Experts Round Table website, there's this cool bit of code that works with the SWFHeader library to extract the frame rate information from a Flash file.

The first idea is of course not to reinvent the wheel and search for an already-made solution. I had to find a really good way to extract information from a SWF file. I had two trivial ways to go : (a) find an already-made SWF Header Extractor, or (b) work at the binary level.

At first, of course, I turned to the PHP documentation (http://www.php.net/manual/en/) and found out the LibSWF and Ming libraries as candidates.

Of course, the code is provided for his solution, and it's actually quite simple. The class does the hard work of mapping out the data from the Flash file's header. All he needed to do was to reference that value in the result under the 'fps' array key.

0 comments voice your opinion now!
swf flash frame rate extract ming libswf swfheader swf flash frame rate extract ming libswf swfheader



Community Events





Don't see your event here?
Let us know!


opinion framework tool voicesoftheelephpant version library symfony security podcast introduction composer community package mvc interview series update laravel release language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework