hi @all,

i have 3 objects and 3 color-buttons and i want to fill an object with one selected color. i know i can fill an object(mc) with:

on (release) {
color = new Color(mc);
color.setRGB(0xFF00FF);
}

e.g. i have a 'circle', 'box', 'triangle' and the colors blue, green, red. so i want to click on the 'box' and then on one color and it should fill with the color i click...

how could i do this best??

thanks for help

alex