Forum Moderators: open

Message Too Old, No Replies

Blocking a flash popup

Is it possible?

         

digitalv

4:54 pm on Jun 23, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a Flash object embedded into a page, and there is a clickable area inside the flash that opens a new browser window.

Is there any way to prevent this using Javascript on the page that loads the SWF without editing the SWF itself?

Tommybs

5:13 pm on Jun 23, 2010 (gmt 0)

10+ Year Member



I've looked at the reverse of this recently and I don't think it's possible in all browsers. Although I achieved some success in events with Firefox and flash, in IE I got nothing and was unable to override the flash behaviour without being able to edit a Flash file. Someone else might know something else, but I looked around quite a bit. Alas I am not a flash guru though!

MichaelBluejay

11:41 am on Jun 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How about positioning a transparent gif over the SWF, so that any click on the SWF gets intercepted by the GIF?