On 9/14/11 9:13 PM, chris thompson wrote:
Here is a code snippet that works for me:

    put "file://"&  specialFolderPath("documents")&  "/MyFile.html" into theURL
    replace space with "%20" in theURL

    iphoneControlCreate "browser"
    put the result into browserID
    iphoneControlSet browserID, "visible", "true"
    iphoneControlSet browserID, "url", theURL

    resizeStack

Thanks to all. Except for resizing the stack before I create the browser, and naming my file "docs.html" instead of "MyFile.html", my code is word for word identical to what Chris posted above.

I just tested on Android and the same path worked on the first try.

I'm completely stumped.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to