fl.* Package .swc
Last night I was working on something in Eclipse/FDT 3 where I needed to use the fl.transitions package. I proceeded to import it and got an error saying that the fl.* package could not be found. After some investigation I realized that I needed an .swc file for the fl.* package but I don’t have Flex Builder so I couldn’t create one. This is where my good friend Samuel Agesilas stepped in and created one for me. The thing is, if you go ahead and add the folder that is in Applications/Adobe Flash CS3/Configuration/ActionScript 3.0/Classes (which is where the fl.* package sits on a Mac) to your Linked Libraries in FDT, you’re going to get a duplicate of the playerglobal.swc that is already in your Linked SWCs in Eclipse. That is really messy to me as I like to keep my workspace as tidy as possible so Sam making that .swc for me really helped me out. I’ve posted the .swc on the downloads page or you can get it directly from here.
If you found this post useful, please consider leaving a comment, subscribing to the feed, or making a small donation.
20 Comments
this is great! ty.
but the problems still apears when i use something like that: fl.video.FLVPlayback…
Hey dimitriy,
Sorry it took so long to respond but I’ve went ahead and update the file, thanks for catching that. I actually grabbed an SWF offline from Aron Philipp’s blog here:
http://apdevblog.com/update-using-flvideo-package-w-eclipse-and-fdt3/
[...] comment in the post about the fl.* package .swc written by Dimitriy outlined that the package was missing the fl.video package in it. I did a quick [...]
Cool thanks.
When I do this, it looks like this:
http://www.greenroom-files.com/swc.jpg
Is this correct? I’m new to pdt
Also, do you need to setup any class paths within the flash IDE also? I just dont understand how flash IDE knows about the linked libraries set in eclipse fdt, since I am publishing from flash.
Thanks for your help. I read all your tutorials on fdt and decided to start using it
Hi,
Cool thanks.
I did it and this is how it looks now:
http://www.greenroom-files.com/swc.jpg
Is this correct? I’m new to FDT.
Also, since I’m publishing from flash, will flash know what libraries I’ve added since its been added through eclipse FDT using linked library. I don’t understand how this works. I’ve googled but can’t find anything.
I read all your tutorials on FDT and decided to start using it
hamad, you don’t need this SWC when you compile your projects with the Flash IDE!
The Flash IDE already has all these “fl.*” classes built in, so to say..
=
This SWC is only needed, when you comile your projects directly from Eclipse / FDT or something similar using the Flex-SDK and it’s mxmlc / fcsh compiler..
hope that helps!
absolutely, but its also necessary if you’re just using an external dev tool and want to get the code hints (not a bunch of errors).
thanks. I was having a hard time trying to link the swc to a fdt project. But now I know how to do it. I’m loving FDT btw
[...] その際、DoTween系で必要なflパッケージがFlashDevelopのLibraryAS3frameworksFlashIDE以下のものではなぜかコンパイルエラーが出てきたので、 fl.swcをお借りしてコンパイルが通るようになった。 ≫ fl.* Package .swc [...]













Thank you for sharing this. It helps a lot!