Hi, I'm using a HTMLPopup in my application.
I want that when I click on the button ... instead of closing the Popup I want to go to a specific URL.... like a redirect...
How can I configure the HTMLPopup to do this?
Thanks,
Naty
Naty,
There is not configuration for this. You would have to modify the HTMLPopup.mxml code.
Find the close function and replace the second line (dispatch(new CloseEvent(CloseEvent.CLOSE));) with something like this:
u = new URLRequest('this is your redirect url'); navigateToURL(u,'_parent');
And add these imports
import flash.net.URLRequest; import flash.net.navigateToURL;