Recent activity
Subscribe to this feed
karantha asked a question in Modest Maps on June 03, 2008 02:58:
How do I take a snapshot of the map image provided through ModestMaps library?How do I resolve take a snapshot of the map image provided through ModestMaps library? I tried using the ImageSnapshot.captureImage function, but got the following error:
SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://localhost:9080/.......swf cannot access
http://us.maps2.yimg.com/us.png.maps.... A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\graphics\ImageSnapshot.as:188]
at mx.graphics::ImageSnapshot$/captureImage()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\graphics\ImageSnapshot.as:282]
SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://localhost:9080/enpt/ENPTGui/EN... cannot access
http://us.maps2.yimg.com/us.png.maps.... A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::BitmapData/draw()
at mx.graphics::ImageSnapshot$/captureBitmapData()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\graphics\ImageSnapshot.as:188]
at mx.graphics::ImageSnapshot$/captureImage()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\graphics\ImageSnapshot.as:282]
Loading Profile...
