I am adding Yahoo maps to an existing application. Everything seems to be working swimmingly. This application has a generic feature for all panels that allows the user to e-mail the panel to another user.
To do this the application grabs the image of the panel using the BitmapData/draw() funtionality. Flex get's its shorts in a bunch over this when trying to access the Yahoo Maps panel. The error I get is; SecurityError: Error #2121: Security sandbox violation: BitmapData.draw: http://localhost/XXX/src/bin/XXXMain.swf cannot access http://us.maps1.yimg.com/us.tile.maps.yimg.com/tile? md=200705152300&col=0&row=4&z=14&t=p. This may be worked around by calling Security.allowDomain. I have tried calling Security.allowDomain() with various urls to no avail. Is there a workaround for this? Paul

