Weird Alpha Issue

Hey guys and gals,

Basically I have a system where XML code is read and properties of the specified objects are changed:


<name value="rollover" />
<alpha value="0" type="Number" />
<!-- Setting visible to false works, alpha doesn't -->

All is well and gravy, outside of the alpha property… for some reason, the property is set correctly but the sprite on the stage is not affected (ie. is still visible).


trace(this.name+".alpha =", this.alpha);
//outputs rollover.alpha = 0

And when I use Debug>List Objects, I get the following:


Movie Clip: Frame=0 Target="_level0.layout_holder.header.nav.home.rollover"
    Edit Text:
Target="_level0.layout_holder.header.nav.home.rollover.rollovertext" Variable= Visible=true Text = <P ALIGN=\"LEFT\"><FONT FACE=\"Times\" SIZE=\"18\" COLOR=\"#777777\" LETTERSPACING=\"0\" KERNING=\"0\">Home</FONT></P>"

So the rollover sprite has an alpha of 0, yet the text inside of it can still be seen. Would this have something to do with where I change the properties, or use addChild, or something like that? Every other property runs through fine, aka. if I set visible to false, it disappears.