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 201 to 220 of 235
This thread is locked. New replies are disabled.
25 Jun 2009, 2:27 PM
#201
robsnowden avatar

robsnowden

Zen Follower

Join Date:
Apr 2004
Location:
Up t'north, UK
Posts:
264
Plugin Contributions:
0

Problem with Flash Header

I installed the fine fckeditor contribution and this allows you to simply embed your flash movie straight into the page using the define page editor function in admin.

Example: www dot fingertipcrafts dot net

Hope this helps.

Rob

if elephants could fly, I'd be a little more optimistic....

27 Jun 2009, 10:20 PM
#202
shmuel91744 avatar

shmuel91744

New Zenner

Join Date:
Jun 2009
Posts:
2
Plugin Contributions:
0

Re: Problem with Flash Header

Hi Rob

You said you installed the fine fckeditor contribution. What is this how do I get it and where do i find?

thanks

28 Jun 2009, 1:06 PM
#203
robsnowden avatar

robsnowden

Zen Follower

Join Date:
Apr 2004
Location:
Up t'north, UK
Posts:
264
Plugin Contributions:
0

Re: Problem with Flash Header

Hi

Zencart comes with an HTML editor called HTMLarea which for most main uses is fine. If you go to the Free Software Add Ons area (link at top of this page) you will see a contribution called FCKEditor which in my opinion is an improvement on the stock editor. Amongst other things it allows simple placement of flash movies and also (one of my favs) allows you to insert images directly from your pc/mac (HTMLarea only lets you insert images that are already uploaded to the server - ftp).

Go to http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=268 to download FCKEditor, unzip the files and follow the instructions to install. It is a very simple install!

Hope this answers your quesions.

Rob

if elephants could fly, I'd be a little more optimistic....

1 Jul 2009, 9:38 PM
#204
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 read and tryed everything on forums,.... but I still can't make SFWObject to work.

I upploaded the whole map to:

/includes/templates/1228/jscript/swfobject/swfobject.js

My flash file is in:
/includes/templates/1228/buttons/slovensko/slogan.swf

Please could someone explain exactly what should I do?

All that works because of I.E. !!!!!!!
When will people learn to use firefox!?

Sry, I'm a little angry :frusty:

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

2 Jul 2009, 1:04 AM
#205
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

What is your URL?

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

3 Jul 2009, 2:48 AM
#206
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

What version of swfobject.js are you using?

You may want to put your swf in your root.

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

7 Jul 2009, 12:28 PM
#207
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

My version is 2.2

Can you please help me to make the code.

I move the "swfobject" map on my root.

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

7 Jul 2009, 7:31 PM
#208
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

If you want the swf on your main page you would place the code found in my post #121 in **includes/languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php **I used that code for swfobject.js ver 2.1 but I believe it will work for ver 2.2 as well.

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

8 Jul 2009, 2:08 PM
#209
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

Can you please make the code for me.

My "flash movie" is in:

/public_html/basicinstinctlingerie/includes/templates/1228/buttons/slovensko/slogan.swf

My swfobject.js

/public_html/basicinstinctlingerie/swfobject.js

Thank you!

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

8 Jul 2009, 3:18 PM
#210
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

Jeet Kune Do,

 Normally, I would neither place your flash movie (swf) nor would I place the swfobject.js (java script) in their current locations.  But, let us keep them were they are and try to get your movie working on your home page.

What I need is the width and height (in pixels) of your swf movie.

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

9 Jul 2009, 1:40 AM
#211
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

width 468, height 60

The flash movie should be in that location because I need that, each time you change the language, the banner change to configure the selected language.

As I understand I need to put that code in the source:

/public_html/basicinstinctlingerie/includes/templates/1228/buttons/<?php echo $_SESSION['language']; ?>/slogan.swf"

For the swfobject.js i can move it. Please, thell me where.

I would like to put the flash in tpl_header.php at the slogan div.

I dont' know how to write the source.... with http:www, just basicinstinctlingerie/includes.....

I really appreciate your help!

:yes:

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

9 Jul 2009, 1:49 AM
#212
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

I am unaware of language issues. I have never put the swf in tpl_header.php but if you know you need to put it here then so be it. I believe the code you need to use is as follows: ```php

<!--top of flash display-->
<script type="text/javascript" src="basicinstinctlingerie/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-->

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

9 Jul 2009, 2:10 PM
#213
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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript">
			var flashvars = {};
			var params = {};
			var attributes = {};
			swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0", "expressInstall.swf", flashvars, params, attributes);
		</script>
	</head>
	<body>
		<div id="flash player required">
			<a href="http://www.adobe.com/go/getflashplayer">
				<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
			</a>
		</div>
	</body>
</html>

Now the flash is working in explorer, but in firefox i have the: "get the adobe flash player". ( I have version 10.0.......

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

9 Jul 2009, 2:13 PM
#214
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 find a great tutorial here, but maybe I missed something.

http://www.gotoandlearn.com/play?id=77

This tutorial should help a lot of users. I hope.

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

9 Jul 2009, 2:30 PM
#215
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

Check to see if you have loaded in your FF the plugin for adobe flash player.

Sawhrose

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

10 Jul 2009, 2:21 PM
#216
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

Yes, shockwave flash is enabled.

With the old code without swfobject.js it' worked.

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

10 Jul 2009, 3:17 PM
#217
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

My entire code looks like this. Is in tpl_header.php
It works for all the browser exept firefox.

What is intresting is that when I put the code with "firebug" wich inspect element on the page and show you the changes without save it, it works.

When I edit the tpl_header work's only in other browser. In F F i have the gif picture to get flash player.

<div id="slogan">


	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript">
			var flashvars = {};
			var params = {};
			var attributes = {};
			swfobject.embedSWF("slogan.swf", "flash player required", "468", "60", "6.0.0.0", "expressInstall.swf", flashvars, params, attributes);
		</script>
	</head>
	<body>
		<div id="flash player required">
			<a href="http://www.adobe.com/go/getflashplayer">
				<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
			</a>
		</div>
	</body>
</html>


      </div>

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

11 Jul 2009, 3:17 AM
#218
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

I get the same thing you do.

Check your php code. The one you show is not the same as the one I gave you.

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

13 Jul 2009, 8:42 PM
#219
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

Your code work's only in I.E. In F F i have alternative content.

I create the code with the swfobject generator. It' work's, but in F F i have the get the flash player.

So i don't know what to do anymore.... :frusty:

Thank you for your help!

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

14 Jul 2009, 12:55 AM
#220
sawhorse avatar

sawhorse

Zen Follower

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

Re: Problem with Flash Header

It is as if swfobject.js can't be found. Where is it currently located?

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