Best practice would have it load via an XML object.

I haven't coded in as2 for a while, but I believe the code is something
like:

import mx.utils.Delegate;

var xml:XML = new XML();
xml.load("./location/doc.xml");
xml.onLoad = Delegate.create(this, onLoad);

function onLoad(success:Boolean){
if(success){
trace(xml);
} else {
// your xml is junk.
}
}

hope that helps.

On 6/21/07, Dave Burnett <[EMAIL PROTECTED]> wrote:

Hi all, first post.

I'm a long-time AW developer and have integrated Flash into that, but not
done much ground-up Flash dev, so I know just enough to be dangerous.

Scenario:
LMS takes a couple parameters, generates an XML structure and launches
Flash
piece to consume it.

Question:
What's the most elegant way to get a .5 Mb XML structure loaded and
parsed?
I've done a bit of primary search and the options I've come across so far
are:

.load
Flashvars with URL
WDDX (It will be hosted on a LAMP setup)
Can I/would it be dumb, write the structure into the launch page as a
param
var

Thanks for any input.

Dave

_________________________________________________________________
Need a break? Find your escape route with Live Search Maps.

http://maps.live.com/default.aspx?ss=Restaurants~Hotels~Amusement%20Park&cp=33.832922~-117.915659&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=1118863&encType=1&FORM=MGAC01

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to