load two contents on xml?
- Started
- Last post
- 3 Responses
- ********
<mainmenu>
<title><![CDATA[whatever name]]></title>
<content>elite_html_content_page.swf</content>
<content>backgrounds/bkg_float_09.swf</content>
</mainmenu>I'd like to load these two <content> s at the same time, but it only loads the first in the script.
and yes i'm trying to learn and edit from templates :)i'm trying to load another page and at the same time change the background.
any suggestions how i could fix this?
thx!
- thecreativefire0
I think we're going to need more to go on. Are you loading this xml in flash or on a html page? if flash, is it AS2 or AS3?
- if flash, check you have a 'for' loop to execute the loading for each content in the xml.thecreativefire
- For loop? why?rounce
- ********0
Its AS2, I'm loading the xml into flash. Hope this helps. I can email the whole thing to you if you like
- bulletfactory0
if you're wanting to load 2 items at once, I would name them differently from each other. - such as 'content' and 'background'.