Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
mark_hutchinson #1
newbie Flash/XML question
I have a working web service and a working flash test which passes 3 strings.
The web service responds and I can update a TextArea.
However, I now want to extend the Flash page to send an XML file (located on
the client PC) to the web service.
What is the best way to send the file (which may get quite large - > 400Kb)?
Sample code would be helpful!
mark_hutchinson Guest
-
Newbie XML / Flash question
Hi all, Please help me to the following: I use the XML connector to read an XML file. It works fine. My question is how can I take the attributes... -
Newbie Flash XML. Slideshow question
I attempting to make a slideshow like the one on this page: http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/ But i was... -
Newbie Flash Question
Hi all. I'm learning Flash MX 2004, and have a question. I'll be doing a virtual tour for the company I work for, and I'll be using Flash. It will... -
Newbie Question: Table in Flash
Hi, I'd like to know the best way to create a table that can incorporate flash symbols. That is, I want to place flash symbols alongside data... -
Newbie Question: Flash and JavaScript
I'm trying to solve what is probably an easy problem. I have a .swf (movie) file in an html page called "splash.html." Within the movie, I have a... -
Carl Fink #2
Re: newbie Flash/XML question
mark_hutchinson wrote:
Macromedia's FuseTalk pointlessly makes it hard to post properly-formatted>What is the best way to send the file (which may get quite large - > 400Kb)?
>Sample code would be helpful!
source, but here's what I use for an XML glossary that's part of my project:
outgoingXML.sendAndLoad(pathToFile + "upload.php", dummyXML);
//pathToFile, defined above, is the URL of the directory the SWF and support
//files are stored in. dummyXML is needed only because sendAndLoad expects
an
//XML object as a parameter. It is never used and nothing is sent to it.
The script upload.php consists of:
<?php
echo"
<html>
<head>
<title>Upload Script</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>";
$handle=fopen("./glossary2.xml","w");
fwrite($handle,$HTTP_RAW_POST_DATA);
//fwrite($handle,"Contents go here");
fclose($handle);
?>
Note that you'll need some kind of server-side script or CGI program to
receive the data -- Flash, unassisted, can't save the XML file, it can only
send it to a server-side program.
--
Carl Fink
Please respond to the newsgroup only.
Carl Fink Guest



Reply With Quote

