|
|
|
|
![]() ![]() |
![]() Group: Members
Posts: 1 Joined: 18-September 08 From: Coimbatore Member No.: 68,029 |
Post
#1
Oct 1 2008, 08:00 AM
Hi Boosters am created below flex module and then include this module to one mxml application . after that i run that mxml file , its showing combobox successfully. But if i click that combobox then , following error displayed. anyone know the solution, pls post it. CODE <!-- test.mxml --> <mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:ComboBox x="199" y="80" width="140"> <mx:dataProvider> <mx:Array> <mx:Object label="Select" /> <mx:Object label="Apple" /> <mx:Object label="Sony"/> <mx:Object label="Lg"/> <mx:Object label="Samsung"/> <mx:Object label="Hcl"/> <mx:Object label="Moto"/> </mx:Array> </mx:dataProvider> </mx:ComboBox> </mx:Module> <!--Module End --> QUOTE <!-- Error Message --> Error #1034: Type Coercion failed: cannot convert mx.managers::PopUpManagerImpl@91335a1 to mx.managers.IPopUpManager. at mx.managers::PopUpManager$/get impl()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\PopUpManager.as:68]at mx.managers::PopUpManager$/addPopUp()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\PopUpManager.as:169] at mx.controls::ComboBox/getDropdown()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\ComboBox.as:1455] at mx.controls::ComboBox/displayDropdown()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\ComboBox.as:1535] at mx.controls::ComboBox/downArrowButton_buttonDownHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\ComboBox.as:1780] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156] at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::buttonPressed()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Button.as:2498] at mx.controls::Button/mouseDownHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\Button.as:2744] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156] at mx.controls::ComboBase/textInput_mouseEventHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\ComboBase.as:1388] Thanks and Regards Ranjithkumar.M [note=jlhaslip]add tags[/note] |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 7,256 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 myCENT:87.10 |
Post
#2
Oct 1 2008, 08:27 AM
I know this error as I came across it and the problem is that you duplicated the class somewhere and you need to fix that, however, since you didn't provide the full source code it is hard to determine where the duplication is at. Due to the fact you have so many lines that have produce this error, but usually it is at the top of your code that might be producing the error (line 68). Since this is just a drop down menu your are better of just placing it within the application itself instead of connecting it with module and so that is all I can really offer you since I don't know much on debugging errors in flex. I recommend that you click this link which lists google results for this error and that you check them out and see if one of those site might provide you a solution. Click here |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 5,876 Joined: 21-September 07 Member No.: 50,369 |
Post
#3
Feb 19 2009, 12:14 PM
Hello following code in your main application import mx.Managers.*;
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | Shackman | 8,882 | 30th August 2004 - 06:33 PM Last post by: DataHead |
|||
![]() |
17 | stevey | 8,988 | 4th November 2009 - 01:17 AM Last post by: Soviet Rathe |
|||
![]() |
4 | The Devils Playpen | 6,057 | 9th August 2004 - 10:03 AM Last post by: LuciferStar |
|||
![]() |
9 | shadowx | 3,322 | 12th October 2009 - 07:12 PM Last post by: manish-mohania |
|||
![]() |
6 | BlueReign | 5,217 | 18th August 2004 - 08:38 PM Last post by: Aero147 |
|||
![]() |
6 | hh89 | 3,844 | 28th July 2006 - 05:18 PM Last post by: farsiscript |
|||
![]() |
11 | atoz | 8,642 | 8th November 2009 - 05:38 PM Last post by: Dak1ng |
|||
![]() |
5 | MusicOnly | 1,175 | 7th February 2007 - 08:07 PM Last post by: MusicOnly |
|||
![]() |
19 | chrismiller3404 | 606 | 23rd August 2009 - 07:46 AM Last post by: SaraInWasteland |
|||
![]() |
1 | Tenshi | 247 | 29th May 2009 - 06:24 PM Last post by: jlhaslip |
|||
![]() |
2 | Dawid | 5,223 | 20th October 2004 - 07:04 PM Last post by: serverph |
|||
![]() |
0 | sanbeand | 1,734 | 30th October 2005 - 12:45 AM Last post by: sanbeand |
|||
![]() |
3 | Danieluchis | 4,414 | 24th October 2004 - 07:15 PM Last post by: Danieluchis |
|||
![]() |
4 | guangdian | 4,473 | 26th October 2004 - 07:11 AM Last post by: Hamtaro |
|||
![]() |
2 | patrickcurl | 751 | 23rd August 2008 - 02:56 AM Last post by: OpaQue |
|||
|
Open Discussion | Time is now: 21st November 2009 - 07:47 AM |
Web Hosting Powered by ComputingHost.com.