Instance name from string

temp.MissleArt = team1[h].MissleArt;
temp.MissleArt.visible

i have a object(container) with multiple children
and based on the units MissleArt i want the objects Child instance visible

however when i do this it assumes that temp.MissleArt is a string even tho temp.Arrow is a child of temp (Missleart is equal to arrow)