Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
WEB: Web Design Forum- TutorialsDreamweaver Forum- TutorialsFlash Forum- TutorialsWeb StreamingTraining

Flash in Dreamweaver

Cow Forums : Web Design
Flash in Dreamweaver
by Mat Gilbert 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



Respond to this post   •   Return to posts index

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

hello...

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

sitruc






Respond to this post   •   Return to posts index

Re: Flash in Dreamweaver
by Abraham Chaffin 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;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&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;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&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...

Abraham

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]