How to erase..
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 13
- Joined: Mon Oct 26, 2009 7:30 pm
How to erase..
Goodevenig to everybody
may YOU help me to erase part of an img from a script?
I would have a btn with a script which could erase a part of an image
Many thanks
mario
may YOU help me to erase part of an img from a script?
I would have a btn with a script which could erase a part of an image
Many thanks
mario
Re: How to erase..
Hi Mario,
Here's a simple way:
Best,
Mark
Here's a simple way:
Code: Select all
on mouseUp
lock screen
choose select tool
drag from the topleft of img 1 to the loc of img 1
cut
choose browse tool
unlock screen
end mouseUp
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 13
- Joined: Mon Oct 26, 2009 7:30 pm
Re: How to erase..
Many thanks Mark
but it doesn't run
On my project i have srveral btns and i need to erase the part of the img which is the area of the btn..
mario
but it doesn't run
On my project i have srveral btns and i need to erase the part of the img which is the area of the btn..
mario
Re: How to erase..
Hi Mario,
Of course it runs. Probably, you mean that it doesn't do what you want.
Why exactly do you want to delete an area of an image that's covered by a button?
Best,
Mark
Of course it runs. Probably, you mean that it doesn't do what you want.
Why exactly do you want to delete an area of an image that's covered by a button?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 13
- Joined: Mon Oct 26, 2009 7:30 pm
Re: How to erase..
..some btns are transparent... and only the img over them is visible...
by clicking on a different btn ... it should be possible to erase a part of the img...
mario
by clicking on a different btn ... it should be possible to erase a part of the img...
mario
Re: How to erase..
Dear Mario,
Why? Maybe there's a different way to do it, but I need to know why.
Best regards,
Mark
Why? Maybe there's a different way to do it, but I need to know why.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 13
- Joined: Mon Oct 26, 2009 7:30 pm
Re: How to erase..
Dear Mark
some times the procedure you told me runs ... and the corrispondent part of the img is erased...
some times it doesn't happen nothing...
perhapse it depends from the img data... i use imgs taken from web..
i'm studying it..
best,
mario
some times the procedure you told me runs ... and the corrispondent part of the img is erased...
some times it doesn't happen nothing...
perhapse it depends from the img data... i use imgs taken from web..
i'm studying it..
best,
mario
-
- Posts: 13
- Joined: Mon Oct 26, 2009 7:30 pm
Re: How to erase..
Hi Mark
I' thinking also that it may be impossible to drag ,within an image, if the point from which the drag action begins is not within the img itself....
mario
I' thinking also that it may be impossible to drag ,within an image, if the point from which the drag action begins is not within the img itself....
mario