"I killed them. I killed them all. They're dead, every single one of them. And not just the men, but the women and the children, too. They're like animals, and I slaughtered them like animals. I HATE THEM!"

~ Anakin Skywalker ~

newsblog

2008-06-17

FlashDevelop and the ActionScript 3 fl classes

Quick note on how to get FlashDevelop to provide auto-completion and the other tweaks for the Flash CS3 fl classes including the Tween class. Inside FlashDevelop tap into the menu:

Tools->Global Classpaths (CTRL-F9)

Pick AS3 from the dropdown box and then choose Add Classpath. Navigate to:

C:\Program Files (x86)\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes

Then repeat for the Air classes here:

C:\Program Files (x86)\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0 AIR 1.0\Classes

Those are my Vista 64 paths, you probably have to change them to start with C:\Program Files\Adobe\ under 32bit Vista or XP. Once those two paths show up in the box you can click OK. You should now have instant access to the code-completion system with these classes.

Edit: I've found 3 more paths that are useful to include in the global classpath:

C:\Program Files (x86)\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlayback\fl
C:\Program Files (x86)\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlaybackCaptioning\fl
C:\Program Files (x86)\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\fl

These are used for various component classes such as the VideoPlayer and FLVPlayback components. You still have to drag and drop the component to you library for Flash to successfully publish your file. The purpose of including them in the FlashDevelop global classpath is simply to enable code completion and syntax highlighting when using those classes.

1 comment

# James Eberhardt on 2008-08-05 at 04:14
Thanks a lot for this very helpful tip! It's going to save me a lot of time, especially since I can **never** remember the syntax for creating a tween. I'm spoiled by auto-complete.

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

search