Skip to content

Commit

Permalink
add checkpolicyfile flag in loading context
Browse files Browse the repository at this point in the history
  • Loading branch information
franckinux committed Jan 1, 2013
1 parent fb54b2e commit f9d54d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*~
Expand Up @@ -34,6 +34,7 @@ package com.panozona.player.manager.utils.loading{
this.loadables = loadables;
loaders = new Vector.<Loader>();
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
context.checkPolicyFile = true;
for (var i:int = 0; i < loadables.length; i++) {
if (loadables[i].path == null || !loadables[i].path.match(/^.+(.jpg|.jpeg|.png|.gif|.swf)$/i)) {
dispatchEvent(new LoadLoadableEvent(LoadLoadableEvent.LOST, loadables[i]));
Expand Down

0 comments on commit f9d54d0

Please sign in to comment.