Hi,
I have an XML file i’m importing into Flash then creating a variable value called ‘xmlMonth’…if I trace this value I get ‘5’ so I know its getting imported ok. The problem I’m having is when I try to create a new Date with this value, my bits of code look like this…
_root.xmlMonth = xmlNode.firstChild.nextSibling.nextSibling.firstChild;
xmlDate = new Date(2006, xmlMonth, 10, 12, 00, 00);
However this doesn’t work…it resets the month back to Jan. Any Ideas why this is or how I can fix it?
Thanks