The problem is that the function is taking too long to do that... like I have:
function buildXML(_xml:*):void
{
.................
.................
buildXML(ixml);
trace("--------------------");
}
trace("here");
and it traces to:
here
-----------------------
-----------------------
-----------------------
-----------------------
-----------------------
-----------------------
-----------------------
-----------------------
I need someway to fnish buildXML before calling another function......
________________________________________
From: [email protected]
[[email protected]] On Behalf Of [email protected]
[[email protected]]
Sent: Monday, March 29, 2010 8:44 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Process issue
Generally..
var myXML:XML = XML(something);
buildXML(myXML);
// now all XML is processed
callotherfunction();
function buildXML(xml:XML) {
..
if (something){
buidlXML(someXML);
}
On 29 March 2010 at 14:13 "Lehr, Theodore" <[email protected]> wrote:
> I have a function that is building some xml through a recursive function...
> and then call another function once the xml is done....
>
> how can I tell when it is done being built:
>
> I can not do:
>
> function buildXML() {
>
>
> buidlXML();
> callotherfunction();
> }
>
> because that would called to much.... hmm can not figure this out... the
> buildXML function is taking other XML and canging it to a structure I can
> use....
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders