1. I don't see a blue line. If you play the swf alone, do you see the line?
2. That error is telling you that the old AS2 code is still in the movie file. If you remove it all that error will go away. As long as the code is commented out no harm is done.
3. There is a function for coloring the three building parts: paintColor(). You can use that to place the color name in your fields. The function looks like this:
--------
function paintColor(Event:MouseEvent):void {
var thisSection:Object = Event.currentTarget;
var myColorTransform = new ColorTransform();
myColorTransform.color = colorToUse;
thisSection.transform.colorTransform = myColorTransform;
holdColorName = false;
}
-------
The variable thisSection is the part of the building that is clicked on. So you can use that to select the correct textfield. The variable colorToUse is the color that will be used for that building section. If you ask for the clicked on object's name you will get the name of the button: roofButton,wallsButton,trimButton. You could use another array to sort out the correct textfield, but, since there are only three choices, a switch statement will be simpler.
Then, you can just copy the text in the color textfield to the textfield for the building section. So now your paintColor function might look like this:
-------
function paintColor(Event:MouseEvent):void {
var thisSection:Object = Event.currentTarget;
switch (thisSection.name){
case "roofButton":
selected_roof_text.text = tooltip.tiptext.text;
break;
case "wallsButton":
selected_walls_text.text = tooltip.tiptext.text;
break;
case "trimButton":
selected_trim_text.text = tooltip.tiptext.text;
break;
}
var myColorTransform = new ColorTransform();
myColorTransform.color = colorToUse;
thisSection.transform.colorTransform = myColorTransform;
holdColorName = false;
}
-------
Yes, the only way that you can show a line around each color is to add that line as a separate element to the stage.