1 person found this helpful
You're assigning an ActionScript linkage (class) to items in the library. When you paste your new folder Flash is simply telling you that items in your existing library already exist using the names it mentions (com.aconma.controls.TextMenu, com.aconma.controls.NumericStepper, etc). This is normal desirable behavior to make sure you actually want to do what it's warning you about. Deleting the folder removes those classes from existing therefore you can paste the folder in safely, no collisions exist any longer.
I have a.fla and b.fla. In a.fla I have a folder contains other folders and symbols (call "F")
I paste F to b.fla and edit F in b.fla (doesn't change linkage definition, only change the interface, like alpha, color... of some symbol, doesn't edit Classes, doesn't add any folder or symbol to F.
Then I paste F back to a.fla. A dialog appear, I choose "replace existing items" => ok
Everything is ok until I test the movie, the warning displayed and I can't test movie.
Additional, when I cut a folder from library then undo, some symbol was lost.
As for classes, the problem is probably that you're duplicating a component of some sort to try to change the behavior or appearance and Flash is warning you that you pasted a duplicate. Breaking apart the error:
The linkage identifier
was already assigned to the symbol
and cannot be assigned to the symbol
since linkage identifiers must be unique.
Sometimes it just helps to break it out.
If you go in the folder "AconmaComponents/NumericStepper/AconmaComponents/TextMenu" and find the library item named "textMenu", right-click on it, select properties and look in Advanced (select the "Advanced" rolldown if it's not already open). You should see "Export for Actionscript" checked off. You should also see in the "Class" input below the class: com.aconma.controls.TextMenu
Now if you do the same steps but this time to the library element in the folder "AconmaComponents/TextMenu/"
library item "textMenu", you should see the same class name: com.aconma.controls.TextMenu
That's bad. Each linkage ID is based on the class name, and they must all be unique.
You have to remove the duplicate (either of the 2 folders mentioned) to remove that one warning. You'll need to continue deleting the other repeated elements to get rid of the rest of the warnings. Once you have no warnings left it should work. However any references in your project to what you just deleted won't show up.
If you want to customize that specific component multiple times it should follow the standard component skinning model but you'll need to refer to their documentation to verify that. You'll need to only include the TextMenu component (and all the others) a single time in your project and then assign different skins to change anything about them.
But I don't have the folder AconmaComponents/NumericStepper/AconmaComponents/TextMenu
I just have the folder AconmaComponents/TextMenu
So the definitions are already unique.
I think it can be a bug when flash replacing items?
Try clearing your publish cache (Control->Clear Publish Cache) and save the file before testing. What version of Flash is this and what version of OSX or Windows?
Also remember any "included" SWFs whether it be via embed, runtime shared library, included SWC, etc will collide with each other as well.
I'm using Flash Pro CC - Windows 8 64-Bit
I'll test it again and tell you what's happened step by step...
This is an expected behavior in Flash. The Warning messages are thrown while publishing whenever you have different symbols linking to the same AS3 class.
Looking at your warnings it seems like you initially had a folder full of components/symbols with some AS3 class associated with each of them. Then you copied the folder into some other file's library, renamed the components/symbols over there while maintaining the same AS3 class names. Then you probably copied back the *updated* folder to your original library.
What happens here is that since all the component/symbol's names are different after renaming, the copied folder gets merged with the existing one and none of the components or symbols get overwritten. So now you have two copies of the same item in library pointing to the same class which would eventually throw Warnings during Publishing.
To resolve this, you'd either have to remove the AS3 class names from all of the old existing items in library. or simply delete the existing folder and then paste the new one.
Hope this helps.