Forums / Templates, Stylesheets, Page Layout / Problem with Flash Header

Problem with Flash Header

Locked

Started by nacidoporfe on 22 Sep 2006, 3:18 AM · Views: 95,615

Results 81 to 100 of 235
This thread is locked. New replies are disabled.
15 Jun 2008, 4:39 AM
#81
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Problem with Flash Header

Category sideboxes images...incorrect template specified
i.e.

includes/templates/template_default/images/bc_cat_no_sub.gif

You are currently using template named

includes/templates/arch_shoppe/

FLASH....do not see any code for flash header when view source coding

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 3:12 PM
#82
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

Awesome I know I didn't actually totally figure out how to fully switch from template_default to a custom template most of the time i just copy the same thing in both. But i always keep a back up every time i change something so i can also revert back to how it was before that change. I was able to get rid of all the dumb red x's thinks to you. Now for the flash I am sorry i didnt expalin myself. I dont have a flash banner as of yet, but on the "photogallery" page I do have a flash photogallery that seems to only work on specific computers. Can you look at it and tell me what could be going wrong. Thanks again for the help.

http://wpc-consulting.com/~stxmill/

16 Jun 2008, 4:02 PM
#83
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

on the "photogallery" page I do have a flash photogallery that seems to only work on specific computers. Can you look at it and tell me what could be going wrong.
Visit url below, ESPECIALLY POST NUMBER 7
http://www.zen-cart.com/forum/showthread.php?p=266210#post266210
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 5:01 PM
#84
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

I am sorry i tried but no success. Now it just shows a black and grey box on all the computers i have tested it with. I know it is because something i did wrong. I downloaded the java file and uploaded it "uncompressed" to includes/templates/YOUR_TEMPLTE/jscript/swfobject.js of course replaceing YOUR_TEMPLATE with my own. I didn't do what it told me to do about the tpl_header because i am not trying to put anything in the header i am putting it on another page. So what i did was when to the define page editor and placed this code into the html page

<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "560", "7", "#000000"); so.write("flashcontent"); </script>

I took at the logowrapper and such because i didnt think it needed all that since it wasn't the header. This is a regular php file not a header. Please let me know what you think.

http://www.wpc-consulting.com/~stxmill/

go to the photogallery page

16 Jun 2008, 5:16 PM
#85
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "560", "7",
Not sure that code above is correct, and as don't have actual flash swf
file cannot test BUT for header flash you would enter following path

includes/templates/arch_shoppe/photo_tutorial.swf

You may need to experiment with paths.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 5:26 PM
#87
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

My flash file is located here and you can few it directly from this link
That's fine BUT not possible to save swf's from an url..
plus no idea how you have integrated this photogallery into your
zencart site.
Code on page quoted earlier does work.. you just have to adapt
it to your usage, including necessary/correct paths to both swf
and javascript file.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 5:30 PM
#88
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

I copied the swf to where you said "includes/templates/arch_shoppe/photo_tutorial.swf" and it made no difference. I actually couldnt even access it via the url. I typed in http://www.wpc-consulting.com/~stxmill/includes/templates/arch_shoppe/photo_tutorial.swf

I tried typing in different paths in the define page editor but none of them made any difference. I actually had this working on my computer and another computer with the other settings i just couldnt figure out why it wouldnt work on any other computers. Now with this code it wont work on any. Not sure what is going on. I have found lots of different snippets of code but not sure which one will work for all computers or at least the majority of them. Because i know the other computers i tested the site on did in fact have flash installed.

<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
   var so = new SWFObject("includes/templates/arch_shoppe/photo_tutorial.swf", "photo_tutorial.swf", "550", "460", "7", "#000000");
   so.write("flashcontent");
</script>  
16 Jun 2008, 5:43 PM
#89
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

This text is replaced by the Flash movie.
Please post EXACT code you have there

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 5:47 PM
#90
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

OK right now i have this code

<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
   var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "460", "7", "#000000");
   so.write("flashcontent");
</script>  

This seems to be the closest to working. My path to the jscript file is correct i double check it. I am a little worried yes about the gallery3/photo_tutorial.swf path however before i changed the code up that path was working at least on two computers. How can i help you to help me figure this out.

If i go to my page right now it actually shows a black and grey box. Not the text like yours showed. Try again

http://www.wpc-consulting.com/~stxmill/index.php?main_page=photo_gallery

16 Jun 2008, 5:50 PM
#91
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

How can i help you to help me figure this out.
YOU DID NOT DO what I requested in my last post
i.e.
This text is replaced by the Flash movie.
Please post EXACT code you have there

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 5:57 PM
#92
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

Unless I am not understanding the question that is what i did. I am in zen carts admin in define pages for photogallery.php. Under plain html all the code that is in there RIGHT NOW is what i posted in my last post. If this is not what you are looking for i am sorry for misunderstanding you please explain.

16 Jun 2008, 6:03 PM
#93
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

Your previous post number 84

So what i did was when to the define page editor and placed this code into the html page

 
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
[B]This text is replaced by the Flash movie.[/B]
</div>
<script type="text/javascript">
var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "550", "560", "7", "#000000");
so.write("flashcontent");
</script> 
 

