Re: web page in scrolling text field
Posted: Tue Sep 09, 2014 10:44 am
Sorry, I am on windows. I have an android tablet connected by USB, in debugging mode.
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Code: Select all
on mouseUp
--Check if the file is there
if there is not a file (specialFolderPath("documents") & "/" & the selectedText of me) then
--Copy the file from the engine to the documents folder
put url ("binfile:" & specialFolderPath("engine") & "/" & the selectedText of me) into url("binfile:" & specialFolderPath("documents") & "/" & the selectedText of me)
launch url ("file://" & specialFolderPath("documents") & "/" & the selectedText of me)
else -- just launch the document
--Mobile didn't like trying to run the video from the engine folder
launch url ("file://" & specialFolderPath("documents") & "/" & the selectedText of me)
end if
end mouseUp