Video Hyperlink
by Pat Hoover
on
Sep 16, 2009 at 4:44:35 pm
I recently posted about this in the web design forums, however I think the route the solution is taking me is more appropriate here. Basically I have a walk on spokesperson that you can click on the head to our contact page. To do this I set up a transparent square on a new layer above the video layer, converted it to a symbol, and plugged in this AS:
Re: Video Hyperlink by Pat Hoover on Oct 5, 2009 at 5:42:11 pm
Thanks for the input. Changed a few things and actually works properly when previewed in both dreamweaver as well as flash. However when uploaded and checked out online, doesn't play.
Per your info, I'm now using:
mc_transparentbox.addEventListener(MouseEvent.MOUSE_UP,goContact);
function goContact(evt:MouseEvent):void{
navigateToURL(new URLRequest("http://www.3m3dformula.com/contacts.html"),"_parent");
};
mc_transparentbox being the instance name of the button.
Below is the code in dreamweaver I'm using.
<div id="apDiv1">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID3" title="allisonfloat">
<param name="movie" value="sources_0P7x6g24Po/sources/flash/allisonsiegfried.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="LOOP" value="false" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="sources_0P7x6g24Po/sources/flash/allisonsiegfried.swf" width="550" height="400">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="LOOP" value="false" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>