Wednesday, April 18, 2012

Replacing Library Items In Flash!

Whenever you try to copy an item to the fla library, which already has one with the same name, you get the following window and are prompted to check any one of the follwoing option


Let us assume a case where any one of your symbol/movie clip, say "Symbol 1", has become corrupted, or may be there are some issues with that, so you need to either replace it, or copy it afresh to the library. Also assume that due to some reasons you had already created one copy of the symbol in the library. So we have two similar items now, "Symbol 1" and "Symbol 1 copy". If you copy the same item from somewhere else it displayes the above window. If you select the first option," Don't replace existing item", it creates a copy of it as "Symbol 1 copy". Note that this existing symbol was already there. So both the items will be same and both will be corrupted. Even the freshly copied item becomes corrupted.

If you had selected the other option, what I experienced was that even after that, the copied item was corrupted. But in most of the cases it has worked for me. So the safest option was, that I deleted all the items by that name and all the copies of that, and copied the correct item afresh from a different file.

*****Please note that corrupted item here means that its not the desired movie/symbol or something has been changed in it which you do not need anymore.