I want to write a script that replaces the source of certain bitmap objects in my library with another file. Actually, it's not important that the object is updated on the stage in Flash, and I don't care if BitmapItem.sourceFileIsCurrent
's state changes. I just need the sourceFilePath to be changed for our export process (involving CreateJS).
The problem is that JSFL's BitmapItem.sourceFilePath
is read-only. I considered importing the new image and deleting the old one, but the old one will be used in various other symbols and on the stage. So what can I do to resolve this?