Hi, Well flex isn't windows and the only way to 'draw' text is using a textfield.
There are things you could do to wrap a Textfield in a subclass and extend it in a way that might suit your needs. You just can't 'draw' text with the Flash Player. Remember this, it is not a Flex deficiency, it's the way the Flash Player works. Peace, Mike On 1/20/07, superstella_uk <[EMAIL PROTECTED]> wrote:
Hi, Im writing a custom control. Its very graphical and it needs to be as lightweight as possible because it will have LOTS of text on it (scrollable). Various portions of the text will interact with the mouse and so I want full control over painting the text and not rely on having to position Label controls etc. Im looking for a way to simply draw some text, at a given position. Ive searched everywhere, and it appears the only way to do this is to create a Label, or TextField and place it as a child on my control. This is no good for me, for various reasons. Please, can anyone tell me how to just draw some text onto a Graphics object, a bit like the Windows Drawtext API. Is Flex really suited to highly customised interfaces like this. It looks powerful for graphics, but for drawing text it seems bizarrely muted Thanks, I hugely appreciate any advice, this is delaying my project big time
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.
