Calling SWF with parameters

Can an SWF file be executed with parameters? I would like to pass in parameters in order to set up the right mode.
For instance if the user is logged onto the site is the only way to get the status of Logon and level of user by calling it from DB?