4

My application pops up help windows outside of Flex on several occasions. I need to warn the user to allow pop ups from my app if they have the pop-up blocker on.

Does anyone know how to determine this from inside of Flex and then how to have the browser pop up the "allow pop ups from this site" thing after that?

pnuts
  • 58,317
  • 11
  • 87
  • 139
Craig
  • 1,295
  • 3
  • 16
  • 29

3 Answers3

4

I'd use Flex's External interface in conjunction with one of the JavaScript answers.

http://learn.adobe.com/wiki/display/Flex/External+Interface

Tommy
  • 150
  • 1
  • 8
1

I would use javascript to check for popup blockers and pass the result to Flex. Here's a similar question that may help.

Community
  • 1
  • 1
Jason Towne
  • 8,014
  • 5
  • 54
  • 69
-1

To tell you the truth, I am not a Flex expert, by any means, but if you are not using Flex's built-in dialog tools, I would recommend using jQueryUI. You can do anything from simple alerts, to complex HTML forms, and even externally loaded pages, if you want.

The jQueryUI has their own built-in dialog tools, which does not trip the browser's pop-up blocker.

Oliver Spryn
  • 16,871
  • 33
  • 101
  • 195