you need to configure your flash file's ActionScript to handle clicks (this is the standard behavior).
the only other alternative is to place a transparent HTML element over the SWF and make that HTML element clickable. you'd need to use absolute positioning to align the HTML element above the SWF. you don't have to use an <a>, though <a> would support keyboard accessibility better than a <div>. On Thu, Aug 27, 2009 at 7:34 AM, Eagle1 <[email protected]> wrote: > > Hi there ! > > I embed a flash swf into a div, and on this div I've a onclick event > which open a new window. > > The onclick is still working but everywhere outside the swf file. When > I click on the swf image, nothing happen... > > I tried to put the onclick directly on the flash content div or in a > div that contains the flash content, but it's the same. > > any trick ? > > (no a link because I need to close that new window by js) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
