03-10-2011 01:27 PM
From what I got through searching, only the command line works, but not the export release build in flash player burrito. But command line does that mean i hav to add one by one until 60? I can put those files inside a folder, but that would mean inside my code the setImage reference would all hav to be changed. Is there any simpler way?
Solved! Go to Solution.
03-10-2011 01:32 PM
hey torres,
i think shifting them into a folder and just going into your coding and doing a "find and replace" to quickly change the locations is a small price to pay from writing all of it out in command line. so id defintely go the folder route. good luck!
03-10-2011 01:34 PM
The best way to do it is to create an assets folder and just add assets in the cmd line instead of each img file name.
This does mean that your code will change to "assets/img.png" though.
03-10-2011 01:35 PM
unfortunately the easiest way of building your package would be to have all your images in a folder that way when it comes time to using the command line you simply add the folder to the command line... if you don't want to change your code reference path you'll have to add the images one by one to the command line
Could you do a Search and Replace to change the path?
03-10-2011 01:53 PM
60 images with different names.. and it's all scattered throughout the application. How to search?
03-10-2011 01:55 PM
hey torres,
just do a search for .setImage(" and replace with .setImage("images/ just like that with that one quote. and it should do replace without a problem! good luck!
03-10-2011 01:57 PM
you could try ctrl+F or option+F on the mac i believe.... you could also highlight the path and try refactor
03-10-2011 02:01 PM
that's brilliant! I never tought of that!