If you want to use Flash for navigation, consider this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will not be spidered
3. Screen assistive devices don't parse Flash links - what will those users
do?
4. DW cannot maintain links within a Flash movie, so if you move or rename
a linked file, your navigation will break - what will you do?
It's usually a very bad idea for these reasons...
Nevertheless, the next bit of bad news is this: you cannot apply
links/behaviors to a Flash element with HTML/javascript. Those
links/behaviors would have to be done in Flash Actionscript at the time the
buttons are created.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"Mickrest" <webforumsuser@macromedia.com> wrote in message
news:fpf31r$qns$1@forums.macromedia.com...
> 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="clsid
27CDB6E-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>
>
>