Sounds like an older definition is getting loaded via an RSL or preloader or something like that.
On 6/13/14 2:44 AM, "Kessler CTR Mark J" <[email protected]> wrote: >That sounds pretty strange. I'll be able to look at it this evening EST. > I know it had worked at one point for v4.11. > >-Mark > >-----Original Message----- >From: Gary Yang [mailto:[email protected]] >Sent: Thursday, June 12, 2014 9:07 PM >To: [email protected]; [email protected] >Cc: Greg Gordon >Subject: Could you help me with this weird problem when upgrading to >4.12.1 plz? > >Hi, > >I am trying to upgrade a program to Flex 4.12.1, it has a error inside >DataGrid.as: > >ReferenceError: Error #1069: Property sortCompareType not found on >mx.controls.dataGridClasses.DataGridColumn and there is no default value. >at >mx.controls::DataGrid/sortByColumn()[/Users/aharui/flex-sdk-4.12.1/framewo >rks/projects/mx/src/mx/controls/DataGrid.as:3990] >at >mx.controls::DataGrid/headerReleaseHandler()[/Users/aharui/flex-sdk-4.12.1 >/frameworks/projects/mx/src/mx/controls/DataGrid.as:5515] >at flash.events::EventDispatcher/dispatchEventFunction() >at flash.events::EventDispatcher/dispatchEvent() >at >mx.core::UIComponent/dispatchEvent()[/Users/aharui/flex-sdk-4.12.1/framewo >rks/projects/framework/src/mx/core/UIComponent.as:13682] >at .... .... > > >the weird part to me is that sortCompareType can be found in >mx/controls/dataGridClasses/DataGridColumn.as but when running, it not >there: > > >private function onCreationComplete() : void { >var info:Object = ObjectUtil.getClassInfo( DataGridColumn ); >trace( "name->" + info.name ); >var tmp:Array = info.properties; >for each( var p in tmp ){ >trace( p ); >} >} > > >name->mx.controls.dataGridClasses::DataGridColumn >dataField >dataTipField >dataTipFunction >defaultFactory >draggable >editable >editorDataField >editorHeightOffset >editorUsesEnterKey >editorWidthOffset >editorXOffset >editorYOffset >enableIME >factory >headerRenderer >headerText >headerWordWrap >imeMode >itemEditor >itemRenderer >labelFunction >minWidth >nullItemRenderer >overrides >prototype >rendererIsEditor >resizable >selector >selectorIndex >showDataTips >sortable >sortCompareFunction >sortDescending >specificity >subject >visible >width >wordWrap > > >Could you please possibly help? > >Best, > >-Gary
