How to handle popups in Flex
Posted: Friday, July 2, 2010 by Unknown in Labels: Coding practises/Programming
0
There are two ways to handle pop ups in Flex
By using Flex's ExternalInterface we can write Javascript code in Flex.
1) Using Javascript window.open(
Note:- This technique will not work in Chrome alone. And in IE, If the popup block settings are at strong level then this will not work.
2) Using form submit in through javascript.
Note:- This perfectly works fine in Chrome. But in rest of the browsers this does not seem working properly.
So, For my app i have done like,
while loading flash movie i get the browser name. If the browser name is chrome the later is applied else first one is applied.
This is perfectly working fine.