hi. i’m trying to make a multiple gallery portfolio with xml. i’m using hga77’s fabulous xml menu and what i thought i could do was give an attribute to each portfolio button that would reference other xml files that would contain all the information for the images, thumbs and textInfo. so, first what would happen is a portfolio would be chosen, the gallery movieclip would load and then in that movieclip it would process the xml for the chosen portfolio. did that make sense:h:
my main questions are, will this work? will there be conflicts between the xml that creates the menu and the xml that creates the new gallery? And, the big question and the part that i am most confused about is, how do i pass the variable for the new xml file into the movieclip that will parse it?
ok, here’s what i’m thinking. i would have say, a “newXML” variable. if you click on folio1 button, newXML is going to equal = [COLOR=DarkRed]this.firstChild.childNodes[1].childNodes[0].attributes.[COLOR=Red]xmlFILE[/COLOR][/COLOR]
which would then mean that newXML = [COLOR=Red]folio1.xml[/COLOR].
so, could i then just take that newXML variable and put it into the gallery movieclip where you would write:
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000ff]parseXML[/COLOR].[COLOR=#0000ff]load[/COLOR][COLOR=#000000]([/COLOR]newXML[COLOR=#000000])[/COLOR];
[/LEFT]
[/FONT]
??
i would love some advice on this.