all groups > flash data integration > april 2005 >
You're in the

flash data integration

group:

need help with xml


need help with xml mickof18
4/5/2005 4:35:06 PM
flash data integration:
hello

can someone tell me how would i go about the following, it would be much
appreciated

i have created a flash program and i want to bring a number of different
images from a database and have the user be able to navigate around the images
ie, zoom and pan etc. i have no idea how to go about it so all help is greatfull

mick
Re: need help with xml aventurella
4/5/2005 5:06:01 PM
Well, first things first, if you are going to do this via XML, you need to
setup your XML file to contai, at a minimum, the names of the images. Once y
ou have that setup, you will need to create an XML object and load your XML
file. On a successfull load, you will probably want to convert your XML data,
in this case 'image names', into an array.

Once you have it in an array you can go ahead and loop though it to create the
list, and then create a function to loadMovie() pointing to the image_name in
the array you created.

do you have your AS written for the Zoom/Pan/Etc? If you do, once you do the
loadMovie() it's a matter of applying those actions to it.



Re: need help with xml mickof18
4/5/2005 7:19:41 PM
thanks for that

i have now got the images onto the stage and there working grand but i have no
idea about the zoom or pan effects, have u any ideas cos i am lost on this part
and the code with it

mick

AddThis Social Bookmark Button