Learn Actionscript - AHFX

Intermediate Actionscript - Custom Actions Color Coding Code 

ahfx actionscript learning actionscript

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

Flash MX 2004 CustomActions

Finally all of us like pretty, color coded code, correct. Here is the code to have the Flash actionscript editor program color code your keywords:

<?xml VERSION="1.0"?>
<customactions>
   <actionspanel>
   <folder VERSION="6" id="com.ahfx" index="true" name="com.ahfx" tiptext="Contains info for com.ahfx package">
      <folder VERSION="6" id="[com.ahfx.ShoppingCart]" name="ShoppingCart" tiptext="ShoppingCart">
         <folder VERSION="6" id="Methods" name="Methods" tiptext="Shopping Cart methods">
         <string
            object="[com.ahfx.ShoppingCart]"
            text=".addElement(% object %)"
            type="procedure"
            version="6"
            name="getTotal"
            tiptext="Number: returns the total of the price of the Products in the Shopping Cart" />
         </folder>
      </folder>
      <folder name="Types" id="Types" index="true" tiptext="Types that can be used for strong typing">
      <string
         name="ShoppingCart"
         tiptext="ShoppingCart type"
         text="ShoppingCart" />
      </folder>
   </actionspanel>
   <colorsyntax>
      <identifier text="ShoppingCart" />
      <identifier text=".addElement" />
   </colorsyntax>
</customactions>

 

Back to intermediate actionscript page.


SUPPORT THIS SITE
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