I have still problems with the sandbox settings and didn't find the answer in the worldwideweb yet. Hopefully someone knows the answer or some useful links.

I'm working on a language learning tool at the moment. It should be a local swf-file in the end, which get s all data (images, videos..) from a local folder. User should download the whole package before playing.

Every data is stored in folder called assets (so, main.swf should be in same folder as the assets folder, and all files are accessable with ../assets/filename)

At the moment it doesn't show any pictures! It says, (if i translate it to english)

***Security Sandbox Violation***

Connection from file://myApplication/bin-debug/../assets/graphics/picture.jpg interrupted - not allowed from file:///myApplication/bin-debug/App.swf

But the program doesn't have problems with loading sound or videos from the assets folder. This works fine!

It also works without problems, if I save the pictures in another folder on my system! But this won't work later on anohter pc...Any ideas?

Greetings,

Krister

Further informations:

- Pictures are included like this: <mx:Image source="../assets/graphics/picture.jpg"/>

- I m working with flex 3 on mac os x 10.4

- I tried to compile with use-network=false -> same result, if this should be sth right so solve the problem?!

If I embed the picture with direct source to the local file like, it works fine. (see below). But I want the ../assets-location. Because every user should be able to install the program in a different folder!

I am not able to understand your problem properly.The thing is that when you are making the flex application you are putting your images inside the

assets foler,if I am not wrong. After building the flex application you gets the swf, also in the same folder you will be having the assets folder.Now where

ever you want to use this swf you have to put all the files which are inside that folder which is having the swf and assets.It does't matter where you are

putting them.There is no need to write the path of image on the local pc where the application will be run.You have to simply give the path of your asset

folder for the source of image. And in the download user need to put the assets and swf file in the same drive.Thats all.

If your scenario is different pls made me bit clear, that which one images you are going to show.Like the example below will create the build in which the swf and assets folder will be in the same folder.

Actually I didn't understand zour example code 100%, but your hints solved my problem! I have couple of images, so I wasn't sure how to load them your way with several variable names. I have to admit, that I also didn't work with "Bindable" yet. I think I should check this out. Anyway...