A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Popup Blocker Problem

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    8

    Popup Blocker Problem

    Hi all,

    I'm having problems with using the open url feature for buttons. If I make the url a pdf file on the web server and open it in a new window, it usually gets blocked by popup blockers. However, even within the same menu, some don't trigger the popup blocker, even though to all intents and purposes they are the same.

    Whilst it isn't a problem for me to allow popups for that site, it causes no end of support calls from visitors to the site who can't open various resources.

    Any ideas / ways round this?

    Cheers

    MrJetKing

  2. #2
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    why not opening in a new window/tab instead of the popUp?
    getUrl("myurl.pdf","_blank");

    popUps are disabled by most browsers by default not without reason

  3. #3
    Junior Member
    Join Date
    Feb 2007
    Posts
    8
    It was set to open in a new window (or tab).
    I've solved it now (although its a bit of an odd solution):

    Instead of using the onClick option, I put the actions in onRelease. For some reason, this kept popup blockers happy.

    Very odd...

  4. #4
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    hmm interesting,- thx for the info

  5. #5
    Junior Member
    Join Date
    Jun 2006
    Posts
    23
    Quote Originally Posted by mrjetking
    It was set to open in a new window (or tab).
    I've solved it now (although its a bit of an odd solution):

    Instead of using the onClick option, I put the actions in onRelease. For some reason, this kept popup blockers happy.

    Very odd...

    Thanks for the odd solution. It worked for me

    PS. It really sucks when you want to have the flash movie trigger the popup (user initiated), and have a slideshow or qtvr in a small window while still seeing the main window below... without the popup blocker telling you you can't. I hope nobody notices that little kludge

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center