Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I take a snapshot of the map image provided through ModestMaps library?

0
Posted

How do I take a snapshot of the map image provided through ModestMaps library?

0

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.dis

Related Questions

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.