FlashPaper

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

FlashPaper

Post 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?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

what's a flashpaper?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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>');
}
Post Reply