I tried to do the same thing. I had a library SWC that could be used by Flex projects easily. I could not get it to work with Flash CS3 projects. I tried compiling it into a SWC in Flash CS3, using their convoluted process, but could not get any .fla file to import from the SWC and compile. I wound up just using the AS source code for those projects. I don't know if there's a solution or not, but if there is, I could not find it in time. Hope you have better luck.
-- Michael --- In flexcoders@yahoogroups.com, "Derek Vadneau" <[EMAIL PROTECTED]> wrote: > > I've asked this a couple of times in Flexcoders and Flashcoders now > with no response. > > Am I right in assuming the lack of responses is due to this not being > possible? Or is it that no one has tried this, or is interested in > this? > > Here's the scenario: > > I have a Library project that I've built in Flex that is strictly AS3 > - no Flex SDK dependencies. > > I can happily use this in an ActionScript-only project or a Flex > project in Flex Builder without issue. > > How do I use this in Flash CS3? > > If I put my SWC in the classpath for the FLA my code compiles against > the library code, but the code isn't actually compiled into the SWF. > > Is this possible? > > -- > > Derek Vadneau >