as3 changes applied.