Log in

View Full Version : Help needed loading flash on Angelfire



Spaceseeker
08-14-2008, 09:23 PM
Hi - I'm a newbie and am having problems loading my flash content on my Angelfire site. I developed the web page on Dreamweaver and it worked a charm - however I've had no luck getting it to work when i upload it. Any help would be fantastic. The flash content has been loaded into the following files: In "Scripts" is "AC_RunActiveContent.js" and in the "Video" file are :"Clear_Skin_2.swf" "FLVPlayer_Progessive.swf" and "Nightlineflash.flv" the flash coding for the page is:





<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
with(navigator){
var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
if (!isIE || !isWin){
var flashVer = -1;
if (plugins && plugins.length > 0){
var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
if (desc == "") flashVer = -1;
else{
var descArr = desc.split(" ");
var tempArrMajor = descArr[2].split(".");
var verMajor = tempArrMajor[0];
var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
flashVer = parseFloat(verMajor + "." + verMinor);
}
}
// WebTV has Flash Player 4 or lower -- too low for video
else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

var verArr = reqVerStr.split(",");
var reqVer = parseFloat(verArr[0] + "." + verArr[2]);

if (flashVer < reqVer){
if (confirm(msg))
window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
}
}
}
}
</script>
<script src="./Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->

<tr>
<td width="31" height="16"></td>
<td width="82"></td>
<td width="14"></td>
<td width="560"></td>
<td width="113"></td>
</tr>
<tr>
<td height="105"></td>
<td></td>
<td></td>
<td valign="top"><p>&nbsp;</p>
<div align="center"><span class="style21">Ian Kingstone on Nightline<p> Coming Soon</span> </div> <p>&nbsp;</p></td>
<td></td>
</tr>
<tr>
<td height="28"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="434"></td>
<td>&nbsp;</td>
<td colspan="2" align="center" valign="top"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','500','height','393','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=./Video/NightlineFlash&autoPlay=true&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="393" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=./Video/NightlineFlash&autoPlay=true&autoRewind=false" />
<embed src="./Video/FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=./Assets/NightlineFlash&autoPlay=true&autoRewind=false" quality="high" scale="noscale" width="500" height="393" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</embed>
</object>
</noscript></td>
<td></td>
</tr>


<tr>
<td height="19">&nbsp;</td>
<td colspan="3" valign="top"><p>&nbsp;</p>
<hr width="800" size="1" class="style13" />
<p>&nbsp;</p>
</td>
<td></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
<td>&nbsp;</td>
</tr>



If anyone can help?!?! I am hoping it is a small coding problem - but i am clueless!

Thanks :)

techno_race
08-14-2008, 10:52 PM
What exactly are you trying to do? I gave up on your code after about 70 lines.
Also, it might help if we could see your Flash files.

Medyman
08-15-2008, 04:00 AM
1) Use SWF Object to embed Flash.
2) Provide a link to your site, so we can see whats up
3) If it works locally and not on the server, that indicates a server issue.

Spaceseeker
08-17-2008, 02:37 AM
Sorry about the delay getting back to you - was kidnapped by my kids yesterday!

The site is iankingtone.com I am trying to load a video on the page that you can access through the "Ian Kingstone on Nightline" pic on the home page.

As i said before the vid works on Dreamweaver which suggest to me that it just isnt accessing the flash files properly where they are loaded on the Angelfire Web Shell. As far as I can make it out these are the associated flash files.

/Scripts

AC_RunActiveContent.js

/Video

Clear_Skin_2.swf" "FLVPlayer_Progessive.swf

Nightlineflash.flv


Strange that it doesnt seem to refer to the "Nightlineflash.flv" in the coding

Any other info i can provide that might help?

Spaceseeker

Spaceseeker
08-17-2008, 03:02 AM
YE HA!!

I swapped some files round and got it to work

Thanks anyway guys!

Spaceseeker