adding swf file to a block

Robin posted 13th of February 2008 in Community Voice. 2 comments.
Hello,

I have a block appearing in everybodys profile. I use the block to put basic images to make the site look pretty but couldn't get it to work with a swf file..

is it possible to put a swf file in the block?

what do i need to do thats different from placing a basic image file..
basically the swf file is located in the same folder as the image.. replace the image file name to the swf file name and it didnt work..

any ideas?

robin
 
Comments
·Oldest
·Top
Please login to post a comment.
matthammer
Hi there,

Is the code you are changing within an "<img>" tag? If so, that will be why as the params will not call an swf file to display.

My swf's all use "<object>" tags
i.e:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="600" id="YOUR FILENAME.swf" align="middle">
<param see more name="allowScriptAccess" value="sameDomain">
<param name="movie" value="YOUR FILENAME.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#333333">
<embed src="YOUR FILENAME.swf" quality="high" bgcolor="#333333" width="800" height="600" name="YOUR FILENAME.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>

Bearing in mind you would of course amend the height/width values to match your file.

Regards
Matt
jtadeo
Robin,

I wrote a tutorial about that at:
http://www.boonexnerd.com/dolphin/orca/#action=goto&topic_id=44

You can use both swf and js.
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.048033952713013