Edit 3: Well, I started the Windows Server 2008 R2 virtual machine by installing Flex Builder 3 and seeing if I could create a new project to compile and execute correctly. News! I got an IDE and worked in VM, and I STILL got the exact same error after compiling the code without any problems! Here is a big, decisive double you tee eff .
Edit 2: Since this has become a rather long post, I will talk about it here. I just went through and deleted each part of the two problematic lines individually and tried to compile after each of them, and I got an error every time. I even deleted all of the two DataGridColumn , and it still has not compiled, although commenting on two empty lines <mx:DataGridColumn /> will allow the program to load! It drives me crazy, can anyone shed some light on this for me?
/ Edit 2
I have an AIR application that will apparently compile just fine when I press F5, but before the application gets the ability to download, I get the following error:

Commenting on blocks of code, I narrowed down the problem to two specific lines.
<mx:DataGrid id="grid1" width="100%" height="100%" editable="false"> <mx:columns> <mx:DataGridColumn headerText="Symbol" dataField="Symbol" headerWordWrap="true" width="100" textAlign="left"/> <mx:DataGridColumn headerText="Description" dataField="FullName" headerWordWrap="true" width="150" textAlign="left"/> <mx:DataGridColumn headerText="Trans" dataField="TransactionCode" headerWordWrap="true" width="75" textAlign="center"/> <mx:DataGridColumn headerText="Quantity" dataField="Quantity" headerWordWrap="true" width="50" textAlign="right" labelFunction="formatUtil3"/> <mx:DataGridColumn headerText="Execution Date" dataField="ExecutionDate" headerWordWrap="true" width="80" textAlign="center"/> <mx:DataGridColumn headerText="Execution Price" dataField="ExecutionPrice" headerWordWrap="true" width="65" textAlign="right" labelFunction="formatUtil1"/> <mx:DataGridColumn width="15" backgroundColor="0x888888" dataField="blank1" headerText=""/> <mx:DataGridColumn headerText="Previous Business Day" dataField="PreviousDate" headerWordWrap="true" width="80" textAlign="center" itemRenderer="PD5"/> <mx:DataGridColumn headerText="Previous Business Day Price" dataField="PreviousDatePrice" headerWordWrap="true" width="65" textAlign="right" labelFunction="formatUtil1" itemRenderer="PD5"/> <mx:DataGridColumn headerText="% Difference" dataField="PreviousDateDelta" headerWordWrap="true" width="65" textAlign="right" labelFunction="formatUtil2" itemRenderer="PD5"/> <mx:DataGridColumn headerText="Source" dataField="PreviousDateSource" headerWordWrap="true" width="100" textAlign="left" itemRenderer="PD5"/> <mx:DataGridColumn width="15" backgroundColor="0x888888" dataField="blank2" headerText=""/> <mx:DataGridColumn headerText="Previous Month End" dataField="PrevMonthEndDate" headerWordWrap="true" width="80" textAlign="center" itemRenderer="PME5"/> <mx:DataGridColumn headerText="Previous Month End Price" dataField="PrevMonthEndPrice" headerWordWrap="true" width="65" textAlign="right" labelFunction="formatUtil1" itemRenderer="PME5"/> <mx:DataGridColumn headerText="% Difference" dataField="PrevMonthEndDelta" headerWordWrap="true" width="65" textAlign="right" labelFunction="formatUtil2" itemRenderer="PME5"/> <mx:DataGridColumn headerText="Source" dataField="PrevMonthEndSource" headerWordWrap="true" width="100" textAlign="left" itemRenderer="PME5"/> </mx:columns> </mx:DataGrid>
Two lines are marked <!----> . If I comment on these two lines, the application will compile, run and display correctly, but if I leave them active, I will get the error above.
What's going on here?
Edit: Additional code as requested -
<mx:CurrencyFormatter id="format1" precision="5" useNegativeSign="false"/> <mx:NumberFormatter id="format2" precision="2"/>
And functions -
private function formatUtil1(item:Object, column:DataGridColumn):String { var Field:Object = item[column.dataField]; return format1.format(Field); } private function formatUtil2(item:Object, column:DataGridColumn):String { var Field:Object = item[column.dataField]; return format2.format(Field); }
Then the .as file for PD5 is
package { import mx.controls.Label; import mx.controls.listClasses.*; public class PD5 extends Label { private const POSITIVE_COLOR:uint = 0x000000;
And now PME5.as -
package { import mx.controls.Label; import mx.controls.listClasses.*; public class PME5 extends Label { private const POSITIVE_COLOR:uint = 0x000000;