Currently the ask dialog is the **only** way to communicate
with a HTML5 standalone.
You simply have to manage, that your imagedata can pass the
dialog (no CR). And be aware that everybody can read your
script, but that shouldn't matter. The rest works "as usual".
The copy/paste via "ask" mechanism works (there are examples
to try).

> Colin H. wrote:
> I’ve been tasked with a problem to solve, and I think I can 
> use any tool to do it. LiveCode could be a good choice. 
> Here’s what’s needed:
> A PDF is online somewhere. A logged in user asks for it, 
> and the server encrypts it before sending over, using some 
> sort of key that was in the query. On receiving the data, 
> the client side would have to unencrypted it, and show it 
> as the original PDF in a browser.
> I feel sure there are some difficulties in there, such as
> whether Javascript can write a file to the user’s hard 
> drive, and then show it in a browser. In LiveCode terms, 
> one solution would be to send it as encrypted image data, 
> and then set the imagedata of an image to the unencrypted 
> version (if setting imagedata is allowed in the HTML5 
> export from 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