Author: Christian Lopes
Date: 2010-11-02 14:11:45 -0700 (Tue, 02 Nov 2010)
New Revision: 22688

Modified:
   
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/view/render/ImageCache.as
Log:
Added security policy verification flag to image loader.

Modified: 
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/view/render/ImageCache.as
===================================================================
--- 
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/view/render/ImageCache.as  
    2010-11-02 21:08:55 UTC (rev 22687)
+++ 
cytoscapeweb/trunk/cytoscapeweb/src/org/cytoscapeweb/view/render/ImageCache.as  
    2010-11-02 21:11:45 UTC (rev 22688)
@@ -33,7 +33,7 @@
     import flash.events.Event;
     import flash.events.IOErrorEvent;
     import flash.net.URLRequest;
-    import flash.utils.Dictionary;
+    import flash.system.LoaderContext;
     
     import mx.utils.StringUtil;
     
@@ -134,7 +134,7 @@
                     error("Image cannot be loaded: " + url, 
ErrorCodes.BROKEN_IMAGE, e.type, e.text);
                 });
                 
-                loader.load(urlRequest);
+                loader.load(urlRequest, new LoaderContext(true));
             }
         }
         

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to