Two things to try here. 1 go to project properties, library path tab and change flex sdk in drop down above dependency list to include rather than rsl. Second put poop into flash player global security settings trust section, right click a flash plugin and select settings or global settings follow links to setting panel. Good luck, Shaun
On Jul 28, 2:00 am, Ian Davis <[email protected]> wrote: > I am trying to get the GroundOverlay example to work when deployed to > JBoss. > > The code I am using is > :http://gmaps-samples-flash.googlecode.com/svn/trunk/samplecode/Ground... > > When built in FlashBuilder4 and run directly from the bin-debug > folder, the app works by loading the swf directly in a browser. > > If I copy the swf to any other folder and try to run it in a browser I > get the following error. > > SecurityError: Error #2148: SWF file file:///C:/poop/maptest.swf > cannot access local resource file:///C:/poop/osmf_flex.4.0.0.13495.swf. > Only local-with-filesystem and trusted local SWF files may access > local resources. > at flash.net::URLStream/load() > at flash.net::URLLoader/load() > at mx.core::CrossDomainRSLItem/load()[E:\dev\4.x\frameworks\projects > \framework\src\mx\core\CrossDomainRSLItem.as:240] > at mx.core::RSLListLoader/loadNext()[E:\dev\4.x\frameworks\projects > \framework\src\mx\core\RSLListLoader.as:184] > at mx.core::RSLListLoader/load()[E:\dev\4.x\frameworks\projects > \framework\src\mx\core\RSLListLoader.as:156] > at mx.preloaders::Preloader/initialize()[E:\dev\4.x\frameworks > \projects\framework\src\mx\preloaders\Preloader.as:279] > at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/ > internal::initialize()[E:\dev\4.x\frameworks\projects\framework\src\mx > \managers\SystemManager.as:1925] > at mx.managers::SystemManager/initHandler()[E:\dev\4.x\frameworks > \projects\framework\src\mx\managers\SystemManager.as:2419] > > If I deploy the app to jboss or apache, I get the following error: > > Error #2032: Stream Error. > URL:http://localhost:8080/pipeportal/osmf_flex.4.0.0.13495.swf > > If I download the swf from Google, and run it up through jboss it > works!http://gmaps-samples-flash.googlecode.com/svn/trunk/examples/GroundOv... > > I have tried all the above tests for v 1.7, 1.8, 1.16 and 1.18 of the > map_flex swc. -- 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.
