The html emitted by the flash rich text objects is broken in several ways; we have used a server-side transcoder to fix the problems. The font size is one of them; other tags are not closed properly, and there's a problem with <li>s.
We chose not to do the transcoding in the rich text editor because that would make the download bigger.
On May 29, 2007, at 9:10 AM, Not Zippy wrote:
Hi I was wondering if there was a way to translate the font size attribute in an rich edit text to render properly on an html page ? For example if you set the text to <font size="1">sometext</font> on a flash object it takes the text pt size to be literally 1. However a browser will interrupt that same code as a text pt size of 7. Adobe admits the issue here http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14808 stating the following : Note:The absolute point sizes used by the Flash Player are not the same as the relative font sizes used in standard HTML. In a web browser, <FONT SIZE=2> indicates a font size that is one point smaller than the browser's default font size. The Flash Player would interpret the tag literally as a font that is 2 pixels in height. It would make sense that the rich text editor should do the conversion but it doesn't. Saving the data to and from the rich edit control (in flash) saves the formating information perfectly. But I also need the ability to display the data directly as HTML (not through the flash control) Any ideas ? Thanks z
Benjamin Shine Software Engineer, Open Laszlo / Laszlo Systems [EMAIL PROTECTED]
