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

Peace,
chris thompson

On Sep 14, 2011, at 9:59 PM, J. Landman Gay wrote:

> On 9/14/11 6:29 PM, John Dixon wrote:
>> 
>> Jacque..
>> try...
>> put "file://"&  specialFolderPath("documents")&  slash&  "docs.html" into 
>> tURL
> 
> 
> Anyone know how many slashes should there be? I've seen examples with none, 
> one, two, and three.
> 
> I also tried setting the defaultfolder to documents and using just "file:" 
> with no luck.
> 
> -- 
> 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


_______________________________________________
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