When you try to use built in
components in AS3 using fdt/clipse, you’re going to get errors which tell you
that you’re referring to classes which don’t exist. This isn’t going to stop you
compiling your flash files, but it is going to give you lots of phony errors
within eclipse.
To get around this, you need to add
the following folders to the classpath. Right click on the project in eclipse,
and choose new > linked libraries, then add the appropriate one(s) from this
list:
- C:\Program Files\Adobe\Adobe Flash
CS3\en\Configuration\ActionScript 3.0\Classes
- C:\Program Files\Adobe\Adobe Flash
CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlayback
- C:\Program Files\Adobe\Adobe Flash
CS3\en\Configuration\Component Source\ActionScript
3.0\FLVPlaybackCaptioning
- C:\Program Files\Adobe\Adobe Flash
CS3\en\Configuration\Component Source\ActionScript 3.0\User
Interface