Hi Todd,

Still having problems
...
ON mouseUp
    put the clipboardData["image"] into img "image"
    put specialFolderPath("desktop") & "/test.png" into tPath
    put "binfile:" & tPath into tURL
    put img "image" into URL tURL
END MouseUP

--> test.png is created on on the desktop and looks good when opened with
"Preview".  And img "image" shows the image contents.

I have a second button with this handler to copy the image back off the disk
into  a second image control.

ON mouseUp
    put specialFolderPath("desktop") & "/test.png" into tPath
    put URL tURL into img "image2"
    put the result
END MouseUP

-->  FAILS.  The second image control img "image2" is still empty.

Any clues?

Yep, took me a couple of minutes before i noticed this ;-)

ON mouseUp
    put specialFolderPath("desktop") & "/test.png" into tPath
       put "binfile:" & tPath into tURL  ##the missing link :-)
    put URL tURL into img "image2"
    put the result
END MouseUP

Thanks very much

Todd

Best from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to