chrishaswhiskey
09-16-2007, 10:29 PM
hi every one, i no this is probably really cheeky of me to ask this in my first post but hopefully ya can help,
so i have this .swf file whihc loads a picture from a folder using an external xml file whihc is fine, but i wanted it so i can make a page on my website and have a file upload thing on it and a user selects the file from there computer and uploads it to the images directory and also wrights the image detals and loctaion in the xml file so that the picture will load into the swf file without me or anyone else having to manually do it,
i dont no if its possible but if anyone can help i would be extreamly grateful,
Chris
This is the xml file (called photoflow.xml):
<?xml version="1.0" encoding="utf-8"?>
<photos path="images/">
<photo name="Photo 1" url="1.jpg">This is the optional description for photo 1</photo>
<photo name="Photo 2" url="2.jpg">This is the optional description for photo 2</photo>
<photo name="Photo 3" url="3.jpg">This is the optional description for photo 3</photo>
<photo name="Photo 4" url="4.jpg">This is the optional description for photo 4</photo>
<photo name="Photo 5" url="5.jpg">This is the optional description for photo 5</photo>
</photos>
so i have this .swf file whihc loads a picture from a folder using an external xml file whihc is fine, but i wanted it so i can make a page on my website and have a file upload thing on it and a user selects the file from there computer and uploads it to the images directory and also wrights the image detals and loctaion in the xml file so that the picture will load into the swf file without me or anyone else having to manually do it,
i dont no if its possible but if anyone can help i would be extreamly grateful,
Chris
This is the xml file (called photoflow.xml):
<?xml version="1.0" encoding="utf-8"?>
<photos path="images/">
<photo name="Photo 1" url="1.jpg">This is the optional description for photo 1</photo>
<photo name="Photo 2" url="2.jpg">This is the optional description for photo 2</photo>
<photo name="Photo 3" url="3.jpg">This is the optional description for photo 3</photo>
<photo name="Photo 4" url="4.jpg">This is the optional description for photo 4</photo>
<photo name="Photo 5" url="5.jpg">This is the optional description for photo 5</photo>
</photos>