Closed jsrdzhk closed 6 years ago
JavascriptResult is an object. I don't know why you are casting to a uint. See the asdocs for JavascriptResult.
load is asynchronous, you need to write your code taking this into consideration. As I mention in the README the issue tracker is for bugs.
Have you read the Wiki carefully?
What version of the product are you using?
On what operating system? win7
If Windows is the AIR app 32bit or 64bit**? 32bit
Which IDE are you using? Flash Develop
Which version of AIR are you using? 30
Hi, @tuarua !Thanks for watching my question.I use some code below to try to adjust the size of the viewport of WebViewANE.Here webview is the instance of WebViewANE and has been initialized by init().
However,the size of web page only adjust sometimes.I guess the evaluateJavascript() function was invoked before the whole work of load() function finished.Can you tell me what caused this situation? Or tell me another way to modify the size of webview to make its width equal to the width of html body,please.Thanks a lot!