header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
shrikumar
Points:0
Posts:0
Answered

7/18/2010 8:27:48 AM

Title: Need to buil arrow component


I want to develop curved arrow for referring one panel to other.

eg: Consider there are panel 1 and panel 2, there are some relation between them,
i need to use curved arrow for that relation.

arrow component should be so flexible that i can increase the length and curve.

I tried many ways. even i tried to use flex 4 path, but couldn't achieve...
if anybody know how to do, Please let me know.

Please send me the code if possible.

Thanks in advance,



1
bob_senior
Points: 870
Posts:0
7/18/2010 9:50:56 AM



use the graphics class to draw the curve , there is an inbuild method in graphics class to draw curve.

2
Shrikumar
Points: 0
Posts:0
7/18/2010 10:17:45 AM



Hi,
Thanks Bob.

Can you send me some sample code, which i can use in mxml.

I am not expert developer.
I am learning now...

3
Shrikumar
Points: 0
Posts:0
7/18/2010 10:18:55 AM



i need CURVED ARROW..

Not just curve..

4
Veer
Points: 430
Posts:0
Accepted Answer
7/19/2010 12:11:17 AM



Hi Kumar,

Here is you can fine the sample code for the Arrow.
Hope it helps you.

Check this link :
http://www.huyler.net/flexblog/projects/net.huyler.lines/bin-release/srcview/index.html

Regards,
Virat Patel

5
shrikumar
Points: 0
Posts:0
7/19/2010 12:17:09 AM



Thanks Veer.

But i am not able to find swc lib file in that source code.
Because they used some API..
and by the way, is that opensource?

6
Veer
Points: 430
Posts:0
7/19/2010 12:42:40 AM



Hi Kumar,

There is no 'swc' require as all class already available in that file.
just download it and try to run this sample application u ll got better idea.

This is sample code, you can modified as per your need and use it.

Thanks,
Virat Patel

7
Veer
Points: 430
Posts:0
7/19/2010 10:07:47 PM



is it helpful you ??


Insert Code here


8
shrikumar
Points: 0
Posts:0
7/19/2010 11:54:43 PM



Hi Veer.

Thank you very much.

yes.. its working fine..

I modified the code as per my requirement.

thx again.. :)


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions