Page 1 of 1

FlashPaper

Posted: Mon Feb 26, 2007 8:40 am
by shiznatix
Ok so there was this site done in ColdFusion that used some flashpaper. Now I need to do it in PHP but I don't know how to do it. The flashpaper page in ColdFusion looks like this:

Code: Select all

<cfdocument format="flashpaper">
<cfoutput>#session.printvs#</cfoutput>
</cfdocument>
easy enough. How do I do the same thing in PHP?

Posted: Mon Feb 26, 2007 9:44 am
by Kieran Huggins
what's a flashpaper?

Posted: Mon Feb 26, 2007 9:46 am
by feyd
From looking at the examples on Adobe's site, it's a standard Flash output tag set.

Flashpaper is basically a document written in Flash. Basically, they are a PDF, but in Flash.

Their embedded example includes this:

Code: Select all

if(do_dw_var){
document.writeln('<div style="border: 1px solid #999; border-top: 0; width:523px;">');
document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="523" height="450">');
document.writeln('<param name="wmode" value="opaque" />');
document.writeln('	<param name="movie" value="top10ReasonstoBuyFP.swf">');
document.writeln('	<param name="quality" value="high">');
document.writeln('	<embed src="top10ReasonstoBuyFP.swf" width="523" height="450" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque" ></embed>');
document.writeln('</object>');
document.writeln('	  </div>');
}