Hi bhavya, It would work if it's an application.In my case .mxml file is a module..
Regds, hani On Oct 30, 10:25 am, "bhavya gowda" <[EMAIL PROTECTED]> wrote: > Hey ...its working fine......I tried..You just check whether you are doing > some mistake while adding or what.. > > Code for your reference... > > Main application > -------------------------------- > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > xmlns:Components="Components.*"> > <mx:Script> > <![CDATA[ > > ]]> > </mx:Script> > <Components:MyCom id="com"/> > </mx:Application> > > Custom Component ComboBox > ----------------------------------------------- > > <?xml version="1.0" encoding="utf-8"?> > <mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml"> > <mx:dataProvider> > <mx:Array> > <mx:String>one</mx:String> > <mx:String>two</mx:String> > </mx:Array> > </mx:dataProvider> > </mx:ComboBox> > > On Wed, Oct 29, 2008 at 1:31 PM, Hani <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Tried adding the comboBOx component in my mxml. > > eg: > > <mx:ComboBox x="199" y="80" width="140"> > > <mx:dataProvider> > > <mx:Array> > > <mx:String>one</mx:String> > > <mx:String>two</mx:String> > > </mx:Array> > > </mx:dataProvider> > > </mx:ComboBox> > > > Both the Strings are displayed.But while I click the combobox I get > > the following error: > > > Error #1034: Type Coercion failed: cannot convert > > mx.managers::[EMAIL PROTECTED] to mx.managers.IDragManager > > > An early solution would be appreciated > > Regds, > > Hani --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

