storage image in var problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 39
- Joined: Thu Jan 23, 2020 5:56 pm
storage image in var problem
Hi,
When I put an image I captured from camera into a variable I see the image in zoom on the screen
How do I fix this?
Thanks
When I put an image I captured from camera into a variable I see the image in zoom on the screen
How do I fix this?
Thanks
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: storage image in var problem
I'd put it into the custom property of something rather than a variable; then it should not
show up on screen.
show up on screen.
-
- Posts: 39
- Joined: Thu Jan 23, 2020 5:56 pm
Re: storage image in var problem
I put the result into a custom property of a button but it still doesn't work
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: storage image in var problem
Do you mean the image still shows up on screen?it still doesn't work
-
- Posts: 39
- Joined: Thu Jan 23, 2020 5:56 pm
Re: storage image in var problem
Yesrichmond62 wrote: ↑Sun Sep 27, 2020 1:47 pmDo you mean the image still shows up on screen?it still doesn't work
Re: storage image in var problem
What did you script so far?
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: storage image in var problem
A button:
-
-
?
-
Code: Select all
on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
?
Re: storage image in var problem
LOCKSCREEN, Richmond, LOCKSCREEN!
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- Posts: 39
- Joined: Thu Jan 23, 2020 5:56 pm
Re: storage image in var problem
Woops, I forgot to delete the last image, thanks!richmond62 wrote: ↑Sun Sep 27, 2020 2:09 pmA button:
--Code: Select all
on mouseUp set the screenLock to true --- -- your import routine here --- set the PICPROP of me to img "SomeDaftImage" delete img "Some DaftImage" wait 5 ticks set the screenLock to false end mouseUp
?