try a crossDomain file
----- Original Message ---- From: aceoohay <[EMAIL PROTECTED]> To: [email protected] Sent: Sunday, January 27, 2008 11:39:22 PM Subject: [flexcoders] Yahoo Maps AS3 integration problem 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.allowDomai n. I have tried calling Security.allowDomai n() with various urls to no avail. Is there a workaround for this? Paul ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

