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)
ActionScript 3 XML MP3 Player 1.2
February 1, 2009
v1.2 (9 Feb 2009)
- Streamlined code
- Smaller file size
Looking for something with a playlist?
Super() Explained
November 20, 2008
The super() class is used to simply call on the particular class from which you are extending from.
In this example we have 3 files:
SuperExample.fla –> Which uses ChildClass.as as the document class.
ChildClass.as –> Our child class which extends from ParentClass.as
ParentClass.as –> Our parent class, which extends from GrandParentClass.as
GrandParentClass.as –> Our grand parent class, which extends from a Sprite class
In ParentClass.as we have a constructor which accepts a String. We’ll use this later on in ChildClass.as . Inside the constructor we have two trace statements, one tracing from the ParentClass itself, and one to accept a string as a parameter.
In ChildClass.as we can see one line in the constructor,
super("Hello from the ChildClass");
Where super is actually calling on the ParentClass constructor, passing in a string “Hello from the ChildClass”, which in turned is “supered” to its extended class GrandParentClass.as



