Afficher un message
Vieux 19/02/2008, 17h18   #1
Mickrest
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Setting Behavio(u)rs on Flash buttons within Dreamweaver

I'm quite new to Dreamweaver and have access to Dreamweaver 2004 MX. I inserted
some Flash buttons on to a page I was designing. I simply used
Insert-Media-Flash button to insert one of the standard issue Flash buttons
(Translucent Tab).

I then created a few layers and then set the "Show / Hide Layers Action" on
the "On click" event to hide and show the layers depending on what button you
clicked. It didn't work. However, when (as an experiment) I set the action and
event on a couple of jpeg images on the page, it worked perfectly.

Am I missing something obvious?

The code generated for one of the buttons (It's the Prices button that
displays the Contact layer) is

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=5,0,0,0" width="93" height="33" title="Prices Tab"
onclick="MM_showHideLayers('prices','','hide','boo king','','hide','payment','','
show','Contact','','hide')">
<param name="movie" value="pricestab.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ECFFFC" />
<embed src="pricestab.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash" type="application/x-shockwave-flash" width="93" height="33"
bgcolor="#ECFFFC"></embed>
</object>


  Réponse avec citation
 
Page generated in 0,06358 seconds with 9 queries