note 7497 deleted from ref.swf by vincent

From: Date: Fri, 03 Oct 2003 13:11:50 +0000
Subject: note 7497 deleted from ref.swf by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57735@lists.php.net to get a copy of this message
Note Submitter: ssross@uswest.net ---- It would be instructive to explain the function of the example. It writes a swf file, it does not return it to a browser. <p>To get it to do what I expected it to do, I deleted the empty line 1, fixed line 2, made the directory writable, added the fonts, and added the line <p>Header("Location: test.swf"); <p>just after the swf_closefile command. <p>Of course you don't really want to re-gererate the .swf file each time. And in most cases you want to add something like: <p>(HTML)(BODY) (EMBED src="test.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="256" height="256") (/EMBED) (/BODY)(/HTML) <p>With the correct brackets of course.

« previous php.notes (#57735) next »