Hi,

Sorry some Network error while sending the message. This is the one i
supposed to send.

Hi Hani,

I think your issue is not with the ComboBox . It is with the Module .
I suppose this is happening because of the unavailability of the
DragManager when the Module is loaded .

Add this code to your main application file. This will make sure that
DragManager is availble for the Module when it is loaded


import mx.managers.DragManager;
var dm:DragManager;


Regards

Subeesh
http://www.subeesh.co.nr/


On Sun, Nov 2, 2008 at 2:10 PM, subeesh a <[EMAIL PROTECTED]> wrote:
> Hi Hani,
>
> I think your issue is not with the ComboBox . It is with the Module .
> I suppose this is happening because  DragManager is not loaded when
> the Module is loaded .
>
> Add this code to your
> import mx.managers.DragManager;
> var dm:DragManager;
>
>
> On Sun, Nov 2, 2008 at 9:49 AM, Hani <[EMAIL PROTECTED]> wrote:
>>
>> While I try to change the selected value in the combobox I get this
>> error.
>>
>> Regards,
>> Jabir
>>
>> On Nov 1, 9:28 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]> wrote:
>>> Hi Hani,
>>>
>>> Did you try dragging the elements of the combobox?
>>>
>>> Regards,
>>> Venkatwww.venkatv.com
>>>
>>> On Sat, Nov 1, 2008 at 10:13 AM, Hani <[EMAIL PROTECTED]> wrote:
>>>
>>> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to