Using UI & FLV playback components with FDT/Eclipse

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

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

March 25. 2008 03:32

Found another way to do this more efficently with a compiled swc file of the the fl package.

Using an .swc means you eliminated the issue of multiple users having the same libray name for the package in FDT. The .swc file is included aspart of the project like the .fla.

Downside is that if Adobe update the class files, the .swc file will not include the updates. A new swc file would need to be created to include any changes or updates.

I found an .swc file for the fl package at:

apdevblog.com/.../

Jasper

August 19. 2008 04:09

This came in handy today.

Really glad you guys have a blog!

Michael

August 27. 2009 03:48

Hey.. thanks both for the swf and for this information!! very useful! adobe documentation only says.. "put an instance on stage...".. sucks!!!

Frazko

August 27. 2009 03:49

I meant swc... you know

Frazko

Comments are closed