3 Replies Latest reply on Sep 1, 2011 11:49 AM by Shongrunden

    Is file:///android_asset valid in the built-in Android sim in Flash Builder 4.5?

    ryuk-ryuk

      Hi,

      I'm tryin to load an html file packaged in an Android app via loadURL of StageWebView.

      On Flash Builder 4.5, the lightweight sim is available and I ran the following code on it (I set it as Nexus S).

       

      webView = new StageWebView();

      webView.loadURL("file:///android_asset/a.html");

       

      a.html is put in the src directory of the mobile AS project and it's included in the assets directory of the release-build apk. But loadURL fails with exception. Does the built-in sim support android_asset access?