PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > macromedia.dyna.html > Setting Behavio(u)rs on Flash buttons within Dreamweaver
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Setting Behavio(u)rs on Flash buttons within Dreamweaver

Réponse
 
LinkBack Outils de la discussion
Vieux 19/02/2008, 18h18   #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
Vieux 19/02/2008, 22h23   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 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="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
Vieux 20/02/2008, 01h26   #3
Mickrest
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Setting Behavio(u)rs on Flash buttons withinDreamweaver

Thanks very much for the ful tips Murray *ACE*. It looks like it's back to the drawing board.
  Réponse avec citation
Vieux 20/02/2008, 02h19   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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" <webforumsuser@macromedia.com> wrote in message
news:fpfs3o$nm6$1@forums.macromedia.com...
> Thanks very much for the ful tips Murray *ACE*. It looks like it's
> back to the drawing board.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h01.


Édité par : vBulletin® version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10631 seconds with 12 queries