FORUMS: list search recent posts

Flash in Dreamweaver

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mat GilbertFlash in Dreamweaver
by on Sep 10, 2008 at 6:39:14 pm

I loved the tutorial on using text for swapping flash video content. My question is How can i do this with an image...I want to rollover an image (in one DIV tag) and change the flash video in another. It worked great with the text but i cannot get it to work with the image...please help!
Mat G

Return to posts index

Curtis ThompsonRe: Flash in Dreamweaver
by on Sep 10, 2008 at 7:18:28 pm


hard to say what could be wrong w/o looking at the code you have so far - any chance you can post that?


Return to posts index

Abraham ChaffinRe: Flash in Dreamweaver
by on Sep 10, 2008 at 7:26:46 pm

With this method all you should need to do is place the image where the text is. Here's the code view of what you're replacing the bold underlined part is the only part you would need to change:

<a href="#" onmouseover="MM_setTextOfLayer('movtarget','','&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;320&quot; height=&quot;240&quot;&gt;n &lt;param name=&quot;movie&quot; value=&quot;rollover1.swf&quot; /&gt;n &lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;n &lt;embed src=&quot;rollover1.swf&quot; quality=&quot;high&quot; pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;320&quot; height=&quot;240&quot;&gt;&lt;/embed&gt;n &lt;/object&gt;');MM_changeProp('movtarget','','className','movvis','DIV')" onmouseout="MM_changeProp('movtarget','','className','movinvis','DIV')">Movie 1</a>

Change that text to an image tag <img src="whateverpic.jpg">

Doing this replacement won't effect the functionality of the rollover pop-up...


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved