I have finally replicated an error very similar to the one Ian
reported, after dragging a simple Flash map, and I have reported that
internally.

The getPrintableBitmap function processes all the overlays on the map.
Is it possible that you added something that it did not have access
to?

I just put together a demo that puts a Map inside a Canvas, dragged it
around a bit and called getPrintableBitmap, and it does not report an
error. If you can put together some minimal code and steps for
replication, then I can tell if it's a bug with our code.

Thanks! - pamela


On Tue, Sep 8, 2009 at 6:24 AM, Jonathan Wagner <[email protected]> wrote:
>
> I've actually bumped into a replicatable version of the sandbox error
> in conjunction with getPrintableBitmap().
>
> *** Security Sandbox Violation ***
> SecurityDomain 'http://maps.googleapis.com/mapsapi/publicapi?
> file=flashapi&url=file%3A%2F
> %2F*&key=ABQIAAAA8CazDZ3tQvLQ7ZYmuvCagBRuA6HcZ-
> ESEifxnYtdX1DKmiVVchRYWgKQJvhNOEAByImH-dGCYZx2ug&v=1.16&flc=x3' tried
> to access incompatible context '.../bin-debug/test.html'
>
> In order for me to get the error to emerge, I have to drag the map ,
> and then call getPrintableBitmap(), the error doesn't appear to occur
> when I first load the map, only after I drag it (doesn't seem to
> matter how much). I also ran into this, which I have never seen
> before:
>
> *** Security Sandbox Violation ***
> SecurityError: Error #2121: Security sandbox violation:
> BitmapData.draw: http://maps.googleapis.com/mapfiles/lib/map_1_16_3d.swf
> cannot access myprojectpath/test.swf/[[DYNAMIC]]/1. This may be worked
> around by calling Security.allowDomain.
>
> After further investigation I have discovered this error only seems to
> occur when I nest the map in either an Image or Canvas, if I add the
> map directly to the application, the error doesn't appear to occur.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to