Klaus,
I don't think I get it. 2 questions:
How is......
Set the filename of your image to the modified file on disk
Different from.......
put url("binfile:" & the filename of img "Your image here“) into img "Your
image here“
This is for a mobile app. So even though the stack is carrying the weight of
the imported image I still need to put the original imported image into the
copy file pane of the standalone setting if I want change it and then return to
the original image?
Thanks!!
Ralph DiMola
IT Director
Evergreen Information Services
[email protected]
-----Original Message-----
From: use-livecode [mailto:[email protected]] On Behalf Of
Klaus major-k
Sent: Wednesday, April 08, 2015 1:59 PM
To: How to use LiveCode
Subject: Re: Import as image as control. Where is it?
Hi Ralph,
> Am 08.04.2015 um 19:52 schrieb Ralph DiMola <[email protected]>:
>
> I have an image control that was created by "Import image as control".
> In some cases I want to change the image to one located on disk and
> then back to the original. In the property inspector the filename is
> empty. Where is the imported image and how do I reference it?
"Import image as control“ will put a copy of the image file into your stack, so
there is no reference to the file on disk anymore.
Do like this:
1. Set the filename of your image to the modified file on disk 2. Then later
use the message box:
put url("binfile:" & the filename of img "Your image here“) into img "Your
image here“
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [email protected]
Best
Klaus
--
Klaus Major
http://www.major-k.de
[email protected]
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode