Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Confused about flash link configuration

Confused about flash link configuration

Locked

Views: 800

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Apr 2010, 3:44 PM
#1
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Confused about flash link configuration

Hi everyone. I have downloaded the editable sidebox and have installed a simple flash script through the define pages editor. It is basically rolling images and you can click on whatever image you wish to go to. I'm using page2 and page3 links provided with zen cart, so my first flash image should take you to index.php?main_page=page_2 when clicked on.... but I get no response to the link. To test the flash, I embedded the code into an html test page, and it brings up page2 fine.

So I'm pretty sure this problem is with my limited programming skills... I'm using a flash script within html to make a call to a php link and I have no idea what I should try next.

thanks!

28 Apr 2010, 3:59 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Confused about flash link configuration

Provide your current code & where you have it now
Use the code tags to eter it here

29 Apr 2010, 5:58 AM
#3
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Confused about flash link configuration

ok sensei, here's the code from html_includes/define_editable_sidebox_content.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Flash</title> </head> <body> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="57"> <param name="movie" value="http://www.oc-music.com/images/artists.swf"> <param name="quality" value="high"> <embed src="http://www.oc-music.com/images/artists.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="131" height="57"></embed> </object> </body> </html>

As I say, the flash is working properly, except for the links.

For the links in my flash file, I'm using:
http://www.oc-music.com/index.php?main_page=page_2 and
http://www.oc-music.com/index.php?main_page=page_3

Here's something new: when I use the _blank feature for the links, they will work properly, but it opens up a new page.... dang. If I use the _self or _parent commands, nothing happens. Just for giggles, I also removed the first line <!doctype HTML etc to see if there was some weird incompatibility but no change.

Ok, I think that about says it all. thanks for looking into this.

29 Apr 2010, 6:01 AM
#4
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Confused about flash link configuration

Thought I figured it out but no go

29 Apr 2010, 6:07 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Confused about flash link configuration

As youy are not creating a html page everything above the head is not requirred/desired
You should only need this

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="131" height="57">
<param name="movie" value="http://www.oc-music.com/images/artists.swf">
<param name="quality" value="high">
<embed src="http://www.oc-music.com/images/artists.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="131" height="57"></embed>
</object>
30 Apr 2010, 2:42 AM
#6
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Confused about flash link configuration

I first tried only using that script, but it didn't work. I thought maybe it was a compatability problem and added the other stuff.

30 Apr 2010, 4:48 AM
#7
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Confused about flash link configuration

mrcastle:

As I say, the flash is working properly, except for the links.

So... are you having problems in IE7 or below? Firefox? What version of flash you using... 8, CS3? Are you using AS3, 2, getUrl() or _url = LoaderInfo(root.loaderInfo).parameters.clickTag;

mrcastle:

Here's something new: when I use the _blank feature for the links, they will work properly, but it opens up a new page.... dang. If I use the _self or _parent commands, nothing happens.

I'll take a guess at it.... If your not coding to at lest flash 9 or above, and your not using _top in the url, then IE7 and above may have a fit and not load the link... Firefox will... most of this would be problems with the use of 'clickTag' if you don't code for version 9 or above. The Adobe support site would have more on problems with IE not taking links.

30 Apr 2010, 6:03 AM
#8
mrcastle avatar

mrcastle

Zen Follower

Join Date:
Feb 2010
Posts:
205
Plugin Contributions:
0

Re: Confused about flash link configuration

solution.... I looked around and some one had mentioned not using the www in the link description and just going with the http://yourwebsite.com I thought it was pretty lame but worth trying and damned if it didn't start to work properly... so weird.