Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials Global Class Path

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 MXConfigurationIncludemyfunctions.as

I can then include that file in any of my flash movies by using the following short file path: #include "myfunctions.as"

image 1

t is recommended that you place all your classes in subdirectories of the Includes directory, just to keep things nice and tidy.

Global Class Path



Author's URL: Guy Watson
Final results of our readers
New!
Passed through all the steps? Share your result!
Your result will be premoderated.
Please make sure you choose the right image.
 
 



Captcha

*Required fileds
Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website. More Flash Tutorials: Featured Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

No comments yet...
Add comments to "Global Class Path"

Captcha