Changing object color using ActionScript

First hello to everyone from a newbie:+)

And now to the problem…i want to change color of an object via AS, which seems simple enough but stay with me. Id already seen but here the object processed is made of multiple rectangles and my object cannot be really made of it. To be more precise, i want to create an image of an house and change it’s color. I tried drawing it with lines, then making it a symbol and change it according to the tutorial but all i accomplished is changing the color of lines.

Anyone has another suggestion?

Thanks in advance