Ahhhh, thank you so much, I'm going to try this as soon as I get a chance!
>
> If you want to use the Flash CS3 Components you can create a swf, in Flash,
> that holds the components you want to use and the use Loader to load them
> into your application. Once they have loaded you can do the following:
>
> // UIScrollBar
>
> var uiScrollClass:Class = getDefinitionByName ("fl.containers.UIScrollBar")
> as Class;
> var uiScrollbar:UIScrollBar = new uiScrollBarClass () as UIScrollBar;
>
> addChild (uiScrollbar);
>
> Make sure you load the swf holding the components in the same
> ApplicationDomain as your application using the LoaderContext class:
>
> var loader:Loader = new Loader ();
> var context:LoaderContext = new LoaderContext (true,
> ApplicationDomain.currentDomain);
>
> loader.load (new URLRequest ("urlToYourSwf.swf"), context);
>
>
>
> Best regards, Yotam,
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org