what is it about htmlloader that doesn't work for you?
I think I found what I needed in the StageWebView command actually. My code below is working although I'm not sure if it's "clean" at this point. I'm basically just trying to show, hide, and then show again a StageWebView.
var webView:StageWebView = new StageWebView();
// show the webView
webView.stage = this.stage;
webView.viewPort = new Rectangle(20,20,stage.stageWidth,stage.stageHeight);
/hide the webView
webView.stage = null;
that should work.
When I try to view some web pages through the StageWebVIew method, I get the following error:
This browser does not support some of the content in the file you are trying to view. Use one of the following browsers:
- iE9 or later
- Safari 5.1 or later
- Google Chrome 17 or later
The web pages still work, and the page I'm viewing is in HTML 5, but I wish I didn't get that error. In the output panel I get the following text:
TypeError: Result of expression 'a.load' [undefined] is not a function.
CPPreInit at http://keytwodesign.com/Office365/Basics/Sim0/assets/js/CPLibrary.js : 23062
DoCPInit at http://keytwodesign.com/Office365/Basics/Sim0/ : 113