Dynamically Load Bitmaps from SWC
Working with AS3 and CS4:
I would like to have a SWC file with many bitmaps stored in it, which can the be called and loaded dynamically when they are needed.
The SWC has been made, with the Bitmaps set to export.
In my main class I am running into trouble trying to access these classes. Different sources are offering different advice, could someone advise the best way to gain access to these classes within the SWC, and the best way to access the SWC from within my file.
********
Note: from google found others describing the same problem:
http://www.flashdevelop.org/community/viewtopic.php?f=13&t=4327
they offer a solution which involves having to statically name the classes at runtime (these arent exported bitmapdata classes but same idea)
this second link is a person describing a solution to the problem described in the first link. His solution involves what appear to be either flex or command line compiler directives.
The include commands he uses dont seem to be valid in cs4. Is there an equivalent that will work, the literature I have read seems to suggest it can all be done with the externalLibrary, or Library location selecting. I have place my swc in both with no success.