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 221 to 235 of 235
This thread is locked. New replies are disabled.
14 Jul 2009, 1:37 PM
#221
jeet_kune_do avatar

jeet_kune_do

Zen Follower

Join Date:
Nov 2008
Location:
Slovenija
Posts:
119
Plugin Contributions:
0

Problem with Flash Header

On the root.

I love internet and the power of information... Best Wishes!!

14 Jul 2009, 6:59 PM
#222
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

Ok, that is not were I though it was located. This is what I thought

Old Code

<script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
```New Code (if file is in root)
```php
    <script type="text/javascript" src="swfobject.js"></script>
```So the total code should look like:
```php
<!--top of flash display-->

    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    if (swfobject.hasFlashPlayerVersion("6.0.0")) {
      var fn = function() {
        var att = { data:"includes/templates/1228/buttons/slovensko/slogan.swf", width:"468", height:"60"};
        var par = { flashvars:"foo=bar" };
        var id = "replaceMe";
        var myObject = swfobject.createSWF(att, par, id);
      };
      swfobject.addDomLoadEvent(fn);
    }
    </script>
    <div id="replaceMe">Alternative content</div>

<!--bottom of flash display-->  
```I am assuming that you have not moved your swf file.

Try the above and see if it can find the file.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

20 Jul 2009, 9:38 PM
#223
jeet_kune_do avatar

jeet_kune_do

Zen Follower

Join Date:
Nov 2008
Location:
Slovenija
Posts:
119
Plugin Contributions:
0

Re: Problem with Flash Header

I moved it and also tryed one more time this code, but in firefox I had the alternative text.

I love internet and the power of information... Best Wishes!!

21 Jul 2009, 2:01 AM
#224
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

My intent was to change the code to match where your swfobject.js was locacted not to move swfobject.js

I do not know what else to suggest.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

21 Jul 2009, 12:11 PM
#225
jeet_kune_do avatar

jeet_kune_do

Zen Follower

Join Date:
Nov 2008
Location:
Slovenija
Posts:
119
Plugin Contributions:
0

Re: Problem with Flash Header

Thank's a lot for your support!

If I make it to work, I will post here.

Have a great time!

I love internet and the power of information... Best Wishes!!

22 Jul 2009, 12:00 AM
#226
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

Thank you, any information you can provide to the forum will be appreciated.

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

30 Aug 2009, 6:39 PM
#227
littlehawk avatar

littlehawk

New Zenner

Join Date:
Jan 2009
Posts:
85
Plugin Contributions:
0

Re: Problem with Flash Header

Hi guys,
This is what I put in my site, I still have a problem is that, I am operating a multi language site, is there any method to make bannerschange according to different languages?

<script type="text/javascript"> var swf_width=595 var swf_height=220 var files='images/banners/banner01.jpg|images/banners/banner02.jpg|images/banners/banner03.jpg|images/banners/banner03.jpg' var links='' var texts='' document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">'); document.write('<param name="movie" value="images/bcastr3.swf"><param name="quality" value="high">'); document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">'); document.write('<embed src="images/banners/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); </script>
31 Aug 2009, 8:46 PM
#228
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problem with Flash Header

If you really want to cheat use Photobucket I have for a few .swf and .flv files and it works great. Gives you 4 kinds of script to use.
Edit your stylesheet, and header info. Works both in IE and FF.

20 Sep 2009, 7:05 AM
#229
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problem with Flash Header

LordGemz:

If you really want to cheat use Photobucket I have for a few .swf and .flv files and it works great. Gives you 4 kinds of script to use.
Edit your stylesheet, and header info. Works both in IE and FF.

I just found out if you use photobucket or any or image db, you more and likely can't get your SSL to work.

This coincides with thread:
http://www.zen-cart.com/forum/showthread.php?t=137064

13 Mar 2010, 12:45 AM
#230
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Problem with Flash Header

Hi Guys,

I would like to add a flash banner to my site on zen cart 138a. The domain is https://www.sexylingerie4u.com.au. I would like to know if possible which code to insert on which page to allow me to display flash file called lingerie4u.swf .

Where should I save this swf file.

Many Thanks

Renz

13 Mar 2010, 2:13 AM
#231
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

Look at post 121 in this thread it might help.

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Mar 2010, 4:21 AM
#232
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Problem with Flash Header

Hi Sawhorse

Thanks for your fast reply, I had seen that but I did not understand any of it...or if it was what I needed where I should have put it and what to change to point it to my file. I thought that was for JS or something.

I have also come across the following

<object type="application/x-shockwave-flash" data="includes/templates/theme163/images/lingerie4u.swf" width="100%" height="100"> <param name="movie" value="includes/templates/ theme163/images/lingerie4u.swf" /><param name="quality" value="high"><param name="BGCOLOR" value="#000000"><param name="menu" value="false"> </object>

this worked for me in includes/templates/theme163/common/tpl_header.php however this is not where I wanted it. I actually want it in place of the lady with the bra https://www.sexylingerie4u.com.au.

I don't know if its the right code.

Cheers

Renz

13 Mar 2010, 4:34 AM
#233
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

Look in bannerTwo for location

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com

13 Mar 2010, 4:51 AM
#234
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Problem with Flash Header

Sawhorse:

Look in bannerTwo for location

Hi Friend, I have no idea what you are instructing me to do...

Regards

Renz

13 Mar 2010, 5:08 AM
#235
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

Re: Problem with Flash Header

What I am saying the your image ```
<img height="310" width="585" title=" Lingerie 4u " alt="Lingerie 4u" src="images/header_banner.jpg">


You can search for either and you can see were they are located and I believe you noted that the current location that you were able to place the swf > is not where I wanted it.  I actually want it in place of  the lady with the bra so the search should be able to locate the file.

I need to leave now, but others may be able to help further.  I am not a programmer. 

Sawhorse

ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com