Convert XML to string
hello,
i have following situation:
i make application stores data in valid xml file.
the storage of data file.io operation works when trie send file on internet using string, gives me objectname.
so have code sending data on internet :
data = mycertgen.writexml(mydata) --get data xml obejct
--the data want save.
tdata = ["name":"pcdata.ts","datos":data]
--call php script.
gnetid = postnettext("http://dev-site.com/telesiminar/save.php",tdata)
so data class makes xml. xml object.
then send file on internet php file.
now in data <flashobject d59cd70>
so know object. question how convert object string wich can send ?
i guess 'data' refer "datos" of property list. perhaps can use tostring() method.
data = mycertgen.writexml(mydata) data = mycertgen.tostring(data) put data
this might work, isn't clear posted sort of object mycertgen points to.
More discussions in Director Basics
adobe
Comments
Post a Comment