[flexcoders] Writing images to the src folder in flex/air

2010-02-18 Thread James
In my app I have a jpegencoder which saves bitmap snapshots of components as jpgs in my images folder (assets/images). The problem is it saves them in the bin-debug folder rather than the src folder. The reason I want them in the src folder is so that I can embed them within the app and it

Re: [flexcoders] Writing images to the src folder in flex/air

2010-02-18 Thread Johannes Nel
first off, you don't want to save them in your src folder since this is only available at compile time and not in the deployed application. Also, if you are deploying to a Mac, you can't save things in your application directory, this will give you a security error, you should rather save to the