Re: Problem with Flash Header
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
ERROR ABOVE .. DUPLICATED CODE
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
id="photo_tutorial.swf" width="600" height="450">
<param name="movie" value="photo_tutorial.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFCCCC">
<embed name="/gallery3/photo_tutorial.swf" src="photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
width="600" height="450"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
</embed>
</object>
</center>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/jscript/swfobject.js", "photo_tutorial.swf", "600", "450", "7", "#FFCCCC");
so.write("flashcontent");
</script>
INCORRECT
Code:
<embed name="/gallery3/photo_tutorial.swf" src="photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
Should be
Code:
<embed name="photo_tutorial" src="photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
Actual swf file should be in includes/templates/arch_shoppe/
Have to go offline now as reside in UK..will check this thread when return..
Re: Problem with Flash Header
NOTE>>>
Code:
id="photo_tutorial.swf"
is also incorrect.. should be
Code:
id="photo_tutorial"
Re: Problem with Flash Header
I just cant get it this is driving me insane...I have changed the directory to "includes/templates/arch_shoppe/flash/photo_tutorial.swf
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
id="photo_tutorial" width="600" height="450">
<param name="movie" value="/flash/photo_tutorial.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFCCCC">
<embed name="photo_tutorial" src="/flash/photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
</embed>
</object>
</center>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/jscript/swfobject.js", "photo_tutorial.swf", "600", "450", "7", "#FFCCCC");
so.write("flashcontent");
</script>
Not doing ANYTHING
Re: Problem with Flash Header
TRY CODE BELOW
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
<center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/...ersion=4,0,0,0"
id="photo_tutorial" width="600" height="450">
<param name="movie" value="photo_tutorial.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFCCCC">
<embed name="photo_tutorial.swf" src="photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
width="600" height="450"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
</embed>
</object>
</center>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/photo_tutorial.swf", "600", "450", "7", "#FFCCCC");
so.write("flashcontent");
</script>
MAKE SURE SWF file is in
includes/templates/arch_shoppe/photo_tutorial.swf
If this does not work, then please contact me via PM.. you will need to send
me actual swf file, via email, so can test myself.
Will recheck this thread when return online tomorrow.
Re: Problem with Flash Header
I have even tried other random codes and still nothing. I have the complete flash folder in /flash. The pictures, thembnails .as and everything. I dont understand why it isnt working correctly. It works if i go to the swf from the url. It makes no sense. Can anyone help out. My random code which i just tried and still had no sucess...
Code:
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<object type="application/x-shockwave-flash" data="includes/templates/arch_shoppe/flash/photo_tutorial.swf" width="600" height="400">
<param name="movie" value="includes/templates/arch_shoppe/flash/photo_tutorial.swf" />
<img src="includes/templates/arch_shoppe/images/header.jpg" border="0" width="600" height="400" ISMAP USEMAP="#headermap"/></object>
<map id ="headermap"
name="headermap">
<area shape="poly" coords="48,6,39,31,122,31,131,6" href="index.php" title="" />
<area shape="poly" coords="138,6,129,31,213,31,222,5,138,5" href="index.php?main_page=page&id=3&chapter=0" title="" />
<area shape="poly" coords="228,5,312,5,302,33,218,33" href="index.php?main_page=page&id=4&chapter=0" title="" />
<area shape="poly" coords="318,5,402,5,392,32,308,32" href="index.php?main_page=page&id=20&chapter=0" title="" />
<area shape="poly" coords="407,5,493,5,482,32,398,32" href="index.php?main_page=page&id=7&chapter=0" title="" />
<area shape="poly" coords="497,6,581,6,571,32,488,32" href="index.php?main_page=page&id=13&chapter=0" title="" />
<area shape="poly" coords="587,5,673,5,662,33,578,33" href="index.php?main_page=contact_us" title="" />
<area shape="poly" coords="679,6,761,6,751,32,668,32" href="index.php?main_page=login&zenid=e1cdb7491df4 ***193c7f9c6f3fcbd" title="" />
</map>
Re: Problem with Flash Header
Looked at this problem again
http://www.wpc-consulting.com/~stxmi...o_tutorial.swf
There are small images attached to this swf file, stored in your folder
/gallery3
It may be that these smaller images also need to be in your template
folder, but as stated before, without complete swf and everything
that it consists of, cannot test further.
Re: Problem with Flash Header
Welchyboy..
After receiving necessary files from you, via email, have
successfully integrated your flash gallery into demo zencart site, using ezpages...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to:
All files received are extracted from folder, gallery3,
..except the swfobject.js file, which remains in current template
js folder.
gallery3 folder.. on extraction, keep remaining folder/s structures intact,
and they go into main zencart folder, where your index.php is stored
Upload to where stated above, via ftp
That's it.. will send you, via email, code to enter into your new ezpage.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demo site, tested in IE6, IE7, Firefox and Safari
at
http://www.dezinashop.com/demo/index...age=page&id=20
:clap:
Re: Problem with Flash Header
BEAUTIFUL!!! So the key was to have it in the MAIN directory of the site. Got it. Thanks for taking the time out to help out i know you spend valuable time on it and i honestly appreciate it. Works great on all the computers i have tested.
Re: Problem with Flash Header
Quote:
So the key was to have it in the MAIN directory of the site
Up to a point, yes, except js file..Bear in mind that this method may NOT work
on all zencart flash integration using ezpages..plus code entered into ezpage must
be spot on re paths etc....
Also depends on flash file and any other folders/files associated with that file.
:smartalec:
Re: Problem with Flash Header
Thanks to this thread I now have a flash header!!
Thanks Everyone!