try { loaderFavorites.load(requestFavorites); } catch (error:SecurityError) { txtOutput.appendText("SecurityError"); }