Actionscript 3 Designer Toolkit

More design, less programming

Actionscript 3 Designer Toolkit header image 4

Entries Tagged as 'AS3 Custom Classes'

Displaying multiple pages: the SelectedPage class

June 3rd, 2010 · No Comments · AS3 Custom Classes

The SelectedPage class displays a series of jpeg’s and/or swf’s one at a time.  A series of buttons – one for each page – control the tweened transistion from one page to the next.

[Read more →]

Tags:····

Drawing lines of alternating dots and dashes: the DashDotLine class

May 27th, 2010 · No Comments · AS3 Custom Classes

A visitor asked whether the DashedLine class could be modified to create lines composed of alternating dots and dashes; so I went ahead and modified the class.  The new DashDotLine class constructor includes parameters for total length of the line, dash and dot widths, spacing between the dashes and dots and line weight and color.

[Read more →]

Tags:

Displaying slides: the SlideShow class

May 12th, 2010 · No Comments · AS3 Custom Classes

The SlideShow class is a simple means for displaying jpeg images one at a time.  The class has built in next and previous buttons and shows the slide number displayed and total number of slides.

[Read more →]

Tags:·····

Using patterned backgrounds and masks: the Perf class

May 4th, 2010 · No Comments · AS3 Custom Classes

The Perf class draws a regular grid of either squares or circles that can then be applied as either a background or as a mask.  The parameters of the class constructor determine whether the pattern is composed of squares or circles, the spacing and size of the pattern and its color and transparency.

[Read more →]

Tags:···

Drawing a checkerboard background: the Checkerboard class

April 27th, 2010 · No Comments · AS3 Custom Classes

This post introduces the Checkerboard drawing class.  It is a simple and easy to use class that relies on Flash’s BitmapData class to draw the patterns.

[Read more →]

Tags:··

Submit your site

April 20th, 2010 · No Comments · AS3 Custom Classes

Since the Actionscript 3 Designer Toolkit came online – over eight months ago – visitors to this website have downloaded the posted code snippets and custom classes several thousand times.
If you are a designer/developer who has used one or more of the AS3DTK custom classes in a website you built, please let us know.  Send the [...]

[Read more →]

Tags:·

Applying the DropDownMenus class

April 13th, 2010 · No Comments · AS3 Custom Classes

In this post, the DropDownMenus class is used to form a group of horizontally arranged dropdown menus.  Several changes have been made to the class to enable multiple instances to work more efficently together (changes detailed below).

[Read more →]

Tags:··

Using drop down menus: the DropDownMenus class

April 8th, 2010 · No Comments · AS3 Custom Classes

In this post, the DropDownMenus class is introduced.  The class may be used singularly – as shown – or as a group with a series of drop down menus placed side-by-side horizontally.

[Read more →]

Tags:·

Changing values: the HorizontalSlider class

March 25th, 2010 · No Comments · AS3 Custom Classes

In the last post the usage of the updateAfterEvent method was discussed and applied to a slider function.  In this post, the code has been repackaged into the HorizontalSlider class.  When used in the conjunction with the DataSentEvent class, the slider may be used to change volume, transparency or any other parameter dependent on a linearly variable [...]

[Read more →]

Tags:····

Displaying time: the Clock class

March 16th, 2010 · 1 Comment · AS3 Custom Classes

The Clock class displays a digital clock with optional 24 hour display mode and optional display of seconds.  Text properties are controlled by an array which define the text’s placement within the background and the display’s font, size and color.

[Read more →]

Tags:····