conan318 Posted June 3, 2011 Share Posted June 3, 2011 do i need to use java script to open a flash banner in a new window... or is there an eazyer way to this. Quote Link to comment https://forums.phpfreaks.com/topic/238302-java-script-to-open-a-flash-banner-in-a-new-window/ Share on other sites More sharing options...
conan318 Posted June 3, 2011 Author Share Posted June 3, 2011 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" Codebase="http://download.macromedia.Com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" Width="125" height="125"> <param name=movie Value="http://images.website.ws/images/English/banners/kvmlm2/125x125_05.swf?usetop=1&link1=http%3A%2F%2Fwebsite%2Ews%2Fkvmlm2%2Fmy%2Edhtml%3Fsponsor%3Drayaus65"> <param name=quality value=high> <param name="allowScriptAccess" value="always"> <embed src="http://images.website.ws/images/English/banners/kvmlm2/125x125_05.swf?usetop=1&link1=http%3A%2F%2Fwebsite%2Ews%2Fkvmlm2%2Fmy%2Edhtml%3Fsponsor%3Drayaus65" Type="application/x-shockwave-flash" quality="high" Width="125" height="125" AllowScriptAccess="always" Pluginspage="http://WWW.macromedia.Com/go/getflashplayer" > </embed> </object> Quote Link to comment https://forums.phpfreaks.com/topic/238302-java-script-to-open-a-flash-banner-in-a-new-window/#findComment-1224598 Share on other sites More sharing options...
Adam Posted June 3, 2011 Share Posted June 3, 2011 I think you need to do that with ActionScript, don't you? Quote Link to comment https://forums.phpfreaks.com/topic/238302-java-script-to-open-a-flash-banner-in-a-new-window/#findComment-1224601 Share on other sites More sharing options...
conan318 Posted June 3, 2011 Author Share Posted June 3, 2011 not sure i havent worked with flash banners before my mate has just rang me and asked so ive had a look but i got no idea Quote Link to comment https://forums.phpfreaks.com/topic/238302-java-script-to-open-a-flash-banner-in-a-new-window/#findComment-1224605 Share on other sites More sharing options...
Adam Posted June 3, 2011 Share Posted June 3, 2011 I believe so, though I only touched AS briefly about four years ago. Looks like the second parameter of the getURL() function allows you to specify the target. Quote Link to comment https://forums.phpfreaks.com/topic/238302-java-script-to-open-a-flash-banner-in-a-new-window/#findComment-1224687 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.