Passing variables from SWF to SWF

I am using FLASHVARS to pass a variable (Status) from ASP to Flash.

This piece of Flash (named Header), calls another SWF (named InOutPencil) using this command:

_root.currMovie = “InOutPencil.swf”;
container.loadMovie(_root.currMovie);

My problem occurs when I try to use the Variable ‘Status’ in the InOutPencil SWF (below).

if (Status == “Login”) {
_root.gotoAndPlay(1);
}

I need a way of passing the value of the variable ‘Status’ from **Header **to InOutPencil.

Can anybody help?