1 Reply Latest reply on Feb 16, 2007 7:44 AM by kglad

    Grouping symbols programmatically

      I am drawing a graph that can be panned through a mask layer. I need to drag icons into the graph, and have the icons move with the graph when it is panned. So I guess I need a way to have the newly created a icons be incorporated into the graph and act as a group.

        • 1. Re: Grouping symbols programmatically
          kglad Adobe Community Professional & MVP
          you can't change the inheritence structure during runtime. you can however simply add each icon, that's dropped onto your graph, to an array and loop through that array when panning.

          or you can fake an inheritence change by attaching a duplicate using attachMovie(), assign its _x and _y properties and then remove the original icon.