0 Replies Latest reply on Jan 24, 2007 8:17 AM by mikedirl

    How do I draw text


      I am writing an appointment scheduler application for doctors.
      I could not find any schedular component good enough to acomplish my task so I am writing my own.
      I am drawing the scheduler using the Graphics class of flex 2.
      I have all the methods I need to draw what I want (lineTo, drawRect etc).
      The only thing I cant figure out is how to draw text.
      At the moment I am getting around the problem by creating a TextField object and setting its style and position.
      I was hopeing flex 2 would have a method which took a text string and an x and y coordinate as input and just rendered it on the screen.

      I hope someone can help me.

      Thanks in advence.