Hey AS/Flex Community!
I'm having massive problems with drawing a line with a dot on each end on a drawing canvas.
What i'm exactly looking for is this:
Drawing Canvas (exists) with a line object added to it that has
to extend Canvas. LineObject Canvas should be a tad bigger than the drawn line itself so the Object can be selected without a hassle when clicking it even when the line is horizontal/vertical and the line itself is of height/width 1 therefore.
Dots at each end of the line can be drag/dropped around on the drawing canvas to change LineObjects height, width, x and y accordingly.
The whole problem is not as simple as described, but i seem stuck at this very beginning and as posting code of my current try is not an option due to the complexity of the project, i'm hoping that my problem description is understandable.
Thanks in advance! :-)
Edit: Quite like the lines in http://www.flashcomguru.com/componen...iteboard_demo/
- but based on canvas that resizes with the graphics.