SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1398 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Click OK when you??™re finished.
If your preferences call for Dreamweaver to prompt you before updating links, Dreamweaver
asks you to confirm that you want the link changed.
The link in your SWF file is changed.
Dreamweaver changes links within SWF files, but the links in the original Flash document that
you edit in Flash itself remain unchanged. Make sure you update your Flash document before
exporting a revised SWF file.
Triggering Behaviors from Flash Movies
Flash includes several of its own behaviors for creating interactivity, but Flash behaviors don??™t use JavaScript
within the HTML page as Dreamweaver behaviors do. A Flash-heavy project might benefit from
Dreamweaver??™s Open Browser Window or Popup Message behaviors as much as the next site. The methodology
in this section shows you how to trigger Dreamweaver behaviors from buttons in a Flash movie.
What Flash buttons do is specified in the Flash authoring environment, not in Dreamweaver. Dreamweaver
can attach behaviors to HTML elements, such as anchor tags and body tags, but not to plugins. The solution
lies in creating dummy buttons in Dreamweaver and copying the JavaScript code from those links into the
actions attached to Flash buttons, within Flash itself.
CAUTION CAUTION
NOTE NOTE
815
Inserting Flash and Shockwave Elements 25
To trigger Dreamweaver behaviors from Flash buttons, follow these steps:
1.


Pages:
1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410