- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 142 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
How to display Flash in PHP-Nuke blocks
To show Flash in a PHP-Nuke block, you simply have to include the appropriate HTML code in the $content variable. Since the HTML code is something like
<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=\"350\" height=\"100\">
<param name=\"movie\" value=\"yourMovie.swf\">
<param name=quality value=high>
<embed src=\"yourMovie.swf\" quality=high
pluginspage=\"http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash\"
type=\"application/x-shockwave-flash\"
width=\"350\" height=\"100\"></embed>
</object>
the PHP-Nuke block code should be something like
$content = "<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=\"350\" height=\"100\"> "
."<param name=\"movie\" value=\"yourMovie.swf\"> "
."<param name=quality value=high> "
."<embed src=\"yourMovie.swf\" quality=high
pluginspage=\"http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash\"
type=\"application/x-shockwave-flash\"
width=\"350\" height=\"100\"></embed>"
."</object>";
See Section 14.3.8 on how to display Flash in the PHP-Nuke header, like a banner.