> i have main.swf file, into it it is loading another swf with > additional items (png, xml,..). The another swf is loaded but not > external images, xml etc. Flash output says that there is security / > sandbox violation problem. Does anybody has any idea? > > thanks > > *** Security Sandbox Violation *** > Connection to > file:///Macintosh%20HD/Users/pavelkrusek/projects/mama%5Fflash/Devel/src/data/floor_base.png > halted - not permitted from http://localhost:3000/RoomPlanner.swf > -- Remote SWFs may not access local files. > SecurityError: Error #2148: SWF file > http://localhost:3000/RoomPlanner.swf cannot access local resource > file:///Macintosh%20HD/Users/pavelkrusek/projects/mama%5Fflash/Devel/src/data > /floor_base.png. > Only local-with-filesystem and trusted local SWF files may access > local resources.
Just like the error message says, if you load the SWF via a URL, it can't access local files. Access them through your web server instead. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

