Image to graphic

Chipp Walters chipp at chipp.com
Wed Nov 19 21:08:05 CST 2003


Glen,

try

create grc "fred"
set the style of grc "fred" to "line"
set the points of grc "fred" to "20,20,155,160"

also, check out templateGraphic

--Chipp


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Bojsza
> Sent: Wednesday, November 19, 2003 7:49 PM
> To: use-revolution at lists.runrev.com
> Subject: Image to graphic
> 
> 
> I have two nodes (filled rectangles) and I want to be able to have a 
> script connect them with a line graphic.
> 
> ...
> choose line tool
> drag from loc of grc node1 to loc of grc node2
> ...
> this does create a line but it is an image and I need a graphic because 
> I want to be able to allow the user to move the nodes and keep the line 
> "attached".
> 
> This is also the second question I have... how can I create the effect 
> of a "sticky" line?
> 
> thanks,
> 
> Glen
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list