Thanks for the info ramjet!
In case anyone is interested, here's how I managed to work it out using the module approach (my preferred one).
Used the Flash version of SSP instead of the standalone version, which requires this to be inserted rather than what I listed in my first post:
Code:
<script type="text/javascript">
var flashvars = {}
var params = {
base: "."
}
var attributes = {}
swfobject.embedSWF("test.swf", "flashcontent", "300", "120", "9.0.0", false, flashvars, params, attributes);
</script>
I wasn't able to figure out how to set the params array as shown above, which specifies the parent URL as the base href rather than the root of the site (which TL does automatically). Aside from that, TL's native Flash handler works ok for setting the rest of the parameters and flash vars.
As a result, I ended up placing my images.xml into the root of the site and manually adding
Code:
$GLOBALS['TL_CONFIG']['rootFiles'][] = 'images.xml';
to localconfig.php so it wouldn't be deleted automatically by TL.
Bookmarks