I have a question regarding what people do in terms of project 
organization and distribution of source code for publication (say on a 
blog).

Here's my scenario:
I've got a bunch of AS components, I would like to keep them all in one 
main Flex Library project, they're all part of the same top-level 
package. Now, what I'd like to do is be able to keep all the components 
I create in the same project, then create individual projects for the 
examples of how to use the components. So say I have Component A and 
Component B. The AS code for both components remains in my Library 
project. Now I want to blog about how I made Component A and I want to 
include an MXML example of how to use the component. What I want to 
publish is the source of the MXML file, along with the sources of the 
classes that I used for the example. So I want to include the MXML file 
and the source of Component A, but not the source of Component B. 
Ideally I'd like to be able to say Publish Source on my MXML project and 
specify that I want to include the source of certain classes in my 
Library Project. While in reality, the Flex compiler may be using the 
compiled SWC of the Library Project, I want to make it look like the 
component classes are within the MXML project when I publish the source. 
Am I making sense?

One thought I had for my MXML project, instead of adding the SWC or the 
Library project to my build path, maybe I can add the directory of my 
Library project as an external source location for my MXML project. But 
if you link to a external source then Flex Builder doesn't let you 
include those external AS classes when you try to Publish Source.

Also, I'd like to be able to easily make individual SWC files out of 
various classes, all of which are contained in the same Library Project. 
So instead of just always having one SWC file for a library project, I'd 
like to say, make a SWC file called SliderComponent.SWC and include 
certain specified classes, then make a SWC called AnimatedGifLoader.SWC 
and include different specified classes.

Maybe the best I'm going to get is to file feature requests with Adobe 
and hope they get incorporated into FB 3 or later.

Reply via email to