Old Articles - 6 years, 6 months ago - 0 Comments

SWF Object/Embed Attributes

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.



Note: This is an old article!

Please be aware that the content of this article may no longer be accurate and the links contained within could be broken.

Update Notifications

You can add our RSS feed to your favorite feed reader or recieve an email when a new article is posted by entering your email address below.

    Shu Player allows you to distribute your AIR Applications to users that dont have the AIR Runtime by converting them to standalone applications. Shu Player also adds more commands to do things like open external applications etc…


    If you hate the Adobe Updater like most of us, then just get rid of it.


    Want to quickly find out what version of the Flash Player a client has installed? Send them to www.playerversion.com


    Yet more pv3d goodness. Im loving this funky 3D Flash Lab, the work of Mathieu Badimon. [Update: Apparently this uses Five3D not PaperVision]


    There is an old interview with me on The FWA, its fairly long at 8 pages.


    If you do alot of travelling then it makes sense to get yourself a Priority Pass, which will get you access to over 500 airport lounges worldwide, regardless of whether your flying enconomy, business or first.


    Freelance Switch is a freelancer community with forums, jobs, daily tips and a complete 212 page e-book titled “How to be a rockstar freelancer” for sale.


    Lots of new media jobs at Creative Pool.


    BBC IPlayer is awesome, but its ashame that BBC News is still using Windows Media Player and Real video. Real player is officially badware.


More In Actionscript


More In Adobe Flash


More In Freelancing