Professional Web Applications Themes

Setting Behavio(u)rs on Flash buttons within Dreamweaver - Macromedia Dynamic HTML

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 ...

  1. #1

    Default 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="clsid:D27CDB6E-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>


    Mickrest Guest

  2. #2

    Default Re: Setting Behavio(u)rs on Flash buttons within Dreamweaver

    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 p Flash links - your site will not be spidered
    3. Screen assistive devices don't p 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" <com> wrote in message
    news:fpf31r$qns$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: Setting Behavio(u)rs on Flash buttons withinDreamweaver

    Thanks very much for the helpful tips Murray *ACE*. It looks like it's back to the drawing board.
    Mickrest Guest

  4. #4

    Default Re: Setting Behavio(u)rs on Flash buttons within Dreamweaver

    Yep. For many reasons too. Post over in the DW forum - that's where the
    highest traffic is.

    --
    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" <com> wrote in message
    news:fpfs3o$nm6$macromedia.com... 

    Murray Guest

Similar Threads

  1. setting a buttons color
    By sammy545 in forum Macromedia Flex General Discussion
    Replies: 5
    Last Post: June 18th, 11:50 AM
  2. Dreamweaver Flash Buttons
    By Mich96 in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: January 11th, 07:46 PM
  3. flash buttons in dreamweaver
    By Alan Ames in forum Macromedia Flash Player
    Replies: 4
    Last Post: February 4th, 01:29 PM
  4. dreamweaver buttons loading SWF's
    By dude9er webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 1
    Last Post: September 18th, 08:03 AM
  5. Dreamweaver MX Flash Buttons and iFrames
    By RandyTong in forum Macromedia Dreamweaver
    Replies: 2
    Last Post: August 4th, 03:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139