Loading variable from src of swf

hi guys. i’m making a flash banner that will end up saying “you are logged in as: *****” loading the name from an SQL database using php.
everything is in place to make the animation display the text, but i don’t know how to call the variable i want to display.

in the source, i have:

<embed src="/loggedin.swf?$name1=<? echo $session->get("fullname");?>&$company=<? echo $companyName;?>"

i’ve tried to put the action:

_root.dyntxt.text = "$name1
$company";

but this prints the text $name1 and $company, but doesn’t actually parse the variables.

what is the command i need to make these string act as they should instead of being treated like normal text?
i’m sure its something to do with getVar, but what’s the command?[SIZE=-1]

[SIZE=2]thanks in advance.
.//Yamthief
[/SIZE][/SIZE]