Fixed NPObject error caused by flash execption
Load local library