Actionscript 3 Designer Toolkit

More design, less programming

Actionscript 3 Designer Toolkit header image 4

Entries Tagged as 'event'

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:····

Changing variable values: the Slider Class

February 9th, 2010 · 2 Comments · AS3 Custom Classes

The Slider class is used for linearly changing the value of a variable such as volume or speed.

[Read more →]

Tags:··

Applying the TabbedButton and TabbedPage classes

December 21st, 2009 · 2 Comments · AS3 Custom Classes, Apps

The TabbedButton and the TabbedPage classes were designed to work together and share setup data common to both.

[Read more →]

Tags:···

Loading the ThumbnailScroller from XML: ThumbnailScrollerXML Class

October 7th, 2009 · No Comments · AS3 Custom Classes

In this latest variation of the ThumbnailScroller class a XML file is used to supply the class with its requisite parameters. In place of the three arrays used previously, a single parameter – the path to the XML file – is required.  A sample file is shown below    

[Read more →]

Tags:·····

Improving the ThumbnailScroller Class: Adding a Horizontal Layout Option

October 1st, 2009 · No Comments · AS3 Custom Classes

The ThumbnailScroller class has been modified so that it can generate either a vertical or horizontal layout. A new parameter format has been added to the array gridArray (see line 9 below). Legal values for format are VER or HOR (all caps).

[Read more →]

Tags:····

Loading Scrolling Thumbnails: ThumbnailScroller Class

September 28th, 2009 · 2 Comments · AS3 Custom Classes

The ThumbnailScrollerFromArray class displays a user specified number of vertically aligned thumbnails and employs a scrollbar to bring others into view. Arrays are used to define the arrangement of the thumbnails, the scrollbar and the url’s and titles of the thumbnails.

[Read more →]

Tags:····

Building a slideshow: ThumbnailLoaderFromArray Class

September 23rd, 2009 · No Comments · AS3 Custom Classes

This post combines the ThumbnailLoaderFromArray class with the ImageViewerFromArray class to construct a slideshow.
Two arrays are created, the first thumbsArray, is created defining the urls of the thumbnails displayed, their widths and heights; the second array, imagesArray, holds the same data for the larger images.

[Read more →]

Tags:·····

Loading images from a XML list: ImageViewer Class Part I

September 21st, 2009 · No Comments · AS3 Custom Classes

The ImageViewer class displays a series of images, one at a time, in the same frame and, when the image is clicked, loads the next image in a XML list.
Unlike the ImageLoader class which is passed the url of an image to load, the ImageViewer class is passed the url of a XML file [...]

[Read more →]

Tags:···

Navigating with custom menus: Menus Class Part II

September 18th, 2009 · 1 Comment · AS3 Custom Classes

This post concludes the description of the Menus class and details the code necessary for navigation. With the additional code, clicking on any active menu tab navigates to either a html or a flash based page depending on how the tab nodes in the menuTabs in the XML file are configured.
Each tab has two [...]

[Read more →]

Tags:···