I have created an image object ("thePhoto"), into which I want to place the photo chosen via the iPad (in this case) photo picker. Using this bit of code:
on mouseUp
iphonePickPhoto library 440, 330
put the last image into the image "thePhoto"
end mouseUp
Now this does the job exactly, but it also puts a copy of the photo in the centre of the screen. I can't find a way to prevent this happening or deleting the extra copy. I'm sure there is a very simple solution ...
TIA
Don
Placing image from iPhonePickPhoto
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Placing image from iPhonePickPhoto
Hi Don,
well, that's the way it works!
"iPhonePickPhoto" does always create a NEW image on the current card, get used to it
I would do something like this:
Noone will tell the difference!
Best
Klaus
well, that's the way it works!
"iPhonePickPhoto" does always create a NEW image on the current card, get used to it

I would do something like this:
Code: Select all
on mouseUp
if there is an img "thePhoto" then
delete img "thePhoto"
end if
iphonePickPhoto library 440, 330
set the name of last img to "thePhoto"
end mouseUp

Best
Klaus
Re: Placing image from iPhonePickPhoto
Thanks again Klaus.
Cheers
Don
Cheers
Don