Posted on 4th June 2010 by Brian Coleman in Flex
Adobe, errors, FlashBuilder, Flex
After uninstalled a Stand-alone version of Flex Builder and installing Adobe CS5 Premium which comes bundled with Flash Builder, I was treated to this lovely error message when trying to debug an app that had previously worked fine.
Installed Adobe Flash Player Is Not a Debugger
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.

Whoa there Adobe
I like to use IE as my default debugger because I never use it to browse and along with the above error, I got some funky message about IE can’t install it’s lame Active X plugin because you’ve got another version of Adobe Flash Player installed.
Well great. So after searching up a storm and finding nothing concrete, I came across an Adobe tech-note that said run the uninstaller from the command line and use the /clean option.
After trying that (and re-booting, I guess that’s crucial for IE) everything’s back to working. When installing the next version of the Flash Player and related plug-ins nothing will choke because everything’s been wiped out.
If you need the uninstaller link, here’s the always current version – http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe
Posted on 21st March 2010 by Brian Coleman in Flex
advanceddatagrid, dataprovider, errors, Flex
I love error messages that are vague and don’t really spell out what the problem is, especially when you’re first learning a new language or technology.
Most of the time a google search turns up the answer pretty quickly, but this one didn’t turn up much.
Luckily, it turned out to be a typo: I forgot to put in a couple lines while using an AdvancedDataGrid – I think anything that uses columns of data would do the same thing.
I think you can also get this error or something similar if you bind data to a dataprovider – such as dataProvider=”{myArrayCollection}” and then you also set the dataProvider in your code, such as component.dataProvider = myArrayCollection, but more then likely you’ll just an app that doesn’t load data correctly.
Anyway, the error verbatim is “Multiple initializers for property ‘dataProvider’. (note: ‘dataProvider’ is the default property of ‘mx.controls.AdvancedDataGrid’).”
So my code, using a bindable array collection (ac), looks like this.
1
2
3
4
| <mx:AdvancedDataGrid id="adgICMP" dataProvider="{ac}" width="100%" height="100%">
<mx:AdvancedDataGridColumn dataField="field1" headerText="header1" />
<mx:AdvancedDataGridColumn dataField="field2" headerText="header2"/>
</mx:AdvancedDataGrid> |
Guess what’s missing? Yep, columns. Apparently not using throws the error, but only when using bracket binding {}
1
2
3
4
5
6
| <mx:AdvancedDataGrid id="adg" dataProvider="{ac}" width="100%" height="100%">
<mx:columns>
<mx:AdvancedDataGridColumn dataField="field1" headerText="header1" />
<mx:AdvancedDataGridColumn dataField="field2" headerText="header2"/>
</mx:columns>
</mx:AdvancedDataGrid> |
If I used something like adg.dataProvider = ac in actionscript, the code would compile with no errors, although I wouldn’t get the results I wanted and it would dump out all the values in ArrayCollection