Thanks Alex,
Is there a way to use compiler options in CS5--or Flash Builder--with a fla? That sounds awesome. I'm in CS4/Flex Builder 3 now. Are other people using this? I googled this I don't see any examples of it. It would be great to: -externs "com.site.Dog" whether using the Flash Builder, Flash, or the new jsfl API. --- In flexcoders@yahoogroups.com, Alex Harui <aha...@...> wrote: > > -externs option > > > On 6/4/10 6:09 PM, "mattgarland2000" <al...@...> wrote: > > > > > > > In my main swf, I have a (CS4) library item with the class of Dog. It's just > a movie clip with a picture of a dog inside it. > > In the sub swf, there is a also a dog on the stage. > > It's necessary that the item in the sub swf be in the library or components > panel, because my designer likes dogs. He likes to place them on the stage, > rotate them, and play with them all day. > > It's a big Dog. And there are many sub swfs. Is there a way to exclude Dog > from the sub swfs? > > Runtime Shared Libraries is not an option--too flaky. And runtime loading of > assets is not an option either, unless it can be made compatible with WYSIWYG. > > I tried this: > > 1. Creating a dog.swc component, using it, and then putting it in the > external library path of the sub swf. > 2. Putting the dog swc in the folder with main.fla. > These did not work. The big Dog remained either way. > > I looked into this: > Using -load-externs and -link-report compiler options for an actionscript > project. But there is not link report for .flas, and no compiler options > either, and jsfl does not seem to provide workarounds. > > Is it even possible (without using Runtime Shared Libraries) to exclude > symbols from compiled flas? > > Thanks! > > Matt > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui >