Cool, I read the help docs, didn't catch that, thanks for the 4-11. I'm trying a Flash 8 SWC now, and she's yuking on it. Bleh...... any way to get it work without having to use loadMovie?
----- Original Message ----- From: "Muzak" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, October 26, 2005 10:08 PM Subject: Re: [flexcoders] SWC's in Flex I have done that a while ago (think it was still Flex 1.0), so yes it should be possible. Just checked the Flex Builder 1.5 manual (Developing Flex Applications) and it has a chapter about using/developing swc files. Improving User Expercience -> Creating ActionScript Components Administrating Applications -> Administering Flex -> Using SWC files One thing that totally got me pulling my hair out was that for a component to work in Flex, you need to define the full class path as the 'className' in the component class file. The Flash manual says to only specify the class name and not the full package. class com.muzakdeezign.controls.MyButton extends mx.controls.Button { static var symbolName:String = "MyButton"; static var symbolOwner = com.muzakdeezign.controls.MyButton; // wrong // var className:String = "MyButton"; // correct var className:String = "com.muzakdeezign.controls.MyButton"; } Not sure if that's still the case with Flex 1.5 though. regards, Muzak ----- Original Message ----- From: "JesterXL" <[EMAIL PROTECTED]> To: "Flexcoders" <[email protected]> Sent: Thursday, October 27, 2005 3:21 AM Subject: [flexcoders] SWC's in Flex > Can you use a Flash MX 2004/Flash 8 generated SWC in Flex 1.5? > > --JesterXL > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