Marked red...is that all you have there?? NO CODE for flash?
If so this is incorrect.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 6:06 PM
#94
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

OH yes that is exactly what i have. I am sorry lol. I actually thought that the text there would mean that if the flash object was unavailabe or something this text would be in its place. So what needs to go there? The url as gallery3/photo_tutorial.swf. or just photo_tutorial.swf?

16 Jun 2008, 6:13 PM
#95
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

SAMPLE code below should be what goes at
This text is replaced by the Flash movie.
i.e.

<script type="text/javascript" src="includes/templates/yourtemplate/js/swfobject.js"></script>
 <div id="flashcontent">
   <center>
   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="[URL]http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0[/URL]"
     id="Movie7a" width="760" height="194">
     <param name="movie" value="Movie7a.swf">
     <param name="quality" value="high">
     <param name="bgcolor" value="#FFCCCC">
     <embed name="Movie7a" src="Movie7a.swf" quality="high" bgcolor="#FFCCCC"
       width="760" height="194"
       type="application/x-shockwave-flash"
       pluginspage="[URL]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash[/URL]">
     </embed>
   </object>
</center>
 <script type="text/javascript">
    var so = new SWFObject("includes/templates/yourtemplate/Movie7a.swf", "YOUR_HEADER", "760", "194", "7", "#FFCCCC");
    so.write("flashcontent");
</script>

THIS IS WHY your flash is not working..most of required
flash code is missing.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 6:19 PM
#96
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

OK i have put this in...This is my full code. Is this correct or did i screw something else up?

<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="Movie7a" width="760" height="194">
     <param name="movie" value="photo_tutorial.swf">
     <param name="quality" value="high">
     <param name="bgcolor" value="#FFCCCC">
     <embed name="Movie7a" src="gallery3/photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
       width="760" height="194"
       type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
     </embed>
   </object>
</center>
 <script type="text/javascript">
    var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "760", "494", "7", "#FFCCCC");
    so.write("flashcontent");
</script>
16 Jun 2008, 6:28 PM
#97
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

<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="Movie7a" width="760" height="194">
     <param name="movie" value="photo_tutorial.swf">
     <param name="quality" value="high">
     <param name="bgcolor" value="#FFCCCC">
     <embed name="Movie7a" src="gallery3/photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
       width="760" height="194"
       type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
     </embed>
   </object>
</center>
 <script type="text/javascript">
    var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "760", "494", "7", "#FFCCCC");
    so.write("flashcontent");
</script>

You have copied my SAMPLE CODE..
you need to adapt/replace certain parts of that code with
your own paths/sizes etc..
Marked red is incorrect and
it is NOT your full code...
This code should be what goes at
This text is replaced by the Flash movie.

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 6:40 PM
#98
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

WOW!!! OK i am very confused but this is what i tried doing. I copied the first piece of code you gave me at the beginning which was;

<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
   var so = new SWFObject("includes/templates/arch_shoppe/photo_tutorial.swf", "photo_tutorial.swf", "550", "460", "7", "#000000");
   so.write("flashcontent");
</script>

I then added the last piece of code you gave me which was

<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="Movie7a" width="760" height="194">
     <param name="movie" value="photo_tutorial.swf">
     <param name="quality" value="high">
     <param name="bgcolor" value="#FFCCCC">
     <embed name="Movie7a" src="gallery3/photo_tutorial.swf" quality="high" bgcolor="#FFCCCC"
       width="760" height="194"
       type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/shockwave/...ShockwaveFlash">
     </embed>
   </object>
</center>
 <script type="text/javascript">
    var so = new SWFObject("gallery3/photo_tutorial.swf", "photo_tutorial.swf", "760", "494", "7", "#FFCCCC");
    so.write("flashcontent");
</script>

Then i changed it to what i think it should be which is still wrong probably. I am not sure what to replace Movie7a with. I was thinking the name of the swf file. Here is my FULL current code.

 
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">





<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.swf" width="760" height="194">
     <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="760" height="194"
       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", "760", "494", "7", "#FFCCCC");
    so.write("flashcontent");
</script>





</div>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/jscript/swfobject.js", "550", "560", "7", "#000000");
so.write("flashcontent");
</script>
16 Jun 2008, 7:02 PM
#99
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Problem with Flash Header

Still incorrect re YOUR Sizes,Colours and PATHS, marked RED

<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.swf" width="760" height="194">
     <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="760" height="194"
       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", "760", "194", "7", "#FFCCCC");
    so.write("flashcontent");
</script>

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Jun 2008, 7:10 PM
#100
welchyboy avatar

welchyboy

Zen Follower

Join Date:
Apr 2008
Posts:
274
Plugin Contributions:
0

Re: Problem with Flash Header

Its not working...The size and color shouldnt matter. I can change that to make it proportional or fit better on the page later. I just need it to work corerctly and it doesn't seem to be doing anything.

 
<script type="text/javascript" src="includes/templates/arch_shoppe/jscript/swfobject.js"></script>
<div id="flashcontent">





<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.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>





</div>
<script type="text/javascript">
var so = new SWFObject("includes/templates/arch_shoppe/jscript/swfobject.js", "600", "450", "7", "#000000");
so.write("flashcontent");
</script>