Flash not working after upgrade to 1.11.10

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

Flash not working after upgrade to 1.11.10

Post by mechatech »

I just upgraded a 1.6 site to 1.9.2 successfully. Then I upgraded to 1.11.10, after that I fixed all of the deprecated stylesheet and url([[root_url]]/ code. The site is running fine except the .swf files that were on the homepage no longer work.

The flash player is using jquery like this.

Code: Select all

<__script__ type="text/javascript" src="js/global/swfobject.js"></__script>
<__script__ type="text/javascript" src="js/jquery-1.3.2.min.js"></__script>

Code: Select all

	 var flashvars = {};
var params = {};
 params.menu = "false";
params.quality = "best";
params.wmode = "transparent";
flashvars.xmlAdr = "index.php?page=gallery-xml";
flashvars.gname = "gallery=Home+Page+Images";
flashvars.borderWidth = "9";
flashvars.transDuration = "2";
flashvars.galleryWidth = "639";
flashvars.galleryHeight = "347";
var attributes = {};
swfobject.embedSWF("swf/flash_gallery.swf", "mainimages", "647", "355", "8.0.0", false, flashvars, params, attributes);

Code: Select all

<div id="right_content">
        	<div id="mainimages"></div>
Not sure what changed in the new version to break this. Hopefully somebody has some clues for this, thanks.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Flash not working after upgrade to 1.11.10

Post by velden »

Doesn't look like CMSMS is involved in this at all actually. Javascript is interpreted by the browser, not CMSMS.
You should have a look at the page source (from browser) and check that everything is there as expected.

A link to the site/page might help solving this.
hasanen
Forum Members
Forum Members
Posts: 38
Joined: Tue Feb 15, 2011 8:44 am
Location: Helsinki, Finland

Re: Flash not working after upgrade to 1.11.10

Post by hasanen »

mechatech wrote: The flash player is using jquery like this.

Code: Select all

<__script__ type="text/javascript" src="js/global/swfobject.js"></__script>
<__script__ type="text/javascript" src="js/jquery-1.3.2.min.js"></__script>
Without seeing actual site, I'd say problem is with those urls (perhaps missing leading slash?). But like velden said, link would help.
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

Re: Flash not working after upgrade to 1.11.10

Post by mechatech »

Thanks, I am using this as a push to get away from flash and go all jquery on the slideshows. Thanks
Locked

Return to “[locked] Installation, Setup and Upgrade”