Circle Preloader

March 9, 2009 by jared 

Get Adobe Flash player

Thought I’d like to share this nice clean circle preloader. Simply tint to change the color.

Download.

CS4 Only: Using AdjustColor()

March 9, 2009 by jared 

Get Adobe Flash player

Flash 10 only: the AdjustColor class allows you to modify brightness, hue, saturation, and contrast without using a ColorMatrix.

Click here to download the sample files.

AS3 Convert Number to Word Spelling

February 26, 2009 by jared 

If ever you need a number to word converter.

Get Adobe Flash player

Click here to download sample.

[via]

Adding Parameters to addEventListener

February 20, 2009 by jared 

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);
}

flash file logo Click here to download the sample.

AS3 XML Slideshow v1.3

February 19, 2009 by jared 

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

Here

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 by jared 

Get Adobe Flash player


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

Click here for more info.

ActionScript 3 XML MP3 Player 1.2

February 1, 2009 by jared 

v1.2 (9 Feb 2009)

  • Streamlined code
  • Smaller file size

Click here to download.

Looking for something with a playlist?

Space Invaders

May 7, 2008 by jared 

Version 1.0.

Download the source here.

ActionScript 3 Remove duplicates in an array

April 17, 2008 by jared 

function fRemoveDup(ac:Array) : void
{
    var i, j : int;
    for (i = 0; i < ac.length - 1; i++)
        for (j = i + 1; j < ac.length; j++)
            if (ac[i] === ac[j])
                ac.splice(j, 1);
}

Then use fRemoveDup(arrayHere) to clear any duplicates.

Click here to download sample.

ActionScript 3 XML MP3 Player

February 21, 2008 by jared 

Click here for the version 1.1 update.

Alternatively click here for the Pro version of this player. Only $5.00!

Next Page »