The HTMLTextBG Class constructs a HTML formatted text field that is centered on a auto-sized colored background with an optional drop shadow. An optional parameter, url, may also be specified which makes the background mouse sensitive and, when clicked, will navigate to the specified url. This allows the class to be used as [...]
Entries Tagged as 'html'
Adding a Background to the HTMLText Class: HTMLTextBG Class
November 20th, 2009 · No Comments · AS3 Custom Classes
Tags:button·drop shadow·html·text
Displaying Text on a Transparent Background: HTMLTextBG Class
September 30th, 2009 · No Comments · AS3 Custom Classes
This post describes the HTMLTextBG class which displays HTML formatted text on a bordered and filled background. The transparency (alpha) of the text and background is also specified so that an instance can be placed on top of a graphic or image without blocking the design entirely.
Loading an external text file: HTMLTextFromFile Class
September 15th, 2009 · No Comments · AS3 Custom Classes
The HTMLTextFromFile class is very much like the HTMLText class introduced earlier with two significant differences: firstly, this class allows multiline text fields and, secondly, the source for the text rendered is an external textfile. Text is styled both by parameters and HTML tags placed in the text.
Displaying HTML formatted text: HTMLText Class
September 10th, 2009 · 1 Comment · AS3 Custom Classes
The HTMLText class renders a single line of HTML formatted text. Parameters controlled include font family, size, color, left/center/right alignment and changes to the text from HTML tags embedded within the text.
In the code below