Käynnissä

Write and handle well-formed XML via actionscript as3

I need an actionscript code that writes an XML file with entries created by using text from an input field and a specific time that can be chosen from a dropdown menu. After clicking a button, the input should be saved in the applicationstorageDirectory and then displayed on the same screen.

The XML should look similar to this:

<root>

<entry>

<message>from input field</message>

<time>from dropdown menu</time>

</entry>

</root>

And every new entry should be added inside the root element similar to this (and displayed accordingly):

<root>

<entry>

<message>from input field</message>

<time>from dropdown menu</time>

</entry>

<entry>

<message>from input field</message>

<time>from dropdown menu</time>

</entry>

</root>

I have attached a Flash CS5 document (.fla) and the code it contains (.txt) if your version of Flash is older than CS5. Most of the elements are already present but are not completely working. Right now, I can WRITE the XML but not APPEND. When appending, the XML will not be well-formed because the second entry is appended after the root element.

You can either make my code work with the guidelines from above or start fresh, whatever is faster/easier for you. Thanks!

Taidot: ActionScript, Adobe Flash, XML

Näytä lisää: formed xml as3, write your message, as3 or, handle, appending, input dropdown, as3 work, xml message, flash document fla, write text attached, look older, as3 screen, button as3, via already, fla already, write file, menu button as3, file handle, flash look older, code xml, as3 flash menu, flash button actionscript, xml text, write message, flash input xml

Tietoa työnantajasta:
( 1 arvostelu ) Aalen, Germany

Projektin tunnus: #1718461

Myönnetty käyttäjälle:

phpthebest

I have finished your project, check PM.

40 $ USD 0 päivässä
(102 arvostelua)
5.8

8 freelanceria on tarjonnut keskimäärin 69 $ tähän työhön

Zdrenga

Gladly at your service!

100 $ USD 0 päivässä
(987 arvostelua)
8.8
karunafly

hi there ... check INBOX

75 $ USD 1 päivässä
(240 arvostelua)
7.0
agoldust

Hello. I already created the same project before. Please check PM.

180 $ USD 3 päivässä
(92 arvostelua)
6.8
dasilva1

please check portfolio designs [url removed, login to view] we discuss more details via message thanks

50 $ USD 0 päivässä
(81 arvostelua)
5.4
Desert50

I'm ready to start. Check please PM

50 $ USD 1 päivässä
(28 arvostelua)
4.9
maasoft

I will make the fresh code and give you the xml file in the given format as you [url removed, login to view] start doing it now.

130 $ USD 3 päivässä
(16 arvostelua)
4.3
flashinheart

Hi. i am experience flash developer. interested to work with you.

50 $ USD 1 päivässä
(4 arvostelua)
2.8
thurnz

Lets start. Im very much verse with xml parsing.

100 $ USD 2 päivässä
(0 arvostelua)
0.0
AshishKharwar1

Hi this is Ashish Kharwar. I am a flash developer and i am interested in your project Thanks

30 $ USD 1 päivässä
(0 arvostelua)
0.0