String not STAYING converted to number?

I can’t make heads or tails of this…

First trace brings up numbers, second one gives me a NAN. Is it impossible to import numbers into flash?


var totalIncome:Number;

//WORKING ON THIS!

function onResult(result:Array) {
    var numCampaigns = result.length;
    for (var i = 0; i <numCampaigns; ++i) {

        var cData = result*;
        var totalIncomeRaw:int = int(cData.income);
        totalIncome += totalIncomeRaw;
        trace(totalIncomeRaw); // Results in numbers
        var myNum:Number = Number(cData.profit);

        if (i == numCampaigns - 1) {
            trace(totalIncome); // Results in NAN
        }

    }
}