Committed to Code

Pwiff is a library written in pure PHP that allows you to generate SWF files. It will eventually be able to read and parse SWF files, as well.

This project is managed by Steve.

Project Tags

Code Analysis


News

Pwiff Update

I just committed a simple Movie and Encoder class, so making a blank movie is now far easier to understand. At least now you don’t have to calculate the file length by hand.

$env = new ... [More] Pwiff_Environment;
$env->setSwfVersion(10);

$movie = new Pwiff_Movie($env);
$movie->setFrameSize(100, 100);
$movie->setFrameRate(0);

$enc = new Pwiff_Encoder($movie, new Pwiff_Output_File('test.swf'));
$enc->encode();

The first step is to define an environment, which [...] [Less]


Pwiff Source Released

Today, I was able to get Pwiff to create a “blank” SWF file, meaning a header, a FileAttributes tag, and an End tag. As a result, I decided to start a Google Code project for it, and host the files there instead of my private subversion location. It’s very bare bones right now, as you [...]


Introducing Pwiff

Considering I’ve reached a small milestone in the project, I figured I would write a post explaining what I’ve been up to. My previous entry relates to this, as at the time I was experimenting with writing a class to encode binary data into a stream of bits. Float information was important, as the class [...]


Edit RSS feeds.