Controlling a MC with in a MC

Hello all,
Novice Flash user here. I’m having a bit of a problem that I’m hoping someone can help me with.

I have a movie clip (Candle1) that contains a button(CandleButton) and another movie clip(Flame).

Candle1 has the following code attached to it.

onClipEvent(data)
{
 strFirstName = FirstName;
 strLastName = LastName;
 strDate = CreatedOn;
 
  }
onClipEvent(load)
{
 loadVariables ("getdetails.aspx?Record=1", this);
  
}

I was wondering if anyone could tell me how I could hide the movieclip (Flame) if there are no variables passed to the clip.

I have attached my fla file as well if that helps. Any suggestions?

Mike