Somebody approached me today asking me if they knew of a way to specify a flash equivalent of the BASE html tag, that changes the base directory location for all of the swf’s relative external calls, such as Movieclip.loadMovie, Movieclip.loadVariables, loadMovieNum, XML.load, getURL etc…. I knew that one existed but i wasnt quite sure what it was called, luckily a Macromedia Technote on this subject saved the day…
The BASE attribute specifies the base directory which all relative urls are resolved to. For the correct syntax and help with writing your html object/embed tags, checkout this technote. For more information on the usage of the BASE attribute delve into this technote.
Flash MX swf’s also support a new attribute FLASHVARS which allows you to send more variables to the flash player via the OBJECT and EMBED tags, much more than the previous method used in Flash 5. For more information on this new attribute, be sure to read this top tip from Robert Hall.