AS3HtmlParser Code
Status: Beta
Brought to you by:
ryangroe
File | Date | Author | Commit |
---|---|---|---|
HtmlParser | 2010-04-25 | ryangroe | [r10] Stores tag names in lowercase |
TestApp | 2009-09-21 | ryangroe | [r8] added mxml compile path |
HTMLSupport.txt | 2009-02-23 | ryangroe | [r1] initial test commit |
README | 2009-02-23 | ryangroe | [r1] initial test commit |
HtmlParser was written in response to the poor html rendering capabilities of Flash/Flex. While it is possible to render very simple text in Flash/Flex components such as mx:Image and mx:Label, more complex but often vital html elements such as TABLEs and DIVs are unsupported. Even worse elements such as IMG are supported but do not work as expected. This project aims to create a compact html parser and renderer in as3. The goal was to accept well-formed html (handling only minor syntax errors) and minimize the footprint (currently it adds less than 15KB to compiled apps) since swf size is always a concern while supporting commonly used elements skipped by the htmlString of Flash/Flex.