06
Jun
There was a requirement for a text editor in one of our current Flex 2 project. But after too much of efforts we came to conclusion that to develop a decent text editor without any bug is next to impossible. As most of you might be aware of a few bugs with <img> tag in Flash textfield as explained below.
- Whenever textfield renders an image tag it generates a textformat object with font size of 2. Because of this, if you place the cursor exactly next to image and type, text will have font size 2.
- textHeight property is buggy if you insert the Image at the end of text. Because of this, scrollbar wont work properly.
- If you delete the image tag from the text of textfield it does not refresh imedietly. It refreshes after you change other text content. You can see a blank white patch where the image was, and text will be wrapped around that blank space, if you edit the text later, that blank space will be removed.
You can see listing of other bugs here on play.ground blog
Hopefully this issue is solved in Flash player 10 or we should overcome this issue with low level API of textfield object.
January 8th, 2009 at 3:36 pm
Its looks from the No. of Advertising boxes you have on the Site that you are here to make lot of money rather than providing some relevant content to beginners like me…. :)))))))