Ok here is a simple slash file i have embedded i would like to know how to make it so when u click on it it opens up a website in a new window. heres the code thanks. <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','519','height','108','src','bst-online','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','bst-online' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="519" height="108"> <param name="movie" value="bst-online.swf" /> <param name="quality" value="high" /> <embed src="bst-online.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="519" height="108"></embed> </object></noscript></div> Code (markup):
I could be wrong but I think you need to actually add some actionscript code to get your .swf to open in a new window. I basically make a transparent button the size of my movie and use getURL("www.whatever.com", "_blank"); on the button. I don't think you can open a new window just through your embedded code. It may be possible with javascript. however...