This is a usage pattern that will often result in that warning. In this case, the warning is just that, a warning, and won't cause any problems. The warning was put in place to warn if you created some sort of asset with a name that collided with the slave MovieClips used by a component, but I'm almost positive that isn't what you're doing - the SWC export process is just absorbing a bunch of extra definitions that are confusing things.
(Any particular reason you didn't extend mx.controls.DateChooser in Flex, rather than Flash?) To help me change the code to support this usage pattern in the future, could you do the following: Open mx.swc using WinZip. Extract out "catalog.xml". Locate the asset definition for "DateChooser" into an email message. Open DateChooserEx.swc using WinZip. Do the same thing as above. If the asset definitions aren't identical, please email them to me! Thanks! -Roger Roger Gonzalez mailto:[EMAIL PROTECTED] > -----Original Message----- > From: Yukari Machiyama [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 12:48 PM > To: '[email protected]' > Subject: RE: [flexcoders] Extended component throws warning > > Hi Dirk, > > I just quickly tried what you did and didn't get that error. > Did you update > Flex class files according to this technotes? > http://www.macromedia.com/support/flex/ts/documents/export_swc > _updater.htm > > Thank you, > > -Yukari > > -----Original Message----- > From: Dirk Eismann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 1:33 AM > To: FLEXCODERS (E-Mail) > Subject: [flexcoders] Extended component throws warning > > > I extended the mx.controls.DateChooser component with Flash > and exported it > as a swc file. The control itself renders fine inside the > browser but Flex > always throws a warning error: > > Component http://www.macromedia.com/2003/mxml:DateChooser class symbol > WEB-INF\flex\frameworks\mx.swc:__Packages.mx.controls.DateChooser > (modified 06.05.04 15:24, priority 2) and component sprite > WEB-INF\flex\user_classes\DateChooserEx.swc:DateChooser > (modified 06.05.04 > 15:24, priority 2) have different parent loaders. > > As far as I can see all is setup fine and according to the > docs. I have > updated Flex with updater 1. The AS classes and swc files > inside the Flash > environment are also the most current. I even fixed the > generated swc with > the SWCRepair utility to no avail. > > I also extended a less complex component (mx.controls.Button) > and it works > fine and with no warnings. > > Any hints? > > Cheers, > Dirk. > > > > > Yahoo! Groups Links > > > > > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. > Now with Pop-Up Blocker. Get it for free! > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM > -------------------------------------------------------------- > ------~-> > > > Yahoo! Groups Links > > > > >

