I have been successful with passing variables from html to a flash movie by using flashVars; however, I need these variables to be passed to multiple flash (swf) movies. In particular, they need to be passed to a child swf from a parent swf. I have done some research and have learned that the only way to do this in AS3 is by creating a class. I have been successful at creating the class and using it to import a variable into a swf; however, the variable was set directly in the .as file to a specific value (example: public static var userID = 21. The variable needs to be a user id so the .as file has to look something like (example: public static var userID = phpID. What I now need to do is somehow import these php variables into the .as file instead of the .swf file if that is possible. If anybody knows how to do this or has a different solution to solve my problem, any help would be greatly appreciated. Here is the code that I have so far in the .as file: package { public class idClass { public static var flashVars=this.loaderInfo.parameters; public static var flashID=flashVars.PHPid; public function idClass() { } } } Code (markup):