kverweij / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 0 forks source link

preventDefault not working #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add an eventlistener
    webView.addEventListener(LocationChangeEvent.LOCATION_CHANGING,onURLChange);  
2. protected function onURLChange(event:LocationChangeEvent):void{
       event.preventDefault();
   }
3. It doesn't work..

What is the expected output? What do you see instead?
The default page jumping should be prevented. But instead it didn't work

What version of the product are you using? On what operating system?
Flex SDK 4.5.1 runned only on the simulator

Please provide any additional information below.

Original issue reported on code.google.com by wangjl1...@gmail.com on 23 Jul 2011 at 9:38

GoogleCodeExporter commented 8 years ago
Hi, this is ok in the Version 1 Beta

Original comment by xperime...@gmail.com on 19 Sep 2011 at 3:30