0 Replies Latest reply on May 10, 2006 9:36 AM by Vertine

    passing a parameter through a listener

      hi guys...been a while, nice to be back.

      i am trying to sample some colors from images already on stage. When the mouse samples a pixel, flash records the hexadecimal value to change the color of an mc on the stage. I got that going if i hard code the mc instance to the funciton.Now i am trying to dynamically produce more mcs. The goal is for the user to select one of these mc's and then sample a color....of course, after sampling, the mc will become that sampled color. However, i can not wrap my head around another way to do this than to pass the parameter of the mc through a listner....but is this possible?