4 Replies Latest reply on Feb 18, 2013 10:55 AM by Ned Murphy

    XML path handeling (NaN problem)...




      I have a question about XML path. I'm able to get an informations from xml file (specific numbers), however I'm not able to make a mathematic operation with it. I can trace it as a number, but when I want +/- or */ flash is complaining about that it's not a number.


      VydraPrize = xml.firstChild.childNodes[0].childNodes[dayCount].childNodes[0];


      * VydraPrize my variable defined as number before

      **dayCount my variable


      Should I understand that this is not number but some kind of object, or path?


      Thanks for help