View Full Version : Load xml driven swf in an xml driven flash site
hurvinek
08-23-2009, 06:51 PM
Hi,
I hope this is the right place to post this:
I bought a flash site template that loads xml driven swfs inside the main swf as different menu items are clicked. The modules that come with the template work fine, but I don't know how to add a third party xml driven swf, so that it shows up properly. While the third party swf works fine as a standalone, the embedded version loads just an empty movie.
Any help would be appreciated, if you need more info, please, let me know.
Thanks,
hurvinek
vinayak.kadam
08-24-2009, 01:22 PM
Well,
Is it that amongst the list of current SWF's you also want to add a new SWF or preferably a new menu item ? Can you please elaborate more on the coding side or what ever u have done to add a new SWF ?
As ever,
Vinayak Kadam
hurvinek
08-24-2009, 04:52 PM
In more details then:
I bought a Flash website template which loads different modules (swfs) as subpages when you click on a menu item. There is a main xml file that loads menu items, the links to the swf modules to be loaded, and also their individual xml files.
The structure of this file is like this:
<page title1="First title" title2="Secondary title" pageTitle="Page title" type="single" back="background.jpg" height="300" src="swfHere.swf" xmlPath="xmlHere.xml" />
The modules of the template work fine, but instead of one module I want to use a third party module. It is also an xml driven swf, using certain dynamic elements. I would like this swf to load inside the site, just like the other swfs supplied with the template.
Simply by specifying the third party swf and its xml in the main xml file doesn't work. What I get is an empty movie. The author of the template says in the manual, that the xml loading part is only for his modules. But there is no information on how to load a third party swf with xml.
Here you can check out the site. If you click on "Brigádmunka", a photo gallery should open, but you only get the empty movie:
www.cinka.hu/brigad
Thanks for the interest in helping me. Please, let me know if you need more information.
hurvinek
hurvinek
08-24-2009, 08:29 PM
Problem solved. The site template was using AS2, the third party module was using AS3.
vinayak.kadam
08-25-2009, 05:27 AM
Thats wonderful experience to learn!
As ever,
Vinayak Kadam
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.