stagewebview calling local javascript

Posted by wangjl1110 on Stack Overflow See other posts from Stack Overflow or by wangjl1110
Published on 2011-07-24T08:28:00Z Indexed on 2012/04/05 5:28 UTC
Read the original article Hit count: 223

Filed under:
|
|

friends.

I'm currently developing a flex mobile project. I currently need to load local javascript using stagewebview. Like:

var str:String = '<head>'+
                 '<script src="myLocalJs.js"/>'+
                 '</head><body>...</body>';
webView:StageWebView = new StageWebView();
webView.loadString(str);

Is there any way to load local javascript using StageWebView? I'm not expecting an answer like 'There is a project called StageWebViewBridge' since it does't have all the features I need. THX!!

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3