[flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread carlo giordano
Hi,
I would connect two UIComponent like mx:Panel or flexmdi:MDIWindow
with a line in such a way that the line continues to connect the two
UIComponent when one or both get dragged around. Anyone has idea on
how to implement it ?
I try to use the Flex Wires
library(http://code.google.com/p/flexwires/) but is not very useful to
me because my goal is to develop a Flex based UML tool. However Flex
Wires contains the right principles to start with my tool.

Anyone have some tips suggest to me ?

Thanks. Carlo.


Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread Fotis Chatzinikos
I have made something similar in flash, but it was ages ago...

I would recommend, creating a new custom container that knows how to draw /
redraw connection lines whenever a child component is dragged...

On Fri, Feb 27, 2009 at 6:42 PM, carlo giordano wrote:

>   Hi,
> I would connect two UIComponent like mx:Panel or flexmdi:MDIWindow
> with a line in such a way that the line continues to connect the two
> UIComponent when one or both get dragged around. Anyone has idea on
> how to implement it ?
> I try to use the Flex Wires
> library(http://code.google.com/p/flexwires/) but is not very useful to
> me because my goal is to develop a Flex based UML tool. However Flex
> Wires contains the right principles to start with my tool.
>
> Anyone have some tips suggest to me ?
>
> Thanks. Carlo.
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread Maciek Sakrejda
It's not a drop-in library, but you may want to take a look at Simon
Gladman's node-based UI:

http://flexmonkey.blogspot.com/2008/10/visual-node-based-calculator-in-flex.html

-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: carlo giordano 
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question about how to draw a line connecting two
UIComponent
Date: Fri, 27 Feb 2009 17:42:10 +0100

Hi,
I would connect two UIComponent like mx:Panel or flexmdi:MDIWindow
with a line in such a way that the line continues to connect the two
UIComponent when one or both get dragged around. Anyone has idea on
how to implement it ?
I try to use the Flex Wires
library(http://code.google.com/p/flexwires/) but is not very useful to
me because my goal is to develop a Flex based UML tool. However Flex
Wires contains the right principles to start with my tool.

Anyone have some tips suggest to me ?

Thanks. Carlo.








Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-03-03 Thread carlo giordano
Thanks for the link, but now I would connect the node with straight
lines not curved lines. Have you some idea or some tututorial how to
do this ?


2009/2/28 Maciek Sakrejda :
> It's not a drop-in library, but you may want to take a look at Simon
> Gladman's node-based UI:
>
> http://flexmonkey.blogspot.com/2008/10/visual-node-based-calculator-in-flex.html
>
> --
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com


Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-03-03 Thread Tom Chiverton
On Tuesday 03 Mar 2009, carlo giordano wrote:
> Thanks for the link, but now I would connect the node with straight
> lines not curved lines. Have you some idea or some tututorial how to
> do this ?

Graphics.lineTo();

-- 
Tom Chiverton
Helping to apprehensively integrate visionary magnetic distributed guinine 
infrastructures
as part of the IT team of the year, '09 and '08



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.