Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Library reports 4 instances, find & replace finds none. Symbol search useless.

Engaged ,
Mar 02, 2017 Mar 02, 2017

ActionScript Project. I have a symbol in library reported to be used 3 times.

I open search and replace, search for symbol, select the same symbol (reported as 3 instances in library) name from the drop-down menu.

Results: no items found. As you can see from screenshots.

This is consistent. Is there a way to make the search symbol functionality useful?

892
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 02, 2017 Mar 02, 2017

No, not the symbol you're interested in, the symbols that might possibly contain that symbol.

In the library do a Select Unused Items. Drag any of those that are containers onto the stage (it wouldn't do any harm if you also dragged bitmaps). Also, any symbols that have a linked name and a usage count of zero would want to come onto the stage. If you do that in a blank frame it will make it easier to delete them afterwards.

Once they are there, the find & replace should give you a list of everywhe

...
Translate
LEGEND ,
Mar 02, 2017 Mar 02, 2017

Find Replace only finds things that are on the stage at some point. Usage includes ones where it's used in something else, even if that other thing is not used.

If the goal is to delete anything that is not used at all you can use the Select Unused Items option in the Library menu. If you want to swap those symbols for other ones, an easy way would be to take anything that says it's not in use in the library, and drag them onto the stage. Then Find Replace should find them.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 02, 2017 Mar 02, 2017

Thank you Colin. I work in uber-large gaming projects, and this "search" feature that only searches stuff on stage is less than useless. Especially when you share code with other people, you may have to find instances even deeply nested in symbols.

If library knows how many instances of a symbol are used, Animate probably can effortlessly trace them down in tree symbol structure, but like this, it's a toy sincerely.

I am working on source files not built by me, with a lot of complex library symbols and millions of lines of code, and it's sincerely disappointing to have to manually dig down all symbols in order to find instances...

I'd rather save as xfl, and do a whole text search in XML structure.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2017 Mar 02, 2017

It doesn't take long to drag from the library and then delete the items when you're done with your searching.

Are you trying to delete unused symbols? If you are you can use the library feature I mentioned.

If you're trying to change how a symbol looks, can't you edit the symbol in the library? Then it would look different everywhere.

But, your basic point is valid, I have asked for that ability before. If you want to make sure Adobe know that people want to search for library only items you could add another feature request:

Feature Request/Bug Report Form

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 02, 2017 Mar 02, 2017

Thank you Colin I had already filed a feature request right away. Shouldn't be too hard for Adobe.

But what you are saying is: if I drag a symbol on stage and then search for it, search window will report all occurrences of that symbol even if nested in other symbols which are not on stage?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2017 Mar 02, 2017

No, not the symbol you're interested in, the symbols that might possibly contain that symbol.

In the library do a Select Unused Items. Drag any of those that are containers onto the stage (it wouldn't do any harm if you also dragged bitmaps). Also, any symbols that have a linked name and a usage count of zero would want to come onto the stage. If you do that in a blank frame it will make it easier to delete them afterwards.

Once they are there, the find & replace should give you a list of everywhere the symbol you want is used.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 02, 2017 Mar 02, 2017

Ok thanks, that's very helpful

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2017 Mar 02, 2017

Thanks for the change of Correct answer. My one was more optimistic than your one!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 03, 2017 Mar 03, 2017
LATEST

Thank you mate

Mine was very pessimistic ahahah I shouldn't write posts after 45 minutes of clicking and clicking

thanks for your help

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 02, 2017 Mar 02, 2017

Correct answer: search only finds symbols on stage.

Verdict: feature is useless.

Workaround: save as XFL, and do a full search on XML text to figure out where instances are nested.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2017 Mar 02, 2017

Correction: Feature is useless for you. I've found it quite useful over the years. I'm sure many others have as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 02, 2017 Mar 02, 2017

Agree thank you for pointing this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines