Hello edwin,
following is the code to draw line to connect two points
In my application i connect two components male and female
(add_male_id,add_female_id are thr corrosponding ids).
and "first" is the main container which contain above components,

first.graphics.lineStyle(2, 0xffffff, 1);
first.graphics.moveTo(add_female_id.x , add_female_id.y
+add_female_id.height/2);
first.graphics.lineTo(add_male_id.x+add_male_id.width , add_male_id.y
+add_male_id.height/2);

On Mar 3, 3:42 am, [email protected] wrote:
> Can you show me the code for this??
>
>
>
> On Mon, Mar 2, 2009 at 8:58 AM, Ravi <[email protected]> wrote:
>
> > Thanks yogesh,it helps..i used graphics class and then "lineTo" method
> > to draw a line.
>
> > On Mar 2, 4:24 pm, Yogesh Gaur <[email protected]> wrote:
> > > use graphics class and then "lineTo" method to draw a line between any
> > > two coordinates or u use curveTo method ot connect points
> > >  hope it helped ...
>
> > > On Mar 2, 9:59 am, Ravi <[email protected]> wrote:
>
> > > > Hello Friends,
> > > > I am developing a family tree application,in which i am creating
> > > > runtime family members and i want to interconnect all of them by line
> > > > according to relation.
> > > > So can anyone please help me in this.I WANT TO DRAW LINE TO CONNECT
> > > > THESE MEMBERS.
>
> --
> Sincerely
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> Edwin Melendez
> Print/Web/Media
> 646-246-4368

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to