Hello, I have the following problem. I have a Google Map in contentMap.swf. When I open this file alone, everything is OK. But when I loaded it into preloaderMap.swf, this error is displayed:
SecurityError: Error #2121: Security sandbox violation: Loader.content: contentMap.swf cannot access http://maps.googleapis.com/mapfiles/lib/map_1_18.swf. This may be worked around by calling Security.allowDomain. at flash.display::Loader/get content() at com.google.maps::ClientBootstrap/createFactory() at com.google.maps::ClientBootstrap/executeNextFrameCalls() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() The key for Google Map is added to actionscript and html (such as flash vars). I added Security.allowDomain ("*"); in contentMap.swf but the error continues to appear. I would be very grateful for any suggestions and recommendations for solving this problem! Here is a sample source code: http://daniel-petkov.com/files/map.rar -- 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.
