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
Your Ad Here

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.

image 2



Author's URL: Guy Watson
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "Global Class Path"

Only registered users can write comment

No comments yet...