Copy link to clipboard
Copied
Hello, everyone.
I'm working on a project using Flash CS6 and it seems there's no way to clear the path to the FLA in the IDE (same for Animate).
And using JSFL, when I try something like:
lib.setItemProperty("sourceFilePath", "file:///");
Or:
lib.setItemProperty("sourceFilePath", "");
I always get an invalid argument error.
JC
Copy link to clipboard
Copied
@Vladin M. Mitov and @n. tilcheff , do you know?
Copy link to clipboard
Copied
Hi João,
Yes, we've had to deal with this persistent and unwanted path several times.
Here is one way of getting rid of it, which I have discovered through experimentation:
1. Create a blank, new, unsaved document.
2. Copy the symbol with the path and paste it in the new document.
3. Enter the symbol and make a small change to its timeline: I extend it by one frame or add a blank new layer.
4. Exit and copy this altered symbol.
5. Paste it back into the original document, replacing the original Library item.
6. Check for the path - it should be gone.
7. Remove the unnecessary added frame/layer from symbol's timeline.
Before:
After:
Hope this helps!
Copy link to clipboard
Copied
Hello, Nick!
It worked!
Wish there was a less hacky way of accomplishing something so simple.
I'm very surprised that this missing feature went unnoticed even in the golden era of Flash!
Thanks a lot!
Copy link to clipboard
Copied
Hi João!
Great!
Yeah, it's been there and causing problems since at least Flash 8.
I haven't dug into its reason for existence, but it seems that the newer versions don't record this path when copy/pasting symbols from one saved document to another, while Flash 8 does. So maybe they've quietly 'fixed' the issue without providing a way of erasing the data.
This was probably intended to be part of some multi-user workflow, later abandoned, where assets could be external and reside in shared locations.
ps. Just checked. This was introduced in Flash MX (6) and persists through to CS4 (10). CS5 is the first version which does not add the path to symbols when copy/pasting.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now