AS3 Convert Number to Word Spelling
February 26, 2009
If ever you need a number to word converter.
Click here to download sample.
[via]
Adding Parameters to addEventListener
February 20, 2009
Here’s how you can easily add parameters to an event listener in AS3.
stage.addEventListener(MouseEvent.CLICK,
function(e : MouseEvent) : void
{
fMyFunction(e, "hello world")
},
false , 0 , false);
function fMyFunction(e : MouseEvent, vMsg:String) : void
{
trace(vMsg);
}
Click here to download the sample.
AS3 XML Slideshow v1.3
February 19, 2009
v1.3
- Completely revamped and robust code architecture.
- Fixed a bug where certain images weren’t loading.
- Now uses cTween and cXMLHelper
- New nav buttons
- Smaller file size, now only 10KB
Demo
Download (v1.3)
Here (23KB)
Feeling Advanced?
Contribute or see how others have extended this slideshow at the Google code repository.
Go PRO
Want more features? Check out the PRO version of this slideshow.
AS3 XML Slideshow PRO 1.0
February 18, 2009
Scaled down version. Click here to view full size.
Version 1.0 (18 Feb 2009)
(Flash CS3+ required)
Features:
- Compiled file size only 22Kb (varies with embedded fonts)
- XML driven playlist (Sample XML file)
- Completely customizable including size, fonts, and graphics
- Ken burns effect (toggable on or off)
- Streamlined, robust and commented code
- Toggable caption display
- Toggable control display
- Priority support via a private forum
- Utilizes cTween and cXMLHelper
- Free life time upgrades
cTween : Tweening at it's core.
February 5, 2009

Point A to Point B in 2 seconds
cTween.to(mc, {x:400, y:200}, 2);
Call a function when tween is done
cTween.to(mc, {x:200}, 2, doSomething);
Custom easing
import fl.transitions.easing.*;
cTween.to(mc, {alpha:0, y:200, ease:Bounce.easeOut}, 5);
Not another tween engine
Most other tween engines out there are feature packed with stuff, most of it seldom used. All I wanted was a simple and clean way to tween and I was pretty sure it could be done with a lot less code. cTween is a lightweight no nonsense tweening engine that performs only core tweening operations. If you’re looking for feature packed stuff, cTween isn’t for you.
C is for Simple
Download the sample.
Check out the (really short) code. (v1.0)



