I had to do this in a metacard project in order for users to change colors "mid-draw" as it were. And I didn't want to have a separate "control" pallette.
1. First establish the rect (the zone) where you want all the drawing to take place. 2. Locate your buttons and controls outside of this rect 3. Draw button script: on mouseUp global zaCheckRes choose line tool send zaCheck to me in 500 milliseconds put the result into zaCheckRes end mouseUp on zaCheck global zaCheckRes if the mouseLoc is within the rect of w,x,y,z then choose line tool else choose browse tool end if send zaCheck to me in 500 milliseconds put the result into zaCheckRes end zaCheck 4. Stop draw button script: on mouseUp global zaCheckRes cancel zaCheckRes end mouseUp Of course, you can also change colors, line sizes and choose other tools this way. Best of luck, mark mitchell japan _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
