Embed Flash and XML like a pro.
Now it's super-simple to add compelling, data-driven Flash content to your Concrete5 site. With the Flash Embed add-on, it's easy!
1. Upload Content
Upload your SWF, XML and any other supporting content to your site.
Edit a page, then click to add a Flash Embed block. Choose the SWF file you'd like to use, then input the correct width and height.
If your SWF requires XML, the Data tab will let you choose an XML file, then input the variable name your SWF is expecting*
If the user doesn't have Flash installed, you can define alternate content to display instead of the SWF file. If the user has Flash installed, but the version is too old, the add-on will load "Express Install", which lets the user upgrade Flash from within their browser. Practically every Flash embed parameter is configurable.
3. Update XML
You can edit your XML while editing a Flash Embed block. Cool, huh? It supports highlighting, and integrates with the C5 sitemap and file manager. You can keep your supporting assets in your file manager, then use these shortcuts to easily and quickly update their paths in your XML file. If you prefer, you can also access the XML editing interface in the file manager. It's available for any XML file you upload to Concrete.
Concrete5 add-ons are licensed on a per-site basis. That means you need to purchase add-ons multiple times before you can use them on multiple sites.
Thanks for your integrity and support!
Read more: Standard Marketplace License
Version 1.4.1: Added an XML option to the Flash Embed block. You can now browse for (or edit!) an XML file while editing the block.
Version 1.4: Upgraded the way that XML is handled. You no longer need to add it as a block to a global scapbook -- XML is added now in the file manager.
Version 1.3: Added support for GPU accelerated window modes, "direct" and "gpu". Please use with caution. For more information, read this article.
* What if there's no xml parameter?
When Flash content requires XML, some authors neglect to add the option of a "path" or "xml" variable, to let you specify exactly where your XML is loading from. If your content doesn't support this parameter, it may be best to contact the author. It's easy to do, and it will make their content much more flexible.
In Actionscript 3, you can load a parameter called "xml" like this:
var path:String = stage.loaderInfo.parameters.xml;
In Actionscript 1 or 2, you can usually load a parameter called "xml" like this:
var path = _root.xml;
Then they just need to use that variable instead of the hard-coded path they're probably using. However, if there's no avoiding this setback, make sure the XML file you're using has the same name the Flash file is expecting, and try using the base parameter: