6 Replies Latest reply on Jan 27, 2010 7:45 AM by esteve24

    Flash CS4 Library Question

    esteve24

      Hello,

       

      Is there a way to know how many times a library item is being used in your Flash file?

       

      Thanks!

      Erin S.

        • 1. Re: Flash CS4 Library Question
          RossRitchey Level 4

          The library has a "Use Count" column that displays the number of instances of a symbol in the project. (Scroll to the right if not displaying)  This is only instances that you have placed down at compile-time, any that are added with script are not counted here.

           

          If the column isn't displaying numbers, use the panel menu to select "Update Use Counts Now" and they will update.

          • 2. Re: Flash CS4 Library Question
            waterdad568 Level 3

            Could you use that as a way to tidy your library also, for example, could you remove library items that show 0 use or dashes? What is the difference betwen the two?

             

            Many symbols seem to have attachments to imported bitmaps and etc, I have noticed when removing a bitmap image that was used to create a symbol, the symbol remained but the image blocked out of the display once it was gone.

            • 3. Re: Flash CS4 Library Question
              RossRitchey Level 4

              You see a dash in the use counts column if Flash hasn't checked the number.  To remedy this, use the "Update Use Counts Now" option in the panel menu.

               

              If you want to tidy things up, and get rid of anything not used, there is an option in the panel menu to "Select Unused Items" which will select all items that have a Use Count of 0.  From there it is a simple measure of deleting them.  Be careful with this, though.  This will select items that are not on the stage, or used in a symbol that is on the stage.  But, if you have items that are added with code at runtime, this will still select those.  So, careful not to accidentally delete an object that you are manipulating with code.  This will not typically select an image that you are using in a symbol.

              • 4. Re: Flash CS4 Library Question
                waterdad568 Level 3

                Thanks.

                • 5. Re: Flash CS4 Library Question
                  carl schooff Level 3

                  RossRitchey wrote:

                   

                  You see a dash in the use counts column if Flash hasn't checked the number.  To remedy this, use the "Update Use Counts Now" option in the panel menu.

                   

                  thanks Ross, I never knew that

                  • 6. Re: Flash CS4 Library Question
                    esteve24 Level 1

                    Great... thank you!