Hi,

have a look at the MING php extension which will write swf - it is used for such applications as converting vector data into swf street maps.
There is a pure php (i.e., no need to ask the server people to install an extension) way to add actions to some swf - this would probably cover your case where all the elements of the final product are part of the initial one

Musicman