I have a test html page I made to R&D some functionality, in my view I have a stageWebView and am calling a local html file from inside the app like this:
stageWebView.loadURL(new File(new File('app:/assets/html/reports.html?stuff=1234').nativePath).url);
And the only thing I see in the debug console is:
ReferenceError: Can't find variable: tester
From what I have found online this is the way that this should be done. Does anyone have any ideas? I am not running this on a device yet, just in the FlashBuilder emulator.
Thanks for any pointers.
Are you able to load the local html file? I have been trying to load a local file, test.html, using the web view have have not been able to get it to load at all. It always gives me a blank page using file: or app:
If you have gotten it to work could post a snippet for me to check out?