...

View Full Version : Flash not working in Mozilla, IE.. please help!



hellobenna
09-28-2009, 02:19 PM
Hello! I'm totally new at using Flash, so bear with me. Any help will be so appreciated!

I am trying to run two different Flash players on my site. One is an mp3 player, and one is Simpleviewer (photo gallery). In Safari, everything works beautifully. Unfortunately, in both IE and Mozilla, one or the other works. So sad.

Here is a link to my site:

http://www.bennaimages.com/walljaspe...ridge/coolcats

Can anyone please help? I'm completely inexperienced, so if you do respond, please be as detailed as possible. Thank you so much!

_Aerospace_Eng_
09-28-2009, 02:50 PM
Link doesn't work.

hellobenna
09-28-2009, 02:59 PM
Sorry about that!!!

<http://www.bennaimages.com/walljaspershortridge>

_Aerospace_Eng_
09-28-2009, 05:01 PM
Change this

<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[

var flashvars = {};
var params = {};
var attributes = {};

// SETUP
flashvars.autoLoad = "false";
flashvars.autoPlay = "true";
flashvars.repeat = "true";
flashvars.volume = "1";
flashvars.width = "800";
// SONGS
// song 1
flashvars.song1url = "http://www.bennaimages.com/music/02%20-%20Another%20One%20Bites%20The%20Dust.mp3";
flashvars.song1artist = "Queen";
flashvars.song1songname = "Another One Bites the Dust";
// song2
flashvars.song2url = "http://www.bennaimages.com/music/02%20The%20Distance.mp3";
flashvars.song2artist = "Cake";
flashvars.song2songname = "The Distance";
// song3
flashvars.song3url = "http://www.bennaimages.com/music/11%20I%20Want%20To%20Know%20What%20Love%20Is.mp3";
flashvars.song3artist = "Foreigner";
flashvars.song3songname = "I Want to Know What Love Is";
// END SETUP

params.play = "false";
params.scale = "noscale";
params.salign = "tr";
params.swliveconnect = "true";
params.allowscriptaccess = "always";
params.bgcolor = "#252323";

attributes.id = "mp3player";

swfobject.embedSWF("mp3player.swf", "mp3player-altcontent", flashvars.width, "33", "9.0.0", "js/expressInstall.swf", flashvars, params, attributes);

//]]>
</script>
<div id="mp3player-altcontent">You need to upgrade your flash player</div>

to this

<div id="mp3player-altcontent">You need to upgrade your flash player</div>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[

var flashvars = {};
var params = {};
var attributes = {};

// SETUP
flashvars.autoLoad = "false";
flashvars.autoPlay = "true";
flashvars.repeat = "true";
flashvars.volume = "1";
flashvars.width = "800";
// SONGS
// song 1
flashvars.song1url = "http://www.bennaimages.com/music/02%20-%20Another%20One%20Bites%20The%20Dust.mp3";
flashvars.song1artist = "Queen";
flashvars.song1songname = "Another One Bites the Dust";
// song2
flashvars.song2url = "http://www.bennaimages.com/music/02%20The%20Distance.mp3";
flashvars.song2artist = "Cake";
flashvars.song2songname = "The Distance";
// song3
flashvars.song3url = "http://www.bennaimages.com/music/11%20I%20Want%20To%20Know%20What%20Love%20Is.mp3";
flashvars.song3artist = "Foreigner";
flashvars.song3songname = "I Want to Know What Love Is";
// END SETUP

params.play = "false";
params.scale = "noscale";
params.salign = "tr";
params.swliveconnect = "true";
params.allowscriptaccess = "always";
params.bgcolor = "#252323";

attributes.id = "mp3player";

swfobject.embedSWF("mp3player.swf", "mp3player-altcontent", flashvars.width, "33", "9.0.0", "js/expressInstall.swf", flashvars, params, attributes);

//]]>
</script>

hellobenna
09-28-2009, 09:00 PM
Okay, I edited the script, but it's still not working:

<http://www.bennaimages.com/walljaspershortridge/coolcats>

_Aerospace_Eng_
09-29-2009, 03:11 PM
Your code does not reflect the changes I told you to make.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum