close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

swf file in product description

Thread began 1/12/2011 8:44 pm by nancy268153 | Last modified 1/14/2011 9:49 am by nancy268153 | 5325 views | 24 replies

neilo

Just for info, for the second item, if you view the source code of the basic generated html page here

The code I took from that and entered in source view of Long Description for the new item is:

<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
'width', '320',
'height', '340',
'src', 'rySSP',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'rySSP',
'bgcolor', '#ffffff',
'name', 'rySSP',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'rySSP',
'salign', ''
); //end AC code
</script> <noscript> &lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="320" height="340" id="rySSP" align="middle"&gt; &lt;param name="allowScriptAccess" value="sameDomain" /&gt; &lt;param name="allowFullScreen" value="false" /&gt; &lt;param name="movie" value="sspRy/rySSP.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="bgcolor" value="#ffffff" /&gt; &lt;embed src="sspRy/rySSP.swf" quality="high" bgcolor="#ffffff" width="320" height="340" name="rySSP" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" &gt;&lt;/embed&gt; &lt;/object&gt; </noscript></p>

The somewhat large javascript block (which you will see in the head area of the page source code - too long to post here) that begins:

<script language="JavaScript" type="text/javascript">
<!--
//v1.7
// Flash Player Version Detection

I placed in the between the <head></head> tags of the Products_Details.php Page

The only difference between this one and the last one is that in the first one, all the files sat in the root directory, which would get messy if I were doing a slideshow for each item, so I created a folder in the root directory (sspRy) into which I placed the xml, swf files and the gallery/image folder. The path is reflected in the code I placed in the 'Long Description' source view code (param name="movie" value="sspRy/rySSP.swf") and (embed src="sspRy/rySSP.swf")

Cheers for now

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...