Using the brush tool
Jeffrey Massung
massung at gmail.com
Mon Mar 15 19:44:11 EDT 2010
I haven't ever tried this with Rev, but remembering way back to my high school years and ol' Hypercard, you may want to just put a rectangle object out in your card somewhere, and do a card script something like this (pseudo-code, untested):
on mouseDown
if the mouseLoc is within the rect of graphic "My Draw Area" then
select the brush tool
end if
end mouseDown
on mouseUp
select the run tool
end mouseUp
on mouseRelease
select the run tool
end mouseRelease
Jeff M.
On Mar 15, 2010, at 6:33 PM, Mike Brown wrote:
> Hello,
>
> I am trying to create use the brush tool (choose brush tool) to paint within an image. How do you turn the brush tool on and off so that you can select other buttons or objects in a stack?
>
> Currently, I have a row of buttons (one for each color) but once I select a color and choose the brush tool, I can paint within my image but cannot switch to a different color or select a button. The stack kind of locks up accept for painting with the single color within the image.
>
> Is there a tutorial stack for this?
>
>
> Thanks,
> Mike
>
>
> Mike Brown
> Cyber-NY Interactive
> 212-475-2721 Ext. 306
> www.cyber-ny.com
> mike at cyber-ny.com
>
> Follow Us On Twitter
> http://www.twitter.com/cyberny
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list