.
overview
features
samples
help & support
downloads
buy now
Questions
how do i use my pictures ?(without using GET/POST)

Answers

tophow do i use my pictures ?(without using GET/POST)

1. unpack everything to your computer
2. open the XML document in a text editor (notepad /dreamweaver/whatever).
notice the structure of the XML document, you only have to follow loose guidelines here .
Just remember to keep the keyword “picURL” in each line,
and keep the "<menu>" tags on the beginning and end.
It should look something like this:
------------------------------------------------------
<menu>
<picture1 picURL= “images/picturename1.jpg”/>
<picture2 picURL= “images/picturename2.gif”/>
</menu>
-----------------------------------------------------
3. BAM! Save it on your server as whatever you want. Lets assume you save it as “whatever.xml”
Also for tutorials sake, lets assume you saved it to the directory: http://www.mypage.com/xml/
Okay, simple enough right? BAM!

4. open the .FLA file (macromedia flash)

5. Edit the two variables on the first frame of the root layer.
Change the value of “path” to the RELATIVE PATH of your xml document.
This means if you eventually save your flash SWF file in the root directory
(www.mypage.com/rotation.swf) you are going to want to change the variable “path” value to
“/xml/” because in step 3 you saved it into the “xml” directory.

6. Change the “myXML” VALUE to your XML file name. In this case “whatever.xml”.

Your actionscript should say
-----------------------------------------------------
var path = “/xml/”;
var myXML = "whatever.xml";
-----------------------------------------------------
7. publish your SWF, save everything and upload it to your server, MAKE SURE YOU KEEP THE DIRECTORYS RELITAVELY IDENTICAL.
8. BAM! You’re done!

featured componentsfeatured components