0 Replies Latest reply on Oct 26, 2006 11:14 AM by therf

    ActionScript & MXML compiler error

    therf
      Trying the example on pp 719-720 of the Dev. Guide. Project has 2 files, MyRenderer.as & test.mxml. MyRenderer.as is a single public class "CellField" enclosed in a package declaration for MyRenderer. test.mxml contains a datagrid with the following MyRenderer.CellField reference:

      <mx:DataGridColumn dataField="Monday" itemRenderer="MyRenderer.CellField"/>

      Compilation of test.mxml gives the following errors:

      1120: Access of undefined property CellField
      1172: Definition MyRenderer:CellField could not be found

      I thought having the xmlns="*" attribute on the Application tag would let the compiler resolve the CellField reference?

      TIA
      Marc