OK. I'm sure I'm doing something really stupid here 'cos it looks easy but it just 'aint working!!!
I've got a mainstack that opens up and allows me to press a button to get a screen grab. It then exports this to a file and opens up a substack.
The substack opens up the file and displays it in the middle of the stack. All good so far.
I've put a button on this stack that does this:
Code: Select all
on mouseUp pMouseBtnNo
open stack "pal"
palette stack "pal"
end mouseUp
This opens up the 'Pal' stack that has just one button on it that does this:
Code: Select all
on mouseUp pMouseBtnNo
choose pencil tool
set pencolor to "black"
end mouseUp
If I press this button it turns it into a pencil when I move onto the previous substack (the one with the image in it), however, it doesn't let me draw anything.
What am I doing wrong here?