
htmlsprite
Current version is 0.2.1
Please make sure that every style has properties in the stylesheet. So if you use a table then add a stylesheet section for the td in the stylesheet This is especially necessary for elements with text in it. If there's no font defined flash will not be able to render it.
html: ```
TD contents```
stylesheet:
td
{
font-family:Arial;
font-size:12px;
}
17 juli 2008: I will release an updated version soon with examples for flash and flex, keep you posted
What it does? HTMLSprite converts HTML to a Actionscript 3 Sprite.
Download the last version and read the Wiki page to get started. http://code.google.com/p/htmlsprite/wiki/Gettingstarted
Ideas, bugs etc, please contact me. Kees van Dorp
Supported
- External stylesheets in html (
<link>
tag) * Style tag (
<tag style="*"/>
) * Tags: body,table,div,img,span,a * colspan in tables * Styles: text-align,border,background-color,color,padding,width,height
Not supported (right now)
- inline html style section (
<head>
<style>
..
</style>
</head>
)
* basic html attribute (like ) use the style variant
- relative widths and heights (ie. width:100%)
- a lot more
There's still a lot of work to do, but it renders fairly right now.
Currently it hasn't been tested with Flex, but i see no reason why it shouldnt work.
Project Information
- License: GNU GPL v2
- 16 stars
- svn-based source control
Labels:
actionscript
html
parser
flash
flex
actionscript3