Old Articles - 6 years, 2 months ago - 0 Comments
Global Class Path
Are you sick and tired of writing huge file paths to locate your include files in the actionscript window? or are you the organised type that likes to keep everything grouped together in one place? Whatever the reason, the Flash MX Authoring tool has a neat little feature which you can use to organise your include files in one easy to access place…
Locate the directory where you installed Flash MX, inside of that directory you will find a directory named Configuration, go down another level, into that directory and you will find a directory entitled ‘Include’. If you place all your class files and regularly used include files inside of this directory, you can include them in your flash movies using once simple class path.
For example, i have a class file named “myfunctions.as”, i place that file in the Includes directory:
Flash MX\Configuration\Include\myfunctions.as
I can then include that file in any of my flash movies by using the following short file path:
#include "myfunctions.as"
It is recommended that you place all your classes in subdirectories of the Includes directory, just to keep things nice and tidy.
Note: This is an old article!
Please be aware that the content of this article may no longer be accurate and the links contained within could be broken.
Update Notifications
You can add our RSS feed to your favorite feed reader or recieve an email when a new article is posted by entering your email address below.
FLASH EXPERTS
- Andre Michelle
- Aral Balkan
- Big Spaceship
- Chafic Kazoun
- Colin Moock
- Craig Swann
- Erik Natzke
- Grant Skinner
- Jesse Warden
- John Grden
- Keith Peters
- Lee Brimelow
- Lord Alex
- Mario Kingemann
- Matt Voermn
- Ralph Hauwert
- Richard Leggett
- Trevor McCauley
FLASH COMPONENTS
- AFComponents
- Components Network
- Extend Studio
- Flash Relief
- Flash Store
- Flashden
- Flashloaded
- Ghostwire
- Image Vue
- Jumpeye
- Page Flip Component
- Slideshowpro
FLASH VIDEO
- Akamai
- FFMPEG
- FlashComGuru
- Flashstreamworks
- FLV Player
- FLVMDI
- flvPlayerPro
- FLVTool2
- Influxis
- JW FLV Player
- Vital Stream
FLASH RESOURCES
- Actionscript.org
- Adobe Labs
- Developer Center
- Flash Interface
- Flash Player Statistics
- Flashkit
- Kirupa
- MDM Zinc
- OSFlash
- PaperVision3D
- SWXFormat
- Tweener
SPONSORS
More In Actionscript
- Adobe MAKE SOME NOISE
- Undocumented Actionscript 3
- BitmapData.loadBitmap gone in AS3
- Actionscript 3 - New Capabilities
- Flash 8 - setTimeout

