How do i display a variable from php in a flash application?

This really is more of a call to people who know actionscript but as flash has been around a while i thought i might try my luck here.

Basically i want to display the users username (after they have logged in using php mySQL) in a welcome message on the first page of a flash application. I’m not sure how to do it though.
I don’t want it displayed in a text box (because my background is a different colour to the white background of a text field and would look ragged).

It sounds very simple but I’m finding actionscript anything but simple.

Any help or pointers would be appreciated


One way is to use flashvars

Thanks Guido I’ll give that a try…