Flex3,Tree mapping by means of lines
I want to connect one t开发者_如何学编程ree node with another tree node visually using lines. It's similar to mapping data items of two trees.
You can use transparent layer (Sprite or Canvas) above trees to draw line there. Find nodes you need, get their absolute coordinates with localToGlobal
, transform coordinates to line layer (with respect of layer origin on stage), and you can draw the line.
精彩评论