PDA

View Full Version : dreamweaver flash firefox help


wdaniel
02-07-2008, 11:03 PM
hello,

I'm having issues with Firefox. the problem is that my control flash shock wave behaviors don't work in Firefox but work fine in explore. I'm trying to get it so when you roll over the image in one table it plays the flash.swf file in another table and whey move the mouse out it goes away. i know my set up is right because it works fine in explore just not in firefox. I'm on the latest ver of Firefox and using dreamweaver mx 2004. any suggestions........


w................

danlefeb
02-08-2008, 07:29 AM
Do you have a link we can look at? Or perhaps the source code?

wdaniel
02-08-2008, 04:23 PM
page is not up yet here is the code.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_controlShockwave(objStr,x,cmdName,frameNum) { //v3.0
var obj=MM_findObj(objStr);
if (obj) eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
}
//-->
</script>
</head>

<body>
<table width="800" height="350" border="0" align="center">
<tr>
<td><div align="center"><a href="javascript:;" onMouseOver="MM_controlShockwave('comp','','Play')" onMouseOut="MM_controlShockwave('comp','','Rewind')"><img src="top.gif" width="800" height="350" border="0"></a>
</div></td>
</tr>
</table>
<table width="800" height="200" border="0" align="center">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" name="comp" width="800" height="200" id="comp">
<param name="movie" value="comp1.swf">
<param name="quality" value="high"><param name="LOOP" value="false">
<embed src="comp1.swf" width="800" height="200" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="comp" swliveconnect="true"></embed>
</object></td>
</tr>
</table>
<table width="800" height="350" border="0" align="center">
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

wdaniel
02-10-2008, 09:54 AM
bump bump bump

danlefeb
02-11-2008, 08:17 AM
Sorry, I haven't had a chance to look at this code in depth yet. Is there a reason why you can't use Flash for the menu navigation that calls the SWF files? Then it wouldn't matter what browser you used.

wdaniel
02-11-2008, 08:34 PM
i don't know how to use flash, I'm just now learning to use dreamweaver. i know its an older ver but thats all i have access to. the .SWF files I'm getting out of after effects 6.5. I'm making an animation and saving as .SWF. what i would like to do is rollover a menu option and have a different animation show up in a separate table underneath. like a swap image but with animation.i know flash does it but i don't know how.

w................