Copy Image to TargetImage

Mark Schonewille m.schonewille at
Sun Dec 1 13:13:02 EST 2013


You can import your images as control to make sure they don't disappear.

Another way is to create a folder next to your stack and call this 
folder "pictures". Put your image files into the folder, e.g. 
"pictures/mypicture.png". Set the filename of the image control to 
"pictures/mypicture.png". Now, whenever you move your stack, make sure 
that you move the folder to the same place and the pictures will be 
visible in your stack.

You can use the Files section of the Standalone Application Settings to 
include your folder with your standalone.

Also see pages 116-118 of my book.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces.

Buy my new book "Programming LiveCode for the Real Beginner"

Fill out this survey please

On 12/1/2013 18:25, Vaughn Clement wrote:
> Hi
> I just learning how to use images with the image control. I used the text
> of the image and sized it to the rect of the control. This worked ok, but
> it did not save the images because the next time the card was opened the
> image was gone. The LC lessons did not explain how to save the image/s. Do
> you know where I can find the script elements to save the image in the
> mobile device?
> On Sunday, December 1, 2013, Colin Holgate wrote:
>> You need to make the image width and height be the same first. Also, note
>> that the alpha will be lost, you can fix that if need be by setting the
>> alphadata of the second image to the alphadata of the first image.
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at <javascript:;>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:

More information about the Use-livecode mailing list