Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Flash in Dreamweaver

  • Posted by Mat Gilbert on September 10, 2008 at 6:39 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

    Abraham Chaffin replied 17 years, 11 months ago 3 Members · 2 Replies
  • 2 Replies
  • Curtis Thompson

    September 10, 2008 at 7:18 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

  • Abraham Chaffin

    September 10, 2008 at 7:26 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;https://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;https://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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy