fixed a problem with .tmx <data> node not having attr 'encoding'
fixed TmxEntity.loadGraphic() broken for !flash targets