Managing Images in the Image Control

Vaughn Clement vclement at gmail.com
Tue Dec 24 10:30:27 EST 2013


Hi All

Did you ever have a technical issue where you just could not find the
technical support data to solve it?

I recently asked a technical question on this forum and I did not get any
response?

The issue:
1. I am using the image control in a shared background where each card will
have one image.
2. The image script to add the image performs as expected, but when I go to
the next card and paste in an image the prior and all other cards with the
image control shows the newly added image.
3. The check box for the shared background can be set to true or false and
it does not change the image issue.
4. This image script is used in IOS and Android stacks.
5. The simulator and the live testing both resulted in the same image issue.
6. The placing of an image lesson in LiveCode and research found no relief
from this issue.
7. The images are from the Photo Library on the device.
8. The storage of the image in the image control is retained for the
current image placed when you view the cards. So it is not a case where the
image is gone when you return to view the card.

These are the scripts that work to show the image in the card, and does not
retain the image at the end of the addition on the next new card.

Stack script:
None

Card Script:
None

Button Script:

*on* mouseUp

   mobilePickPhoto "library" -- a second script uses the mobilePickPhoto
"Camera" and this also works

   *lock* screen

   *set* the text of image "PhotoImage" of this cd to the text of the last
image of this card -- Photoimage is the image control

   *delete* the last image of this cd

*end* mouseUp


Thank you

Vaughn Clement

Apps by Vaughn Clement (Support)
*http://www.appsbyvaughnclement.com/tools/home-page/
<http://www.appsbyvaughnclement.com/tools/home-page/>*
Skype: vaughn.clement
https://secure.join.me/appsbyvclement
FaceTime: vclement at gmail.com
LogMeIn also avaialble
Call on "ooVoo" at address:  vaughnclement or 9282549062
Ph. 928-254-9062
Cloud Hosting Registration Web Site:
https://my.oditech.com/cart.php?a=add&pid=41



More information about the use-livecode mailing list