Hi,
how about:
on mouseup
create image "boxes"
set the rect of img "boxes" to 100,100,500,500
choose brush tool
-- change brush to different numbers/shapes
set the brush to 15
set the brushcolor to "green"
drag from 150,150 to 350,350
set the brushcolor to "blue"
drag from 300,300 to 450,450
choose browse tool
end mouseup
this works for me as a script for a button
greetings
Bernd
Richmond Mathewson wrote:
>
> Ha, Ha, Ha - spoke too soon:
>
> if the showBorder is set at FALSE (i.e. default) the
> result is a green rectangle
>
> to achieve a green line one has to set the showBorder
> to TRUE
>
> (and then make its fatness ZERO):
>
> create img "LLINE"
> set the width of img "LLINE" to (WID2 - WID1)
> set the HEIGHT of img "LLINE" to (HITE2 - HITE1)
> set the TOPLEFT of img "LLINE" to WID1,HITE1
> set the showBorder of img "LLINE" to true
> set the borderWidth of img "LLINE" to 0
> set the threeD of img "LLINE" to false
>
> choose brush tool
> set the brushcolor to "green"
> drag from WID1,HITE1 to WID2,HITE2
> choose browse tool
>
> AND that was not in the DOCUMENTATION!
>
> sincerely, Richmond Mathewson
>
>
>
> ____________________________________________________________
>
> A Thorn in the flesh is better than a failed Systems Development Life
> Cycle.
> ____________________________________________________________
>
>
> ___________________________________________________________
> Support the World Aids Awareness campaign this month with Yahoo! For Good
> http://uk.promotions.yahoo.com/forgood/
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
View this message in context:
http://www.nabble.com/Can-Rev-Draw-a-Line--tp15083895p15097705.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution