Apply CSS to HTML in Flash ActionScript 3.0 - Step 1: Quick overview
Posted by : FireCode on Sep 03, 2010
HTML stands for HyperText Markup Language and itâ??s used to build web pages. Itâ??s written in the form of HTML elements consisting of tags within the web page content.
Here is a simple example:
<html>
<body>
<p>My first HTML!</p>
</body>
</html>
We now created our first paragraph inside a HTML page.
For more about HTML please follow this link: www3schools
Now let's continue by defining what does CSS means. Cascading Style Sheets (CSS) is a simple way to add style to web documents, HTML in this case.
A simple example would be formating a text paragraph:
p
{
font-family:"Arial";
font-size:20px;
}
For more about CSS please follow this link: www3schools
Using HTML and CSS inside our flash applications can sometimes simplify our work, especially when we are using a large amount of text fields, each one with it's own formatting.
The Flash Player has limited support for HTML and CSS tags but it does cover the most common tags.
Supported HTML tags: here
Supported CSS tags: here

no comment
Add comment