Check out the MovieClip methods like the one here: http://livedocs.macromedia.com/flex/15/flex_docs_en/00001518.htm (UIObject is a MovieClip)

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of fowleryj
Sent: Tuesday, November 08, 2005 12:32 PM
To: [email protected]
Subject: [flexcoders] [Flex 1.5] Drawing Lines

 

I have a page that displays a genealogy tree, with an <mx:Text/>
component representing each node of the tree. Is there a way to draw
lines from one <mx:Text/> to another in Flex 1.5?

I tried abusing HRule and VRule, but that didn't work...

Internet searches revealed some drawLines methods:

<snip>
function drawLines(lines,x1, y1, x2, y2, size, sharpness) {
lines.lineStyle(2,0x000000,100);
lines.moveTo(x1,y1);
lines.lineTo(x2, y2);
}
</snip>

But nothing more descriptive than that...

Any ideas would be appreciated.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to