Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

App Freezes in when opening a link in a pdf displayed in StageWebView, is there a solution to this?

$
0
0

When viewing a PDF in a StageWebView on ios6 iPad3, opening a link is setup to open externally. This works on tapping links, however holding down on the link, and pressing 'Open' freezes the app (forces you to close the app completely and reopen). Is there a way to fix this behaviour? Or is it possible to block out the dialog from even opening?

 

protectedfunction onLocationChangeComplete( _evt:LocationChangeEvent ):void

                    {

  trace(" onLocationChangeComplete: " + _evt);

                              _evt.preventDefault();

                              navigateToURL(new URLRequest(_evt.location), "_blank");

                    }

 

It works perfectly fine in ios7, though I haven't tested in ios5.


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>