Plz help on if ...........urgent

plz help on if …urgent
Hi all

i am loading data from a external txt file using loadvars. and putting there values in dynamic textfields. This all is OK.

But the problem is thar i want to chek a if conidition using one of these variables but the condition is not working.

Here is the code i am using

// the actul value of Child4 is 2
trace(Child4);
// Here it gives the output 2
if(this.Child4 == 2)
{
trace(“Yes”);
_root.child4._visible=0;
_root.CH4._visible=0
}
else
{
if(CH4.text==“b”)
{
trace(5);
}

}
}

Here Child4 is the variable giving problem. the if condition not working. Can anybody help this is dam urgent.