Passing variables to a script

Is there a defualt way in applescript to check for any variable that has been passed in?

I’m calling a compiled AppleScript application from Flash using fscommand(“exec”,myAppleScript.app) and I am trying to figure out if there is a way to pass some data to the script. I’m not sure what the format would be…

fscommand(“exec”,myAppleScript.app,myvar)

fscommand(“exec”,myAppleScript.app myvar)

fscommand(“exec”,myAppleScript.app?myvar=mydata)

but on the of chance that any of these methods are viable, i need a way to get at all argument data.