I do this with Flex Builder 3 and Flash CS3 and it works very well. The only
catch is that you can't have components on stage. But if you include them in
your library, you will be able to instantiate them using:

var scrollbar:UIScrollBar = new UIScrollBar();
addChild (scrollbar);

Some work better than others. I could never get a skinned ScrollPane to look
as expected.

On Fri, Apr 11, 2008 at 1:45 AM, Schell <[EMAIL PROTECTED]> wrote:

> I had tried this and I never could get it to work. I set the swc's in
> my include-library path in my flex-config.xml and tried to access the
> classes to no avail. A detailed example of instantiating those classes
> would be nice, cuz I've just about given up on that method.
>
> On Thu, Apr 10, 2008 at 2:30 PM, Philippe <[EMAIL PROTECTED]>
> wrote:
> > A better solution is to publish a SWC file from the FLA!
> >
> >  This is an option of Flash CS3 AS3 publish settings: all the exported
> >  library symbols will be compiled in a SWC when you publish the FLA
> >  (you get both a SWF and a SWC).
> >
> >  Then add this SWC library to your project and you'll be able to use
> >  it's classes.
> >
> >  If you have an advanced code editor (FlashDevelop, Flex Builder, FDT)
> >  you'll have the code completion for the SWC classes.
> >
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to