In the last post, I introduced the DTK_Button class but left out a means for programmatically determining when the button is pressed. In this post, the ButtonPressedEvent class is used to determine when a button is clicked.
Entries Tagged as 'rollover'
Adding the ButtonPressedEvent Class to the DTK_Button Class
December 7th, 2009 · No Comments · AS3 Custom Classes
Configuring Buttons with Rollover: DTK_Button Class
December 3rd, 2009 · No Comments · AS3 Custom Classes
The DTK_Button Class is based on the graphics class drawRoundRect method. While developing this class, I discovered that by varying the dimensions and corner radius of the button four different visual configurations are obtained.
Improving the ImageRollover Class, Again: Tweening the Rollover
November 9th, 2009 · No Comments · AS3 Custom Classes
Last night I was reviewing the traffic reports for the site, when I noticed that a visitor had arrived at this site by searching for “flash caurina desaturate”. The phrase gave me the idea that I could improve the earlier ImageRollover class simply by substituting tweened rollovers in place of the abrupt transitions in [...]
Tags:button·colorfiltermatrix·desaturate·image·rollover·tween
Improving the ImageRollover Class: Applying a ColorFilterMatrix
October 20th, 2009 · No Comments · AS3 Custom Classes
In a earlier post, I introduced the ImageRollover class. This post describes a variation of the original with an additional function that uses an Actionscript 3 ColorMatrixFilter to programmatically generate the second desaturated, gray-scale image – saving an additional trip to Photoshop.
Loading a rollover with navigation: ImageRollover Class
September 22nd, 2009 · No Comments · AS3 Custom Classes
This ImageRollover class loads two images with only the base image initially visible. A mouse rollover hides the base image and makes the rollover image visible. Clicking on the image navigates to a specified url. A small radial loading indicator of a user specified color is displayed until the loading is completed.