Skip navigation
Currently Being Moderated

Does anyone know a way to programatically loop through the items in the document library

Mar 9, 2010 2:12 PM

A lot of the funcations like deleteSymbol and updateSymbol depend on which items are "selected" in the library panel.


Is there a way to programatically access these selections?


Loop through the library?


Set selections?

  • Currently Being Moderated
    Jul 13, 2010 3:10 AM   in reply to section1117

    I have looked into this, and I can't find anything on it.

    What the Fireworks developers could do to help extension developers is to provide access to several arrays in the Fireworks document, such as the collection of Library items, layers, and pages.


    One for the developers, I think.

    Mark as:
  • Currently Being Moderated
    Oct 10, 2010 9:42 PM   in reply to Mike Susko

    Yup, I've asked for an API to access the selection in those panels for years, to no avail.


    Note that you can loop through layers, frames and pages, but you can't tell what the user has selected in the actual panel UI.  Also, you can't find out which symbols are currently used in the document.  Nor can you programmatically insert a rich symbol into the document and have it maintain its "richness".

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points