Looking for the perfect gift? Check Baloka.com
Powered by MaxBlogPress  
  • MyLineRider

  • Flex 3 Experiment: Drawing a path at run time with insert points

22nd July 2009

Flex 3 Experiment: Drawing a path at run time with insert points

posted in Flex |

Continuing from my previous post about how to draw a curve with editable points at run time, I decided to post a new one, on how to make draw a path (with straight lines) that include points to insert additional segments. Again, this is based on the book: “Foundation ActionScript 3.0 Image Effects” by Todd Yard.

By clicking a light red point between any two black points you can bisect the segment creating a new black point for manipulation, adding another light red point and repositioning the previous moved one and the new light red points to the center of their corresponding segments.  In addition, any black point can be clicked and dragged to change the location of that point. It easier to understand by drawing a path. to do that, click on the canvas below a couple of times. Then move the black points to modify the path or the light red circles to add new segments. This requires Flash Player 10. Grab the code here.

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

This entry was posted on Wednesday, July 22nd, 2009 at 6:20 pm and is filed under Flex. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There are currently 8 responses to “Flex 3 Experiment: Drawing a path at run time with insert points”

Why not let us know what you think by adding your own comment! Your opinion is as valid as anyone elses, so come on... let us know what you think.

  1. 1 On July 22nd, 2009, Flex 3 Experiment: Drawing a path at run time with insert points | Adobe Tutorials said:

    [...] Continuing from my previous post about how to draw a curve with editable points at run time , I decided to post a new one, on how to make draw a path (with straight lines) that include points to insert additional segments. Again, this is based on the book: “ Foundation ActionScript 3.0 Image Effects ” by Todd Yard . By clicking a light red point between any two black points you can bisect the segment creating a new black point for manipulation, adding another light red point and repositionin See the original post here: Flex 3 Experiment: Drawing a path at run time with insert points [...]

  2. 2 On July 22nd, 2009, Flex 3 Experiment: Drawing a path at run time with insert points … | Design Graphics said:

    [...] Read more from the original source: Flex 3 Experiment: Drawing a path at run time with insert points … [...]

  3. 3 On July 23rd, 2009, sesli chat sesli sohbet said:

    thank you

  4. 4 On July 27th, 2009, I’m Doing An Experiment About Sleep Deprivation On Myself And I Need Some Pointers? said:

    [...] Flex 3 Experiment: Drawing a path at run time with insert points … [...]

  5. 5 On July 28th, 2009, Tahir Alvi said:

    Nice example but if i want code of that example, where i found the code,
    thanks for nice example.

  6. 6 On August 7th, 2009, Flex 3 Experiment: Drawing a path at run time with insert points | Adobe Tutorials said:

    [...] Continuing from my previous post about how to draw a curve with editable points at run time , I decided to post a new one, on how to make draw a path (with straight lines) that include points to insert additional segments. Again, this is based on the book: “ Foundation ActionScript 3.0 Image Effects ” by Todd Yard See the original post: Flex 3 Experiment: Drawing a path at run time with insert points [...]

  7. 7 On August 7th, 2009, Flex 3 Experiment: Drawing a path at run time with insert points | Adobe Tutorials said:

    [...] Continuing from my previous post about how to draw a curve with editable points at run time , I decided to post a new one, on how to make draw a path (with straight lines) that include points to insert additional segments. See the rest here: Flex 3 Experiment: Drawing a path at run time with insert points [...]

  8. 8 On February 23rd, 2010, weightloss said:

    Super-Duper site! I am loving it!! Will come back again – taking you feeds also, Thanks.

Leave a Reply

  • About Me

  • Hi, I'm Gilbert Mizrahi and I created this blog to comment about technology and internet marketing. Additionally, I will post Flash/Flex experiments and in most cases they will refer to baloka.com, my wife's site- hey I have to promote the brand:)

google

google

asus