Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting/OOP

Categories Creating Simple ActionScript 2.0 Classes
Author: Kortex | Website: http://www.visualflowdesigns.com |

 
Page 2
«prev 1 2 3 4 5 6 7 next»

'

Setting Up Your Class Path:

  1. On your local hard drive (typically drive C:) create a folder named asclasses (can be any name, but follow general folder naming conventions, e.g., all lowercase no spaces). For example C:\asclasses. You do not have to put it on the root of the C: drive, you just have to remember where you put it.
  2. In Flash go to Edit>>Preferences.
  3. In the Preferences Dialog Box select ActionScript
  4. Click on the ActionScript 2.0 Settings Button.
  5. In the ActionScript 2.0 Settings Dialog click the + button (Make sure to click the + button, otherwise you will overwrite your default class path)
  6. Click on the icon that looks like a cross hair and browse to the folder you created in step 1. If you used the example folder name and location that I used the dialog box should look like:
  7. Click OK in ActionScript 2.0 Settings dialog.
  8. Click OK in Preferences Dialog Box.

You should now be back at the Flash main interface. Now that you have your class path set up, Flash will look in this location for class files that you reference in your ActionScript. In the next section we will do a brief test to see that the class path is working.

'

«prev 1 2 3 4 5 6 7 next»

» Level Intermediate

Added: : 2007-02-20
Rating: 8.93 Votes: 28
Hits: 1660
» Author
Kortex (aka Jeremy Wischusen) is a Flash/PHP developer for myyearbook.com and the lead software architect for the DigitallyU Digital Portfolio Software Suite.
» Download
Download the files used in this tutorial.
Download (46 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments