How can I secure my Flash file so that it can't be accessed if not logged in?

How can I secure my Flash file so that it can’t be accessed if not logged in?

On my PHP pages, I have something like:

if ($_SESSION[“test”][“login”])
{
// Show the contents
}

How do I put this into my Flash files?

Thanks.

OM

anyone? :frowning:

To little discription i guess…
Accses from where? Dont se the entire SWF file or something else?