MXML to Actionscript

Here is the MXML code for the stacked chart, i am trying to do the same in Actionscript.

 <mx:series>
           <mx:ColumnSeries yField="dataA">
                <mx:fill>
                    <!--Set alpha to 0 to hide invisible column.-->
                    <mx:SolidColor color="0xFFFFFF" alpha="0"/>
                </mx:fill>
           </mx:ColumnSeries>
           <mx:ColumnSeries yField="dataB"/>
        </mx:series>

This is what i wrote in Actionscript and i am sure i am missing something, as this does not work. appreciate your help! :confused:

//Column Chart info
			this.dataProvider = getDataProvider();
			this.type = "stacked";
			this.percentWidth = 60;
			this.percentHeight = 60;
			this.x = 100;
			this.y = 85;
			this.showDataTips = true;
                 
                //Category Axis
			catAxis = new CategoryAxis();
			catAxis.categoryField = "title";
			this.horizontalAxis = catAxis;	

                // Column Series
   			col= new ColumnSeries();
   			col.yField = "dataA";
   			col.yField = "dataB";    		
			this.series = [col];