actionscript xml2array function

Closed Posted Jul 20, 2005 Paid on delivery
Closed Paid on delivery

i have a table:

| test r1c1 | tect r1c2 | test r1c3 | test r1c4 | test r1c5 |

| test r2c1-5 |

| test r3c1 | ---------------------------------------------------------------test r3c2-4--------------------------------------------------------------- | test r3c5 |

| test r4-5c1 | test r4c2 | test r4-5c3-4 | test r4c5 |

| test r2c1-5 |

| test r5-5c1 | test r5c2 | test r5-5c3-4 | test r5c5 |

i want a function in action script that will take this external xml file and convert it to an array like: array[tr][array[td]] and an array that will have the atributes.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

* * *This broadcast message was sent to all bidders on Wednesday Jul 20, 2005 12:50:57 PM:

this will be the code but does not work properly

var ap = new Array();

ap_xml = new XML();

[url removed, login to view] = true;

[url removed, login to view]('[url removed, login to view]');

[url removed, login to view] = function(sucess) {

if (sucess) {

parseFile(ap_xml);

showArray();

}

};

function parseFile(xmlDoc_xml) {

temp = new Array();

for (var a = 0; a

for (var b = 0; b

temp[b] = [url removed, login to view][a].childNodes[b].[url removed, login to view];

}

n = new Array(temp);

[url removed, login to view](n);

}

}

function showArray(){

for (var z = 0; z

trace("ap["+z+"]="+ap[z]);

}

}

## Platform

flahmx 7 as2

Adobe Flash Engineering MySQL PHP Software Architecture Software Testing Web Hosting Website Management Website Testing XML

Project ID: #3813797

About the project

2 proposals Remote project Active Aug 10, 2005

2 freelancers are bidding on average $4 for this job

belsolnet

See private message.

$3.4 USD in 1 day
(28 Reviews)
4.4
km0ti0nvw

See private message.

$4.25 USD in 1 day
(2 Reviews)
2.5