Play MovieClip's in reverse!

May 28, 2009 by jared 

Your gotoAndPlay replacement.

Get Adobe Flash player

Download the class here.

Flash AS3 Database Driven Dynamic XML Drag Drop Calendar

April 23, 2009 by jared 

Read Only Read Write

(Go ahead and create events in the read write version. Calendar resets every hour).

Easy to use

Great for embedding into websites. Modify it easily as a calendar extension to your CMS or customized email solution!

Requirements:

  • Flash CS3 and onwards (and knowing what to do with it!)
  • For database functionaily, PHP and MySQL enabled server
  • Common sense

Features:

  • No PHP, SQL, or ActionScript knowledge required.
  • Compiled file size only 48Kb (varies with embedded fonts)
  • Create, update, and delete events on the fly (not when using an XML file)
  • Ultra fast performance
  • Completely customizable including color, size, fonts, and graphics
  • Can be used as an XML calendar as well. See the sample XML file.
  • Insert unlimited events per day
  • Drag and drop events around the calendar (not when using an XML file)
  • Toggable “Read only” or “Read/write” access
  • Easy to setup centralized Preferences file
  • Clean, organized, readable code, great for learning
  • Preloader included
  • Priority support via a private forum
  • Free life time upgrades

Easiest setup ever:

  • Setup your database connections in a .php file
  • Setup your calendar preferences in the .as file
  • Compile / publish Calendar.fla

Click here to find out more.

Date to Day Conversion

April 22, 2009 by jared 

Here is a Date helper class that

  • converts a date to a day
  • finds out the number of days in a month
Get Adobe Flash player

Have fun deciphering this one.

Click here to download the sample files.

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.

cTween : Tweening at it's core.

February 5, 2009 by jared 

ctween

Get Adobe Flash player

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)

Next Page »