[TUTORIAL] How to fix deathscreen (AS3)
head over to 02b>_Y_P.as
and find
Code:
private function _H_p():String{
replace the whole thing with this
Code:
private function _H_p():String{
var _local1:Number = (Number(this.xml.CreatedOn) * 1000);
var _local2:Date = new Date(_local1);
var _local3:DateFormat = new DateFormat();
_local3.formatString = "MMMM D, YYYY";
return _local3.format(_local2);
}
so it should look like this

Step 2.
in com>company>util make a new file called DateFormatter.as
and add this code inside:
Code:
package com.company.util {
public class DateFormatter {
private const MONTHS:Array = [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
];
public var formatString:String;
public function format(date:Date):String
{
var s:String = formatString;
s = s.replace("D", date.date);
s = s.replace("YYYY", date.fullYear);
return s.replace("MMMM", this.MONTHS[date.month]);
}
}
}
And thats your deathscreen fixed!