all groups > flash actionscript > july 2006 >
You're in the

flash actionscript

group:

xml gallery


xml gallery samuel ezeji
7/12/2006 7:52:34 PM
flash actionscript:
dear flash gurus,i will greatly appreciate any help u can give me with this
issue.I'm a new flash user and I would like to understand how the xml flash
gallery shown at www.savdesign.com was made.thank u very much.
Re: xml gallery fikshin
7/12/2006 8:27:34 PM
Yeah xml was such a pisser for me to learn. but now i would never think of
making a site without it. I dont want to overwhelm you you said you are new so
i'll give you a sample and some basic pointers. First, you gotta be comfortable
with object oriented ActionScript for it to make ANY sense. Know what it is to
instantiate a class, call its methods, etc. Also, you're going to need to do
some loops and conditions to work with incoming XML data. so know how to write
functions that do that.

Anyway here's a sample you can tinker with:

myxml = new XML();
myxml.ignoreWhite = true;
myxml.onLoad = function() {
for(i=0; i<myxml.firstChild.childNodes.length; i++){
trace(myxml.firstChild.childNodes[i].firstChild.nodeValue);
}
}
myxml.load("example.txt");
Re: xml gallery samuel ezeji
7/12/2006 9:45:11 PM
thanks a lot for ur prompt reply and ur eagerness to help.i've spent a few days
since i downloaded the free version of this gallery trying to understand as
much of it(xml and actionscript)as i can.i wish he would include the fla with
purchase.anyhow,if u could show me an example of something like that gallery
where the thumbnails load and are subsequently used to load bigger images on
top of those thumbnails,i would really really really appreciate it.thanks.
Re: xml gallery _sacal_
7/17/2006 4:51:27 PM
I found another flash/xml image gallery with those same functionalities. Not as
nice visually, but you could add your own interface, since they do include the
FLA.

http://www.intuitivemedia.biz/templates/imagegallery

good luck.
Re: xml gallery buque01
8/23/2006 5:35:34 PM
I have been having same problem with other FLA file. I did try youre xml file
and AS code? It did not work, it did not trace anything on the end result. Same
problem with my other file. It just wont load any data. Files are together and
I am using Flash 8 Pro. I have review the code on both files. I am at a dead
end here. Please Help.

p.s. I have a decent grasp of AS 2.0
AddThis Social Bookmark Button