2 Replies Latest reply on Aug 12, 2009 8:25 PM by Gregory Lafrance

    Draggable Text Fields

    adamgessel

      Hello all,

      I am working on making a type of drawing program, but I have run into a bit of a snag and I don't know how to get past it. It's a very simple problem.

       

      I have made my Flex 3 application able to have a button, and when you click it, it adds a UITextField programmatically. The problem is that I don't know how to get it so that it can be draggable. Do I need to stick it in a Sprite? It doesn't have the method available to simple startDrag. Do I need to stick it inside some type of container? If so, what kind of container does it need? Can you give me an example of how the code should look?

       

      I have searched all over. I could not find a solution. I would appreciate any help. Thanks in advance!