Copy Image to TargetImage

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Dec 1 13:13:02 EST 2013


Vaughn,

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
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

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 lists.runrev.com <javascript:;>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>




More information about the Use-livecode mailing list