Learn Actionscript - AHFX

Intermediate Actionscript - Custom Actions 

ahfx actionscript learning actionscript

AHFX Actionscript Home
Basic Actionscript
Intermediate Actionscript
Advanced Actionscript
About AHFX
Contact AHFX
Great Actionscript Links

Flash MX 2004 CustomActions

Creating you own custom classes can be great, but you have to do a little to make them as user-friendly as the built-in classes in Flash. This tutorial will cover how to do the following:

  • Add your custom class and methods to the actions panel.
  • Add your custom class methods to a popup list of methods
  • Add a specific extention to your class.
  • Add your custom class to the strong typing dropdown.
  • Color code your class and method keywords.

All of these items can be done from one xml file. It doesn't matter what you call this file as long as it ends in .xml and is placed in the following folder:
Go to the <-Macromedia install folder-> FirstRun\ActionsPanel\CustomActions
I named my file AHFXActions.xml. Here is the beginning code.

<?xml VERSION="1.0"?>


For those of you that don't know much about xml, the first line merely defines what type of file this is. Every tag must be closed in an xml document because xml follows the standards and is a "well formed" document. They can be closed by either a full tag like the </actionspanel> tag or by placing a slash (/) before the closing > of the tag. You'll see this type a little later.

Continue to page 2

If this tutorial helped you, show your support and send me something from my wish list.
Click on an item below and then choose
Adam Hayes (Gift Registry Address) for the Ship to Address.
It is that easy!


Featured Tutorials

Flash Shopping Cart Tutorial
Create a custom Flash Shopping Cart that will add, update, and show products.

Flash MX 2004 Custom Actions
Take your custom classes to the next level and have Flash treat them as built in classes.

Pass Variables to Flash
Quick and dirty way of passing variables to your flash animations.

Affordable Web Design and Hosting
Find out how you can cut your overhead by hosting with AHFX.net

Affordable Custom Art
Get your pictures custom framed. Amazing Prices. Outstanding Quality.

AH Digital FX Studios
Disclaimer | Site Map | Idaho Web Design