Actionscript 3 Designer Toolkit

More design, less programming

Actionscript 3 Designer Toolkit header image 4

Entries Tagged as 'html'

Adding a Background to the HTMLText Class: HTMLTextBG Class

November 20th, 2009 · No Comments · AS3 Custom Classes

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 [...]

[Read more →]

Tags:···

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.

[Read more →]

Tags:··

Loading a text file with scrollbars: HTMLTextScroller Class

September 15th, 2009 · No Comments · AS3 Custom Classes

The HTMLTextScroller class shares much in common with the HTMLTextFromFile class in that it renders a multiline text field with HTML tag formatting. For this class, the user specifies both the width and height of the text field and, if all the text cannot be displayed within the specified field, the class automatically adds [...]

[Read more →]

Tags:···

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.

[Read more →]

Tags:··

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

[Read more →]

Tags:·