flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moris Notari <virt...@notarimoris.it>
Subject Re: StageWebView define click event?
Date Tue, 03 Jun 2014 09:09:11 GMT
Hi agm65,
you can register a listener for the LocationChangeEvent.LOCATION_CHANGING
and decide what to do in the event handler.

The "location" property of the event object will contain the URL of the
link, just be aware that there could be differences in that property between
iOS and Android. If I'm correct on iOS the link could contain a string such
"apollo.air...".
Also remember to call "event.preventDefault()" or otherwise the StageWebView
will try to open the link.

Moris



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/StageWebView-define-click-event-tp6730p6755.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message