title: Rotation of a line based on fixed point in flex4
body: <p><img src="https://i.stack.imgur.com/3P2xY.jpg" alt="enter image description here"></p>
  
  <p>As in the figure i have three lines out of which <code>line1</code> and <code>line2</code> are fixed.
  <code>line3</code> is derived from <code>line1</code> based on some angle say 70.I try to rotate the line3 but it deviate from the point x1 and x2.
  I try the code like this<br>
   <code>&lt;s:Line xFrom="200" xTo="600" yFrom="310" yTo="310"/&gt;</code><br>
   <code>&lt;s:Line xFrom="200" xTo="600" yFrom="310" yTo="310" rotation="70"/&gt;</code></p>
  
  <p>My doubts are  </p>
  
  <pre><code> - how to rotate line3 based on the point x1 and x2.  
   - how to find out the intersection point(x2,y2) of line2 and line3.
  </code></pre>
  
  <p>thanks in advance</p>