Skip to main content
Inspiring
December 20, 2014
Question

LOCATION_CHANGING is not dispached when StageWebView(false) on windows

  • December 20, 2014
  • 1 reply
  • 396 views

Hello,

on windows,

<script type="text/javascript">document.location="?return=loc";</script>

location changing event

stageWebView.removeEventListener(LocationChangeEvent.LOCATION_CHANGING, onWebViewLocChanging );

private function onWebViewLocChanging( event:LocationChangeEvent ):void

  trace(event.location);

}

is dispatched when I use

var stageWebView:StageWebView = new StageWebView(true);

and it isn't dispatched when I use

var stageWebView:StageWebView = new StageWebView(false);

Thanks

This topic has been closed for replies.

1 reply

itlancer
Inspiring
December 24, 2014

I think you found this bug: Bug#3851448 - stageWebview - LOCATION_CHANGING event fails on Javascript redirect

Please vote for fixing this issue if you are interesting in it.