This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > linking from flash files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author linking from flash files
stevebuster

2004-08-21, 11:14 pm

Hi!
I'm a bagginer as far as dreamweaver MX is concerned, and I have come to a
standstill when I tried to link to a sub-page from a *.swf document. This *.swf
is a button created in flash MX and it changes its look when the mouse is over
it and when it is being clicked [so there are three states all in all] I
completely don't know how to overcome this obstacle - all I managed to achieve
was redirecting to a sub-page when the mouse scroll was over the button [and I
want it to happen when the button is being clicked, of course :) ] I tried to
change the "onMouseOver" command to "onClick" and even "onDblClick" ,but it
just doesn't work :(
any ideas?



sorry for my bad English :\

<tr>
<td height="90" colspan="2" valign="top"><a href="about.htm"
onMouseOver="MM_goToURL('parent','about.htm');return document.MM_returnValue">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="90" height="90">
<param name="movie" value="flash/button.swf">
<param name="quality" value="high"><param name="LOOP" value="false">
<embed src="flash/button.swf" width="90" height="90" loop="false"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"></embed></object>
</a></td>
<td colspan="3" valign="top"><img src="home/About.gif" width="255"
height="90"></td>
<td width="80" valign="top"><img src="home/Claw.gif" width="80"
height="90"></td>
<td colspan="4" rowspan="6" valign="top"><img src="home/ClawsMain.gif"
width="385" height="450"></td>
<td></td>
</tr>

Alan

2004-08-21, 11:14 pm

don't apply HREF links or js Behaviors to flash files.

open the .fla up in Flash, and make the link there- then export a new .swf
file, and place it in the document with dreamweaver.

> button.swf


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews