How to use relative path for assets in Flash library? -
When I drag and drop the image in the Flash Library, the path is sometimes relative (./somefolder/someimage .png), and sometimes it's full (D: \ blah \ somefolder \ someimage.png).
How can I use only relative paths in the Flash Library to be able to update all the images from any computer and / or from any folder?
Thank you in advance.
I have found CS5, uncompressed project *. XFL has been saved as my project directory structure:
-
The main project in the root project directory (i.e. c: \ MyApp) * The Xfl project file and other system folders / bin / meta-INF and so on
-
/ images < / Strong> - All art there, PNGs, JPG and so on
I go to IDE, File-> Import-> Import on the platform, then I will Select images (use of shift The by) / images folder
They appear in the library. In addition, they are automatically copied to the system / library folder
In the main project XML file (DOMDocument.xml), there are such lines (clear):
Lt; DOMBitmapItem name = "button / menu button! .png" ....... sourceExternalFilepath = ". \ LIBRARY \ button \ menu button! .png" ....... / & gt;
As you can see, paths are relative. I do not use * .fla projects, but you can try this plan! There are no spaces in my project path.
Hope for this help
Comments
Post a Comment