Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to click on flash to go to new page ?

Status
Not open for further replies.

niblet

Programmer
Aug 7, 2001
30
US
Hi,

I am writing a page and have been provided with a flash.
The client wants to be able to click on the flash and go to the first page of the site .... I tried to just wrap the whole thing in < a href=&quot;....&quot;)> <object> flash stuff </object. </a>

but that didn't work .... here's that source

<a href=&quot;docs/philosophy/philos_frameset.htm&quot;>
<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;760&quot; height=&quot;400&quot;>
<param name=movie value=&quot;media/bmw_detect_QT.swf&quot;>
<param name=quality value=high>
<embed src=&quot;media/bmw_detect_QT.swf&quot; quality=high pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;760&quot; height=&quot;400&quot;>
</embed>
</object>
</a>

so anyone know how I can do this ?

thanks
 
You have to build your buttons in Flash and in the
actionscript you put the geturl

on (release) {
getURL(&quot;yourpage.html&quot;, &quot;main.html&quot;);
}
 
instead of &quot;main.html&quot; it should be _main [soapbox]
sleep is good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top