Page 1 of 1

sectionImage tag for Flash .swf files

Posted: Tue Jan 03, 2006 6:35 pm
by jab
Can the sectionImage tag be modified to work with Flash .swf file extensions?  I have a need for a tag like the sectionImage tag to call a different Flash file for each section of a website and I'm not a programmer. Is there an easy way to modify the section image tag or create a related tag just for Flash .swf file types?

Jab...

Re: sectionImage tag for Flash .swf files

Posted: Tue Jan 03, 2006 10:59 pm
by jab
Thanks,

I will take a look at line 90 of the code. Albeit, I am not a programmer, so I don't know what to do there. In any event I agree that an <img... call would not work for a Flash file. If you come up with anything else please let me know.

Jab...

Re: sectionImage tag for Flash .swf files

Posted: Tue Jan 03, 2006 11:26 pm
by Gibberish
you would need something like this to paly the flash file. You would of course have to change some attributes to match your flash file.

Code: Select all

<object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100" height="100" id="swf">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="your_swf_name.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="your_swf_name.swf" quality="high" bgcolor="#ffffff" width="100" height="100" name="swf" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>