Image control in a Background

Vaughn Clement vclement at gmail.com
Thu Jun 26 15:42:20 EDT 2014


Hi Simon

Let me try this to test my stack for errors.

On Thursday, June 26, 2014, Simon <simon at asato-media.com> wrote:

> Yep
>
> on mouseUp
>    --/ the image from mobilePickPhoto uses the template image construct
>    --set it off screen so we don't see ift flash /
>    --set the loc of the templateImage to -10000,-10000
>    set the vis of the templateImage to false --NEWLINE
>    --delete file (specialFolderPath("documents") & "/photos/" & the short
> ID
> of this card)
>     set the filename of image "imageField1" of this card to  "" --NEWLINE
>    --/choose a photo/
>    mobilePickPhoto "library"
>    lock screen
>    if the result <> "cancel" then
>       --/ make the filepath to save the chosen image/
>       put (specialFolderPath("documents") & "/photos/" & the short ID of
> this card) into thePath
>       --/ put the image into a file in the photos folder /
>       put the text of the last image of this card into URL("binfile:" &
> thePath)
>       --/set the loc of image 1 to the loc of group "picgroup' so it will
> align/
>       set the loc of  image "imageField1" to the loc of group "picgroup"
>       --/ show the image on the card /
>       set the filename of image "imageField1" of this card to thePath
>       --/ destroy the image imported from the library /
>       delete the last image of this card
>    end if
>    unlock screen
> end mouseUp
>
> There is another change I made in there as well.
>
> Simon
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680671.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>


-- 
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



More information about the use-livecode mailing list