Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash links not working when viewed in Flash 9 but work in Flash 8


Guest

Recommended Posts

Posted

Hey guys, I'm not sure if this is the correct place to post this issue and I hope I'm not asking something that has been answered. I tried searching for it but didnt see it so here we go.

 

my clients site is

 

http://www.americancandg.com

 

You'll notice on the main page there is a cabinet selection flash video. If you are using flash player 8 you will be able to click on the cabinets and the links work. Using Flash 9 they do not. Due to the way this template was setup the flash has to be called from a .js file called gallery.js. Here is the code from that file:

 

function RunGallery()

{

document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" border="0" width="530" height="700" align="center"/>\n');

document.write('<param name="movie" value="cabinetselection.swf"/>\n');

document.write('<param name="quality" value="High"/>\n');

document.write('<param name="wmode" value="transparent"/>\n');

document.write('<param name="bgcolor" value="#FFFFFF"/>\n');

document.write('<embed src="cabinetselection.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="530" height="700" quality="High" />\n');

document.write('</embed>\n');

document.write('</object>\n');

}

 

 

Any and all suggestions are greatly appreciated!

Posted

Hi Dj,

 

I would suggest changing the cab#version=5,0,0,0" to the latest version of cab#version=6,0,40,0". I have never come across the problem your describing but forcing the latest version might correct the error.

 

Let me know if that works.

 

 

Chris

Posted
Hi Dj,

 

I would suggest changing the cab#version=5,0,0,0" to the latest version of cab#version=6,0,40,0". I have never come across the problem your describing but forcing the latest version might correct the error.

 

Let me know if that works.

 

 

Chris

 

awsome Chris, I will give this a try tonight or maybe when I head home for lunch and I'll let you know the results.

 

thanks

Posted

just went home and updated it and it doesnt seem to make a difference )-:

Posted

its so bizzare because it seems like there is more then one issue. for example if i use a pc that i have that will not load the page with working links while being viewed inside the oscom page but if you browse directly to the

 

http://www.americancandg.com/cabinetselection.swf

 

the links work! its only when they are called by the .js that they do not. i can put them into a regular .html or .php doc and the work no problem... but the .js is where the issue happens. i can also confirm the some versions of flash 9 will load the working links and all version of 8 on back will as well but the newer flash 9 player releases do not load them 100% of the time.

 

)-:

Posted

a little more info:

 

i just created a test document:

 

http://www.americancandg.com/indextest.php

 

the top menu (in the blue box) is called by a .js file exactly like the one on the cabinet select window and the one beneth it is simply called as an object in the .php file:

 

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="385" height="400" id="rich" align="middle">

<param name="allowScriptAccess" value="sameDomain" />

<param name="movie" value="rich.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="rich.swf" quality="high" bgcolor="#ffffff" width="385" height="400" name="rich" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>

 

for whatever reason neither of the flash videos links work... but!

 

if you goto the straight html page generated by flash

 

http://www.americancandg.com/rich.html

 

and you'll see the exact same flash video with the links working...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...