How to add Flash SWF to a SCCP home...

User 2188618 Photo


Registered User
21 posts

I created an animated SWF file in Adobe Flash to replace the top portion of my home page (see attached screen shot). I added the html (created by flash - see below) via SCCP/pages/shop home/insert html, but it does not work. If I run the html it runs in Chrome, Firefox & IE. If you put http://yowzers.com/yowzerbannerf6.swf in a browser it runs, but the size is larger than the specified 755x270. Keeping in mind that I'm html challenged, any help would be appreciated.

Here is the code:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>yowzerbannerf6b</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '755',
'height', '270',
'src', 'yowzerbannerf6b',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'yowzerbannerf6b',
'bgcolor', '#ffffff',
'name', 'yowzerbannerf6b',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '../yowzerbannerf6b',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="755" height="270" id="yowzerbannerf6b" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="../yowzerbannerf6b.swf" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="http://yowzers.com/yowzerbannerf6.swf" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="755" height="270" name="yowzerbannerf6b" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
Attachments:
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 2188618 Photo


Registered User
21 posts

Here is what it looks like after doing the preview in SCCP (see attached).
Attachments:
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

I can help you.;)
http://progrower.coffeecup.com/shop/vie … ?groupid=0
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Eric- How did you do that?
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

Give this a try. paste it into your page with the HTML tool.

<style type="text/css"> div#shopbanner{width:755px;height:270px;left:-396px;top:-400px;position:relative; z-index:1000;} </style>
<div id="shopbanner">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=welcometomyshop WIDTH=755 HEIGHT=270>
<PARAM NAME=movie VALUE="http://yowzers.com/yowzerbannerf6.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=loop VALUE=false>
<EMBED src="http://yowzers.com/yowzerbannerf6.swf" loop=false quality=high WIDTH=755 HEIGHT=270 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>
</div>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Ok, close but no cigar. I think your code will work, but I need to tweek the position (I gota get out my pixel ruler). I have attached a screenshot of the preview in EI.
Attachments:
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

You'll need to play around with the top px and left px to get the positioning correct for your shop.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Eric - I fixed the position problem, and now it works in Chrome & Firefox, but not in IE?! I have attached a screenshot.
Attachments:
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

I don't see the problem. Can I have a link to your page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Eric- I can't give you a link because I have not uploaded the changes to my shop (I want to make sure it works first). After changing code (with the position tweaks) I did a preview in Chrome, Firefox & IE. Only IE didn't work (see my last attachment - you can see an outline where it should be). It's too bad browsers are not standardized. Did you check your page in IE when you placed my yowzerbannerf6b.swf file on your page?
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.