[Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Process issue

2010-03-29 Thread p...@ipauland.com
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 ted_l...@federal.dell.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
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: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of p...@ipauland.com 
[p...@ipauland.com]
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 ted_l...@federal.dell.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Process issue

2010-03-29 Thread kennethkawam...@gmail.com
Create a Class which processes your XML and dispatches an Event when
it's done. Upon receiving the Event, you can proceed to the next
function.
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 29 March 2010 13:56, Lehr, Theodore ted_l...@federal.dell.com wrote:
 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: flashcoders-boun...@chattyfig.figleaf.com 
 [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of p...@ipauland.com 
 [p...@ipauland.com]
 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 ted_l...@federal.dell.com 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Process issue

2010-03-29 Thread Nathan Mynarcik
Why not call your next function inside the buildXML() function after it is all 
done?


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

-Original Message-
From: Lehr, Theodore ted_l...@federal.dell.com
Date: Mon, 29 Mar 2010 08:56:44 
To: Flash Coders Listflashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Process issue

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: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of p...@ipauland.com 
[p...@ipauland.com]
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 ted_l...@federal.dell.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Process issue

2010-03-29 Thread Lehr, Theodore
it is recursively calling itself


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nathan Mynarcik 
[nat...@mynarcik.com]
Sent: Monday, March 29, 2010 9:19 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Process issue

Why not call your next function inside the buildXML() function after it is all 
done?


Nathan Mynarcik
Interactive Web Developer
nat...@mynarcik.com
254.749.2525
www.mynarcik.com

-Original Message-
From: Lehr, Theodore ted_l...@federal.dell.com
Date: Mon, 29 Mar 2010 08:56:44
To: Flash Coders Listflashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Process issue

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: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of p...@ipauland.com 
[p...@ipauland.com]
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 ted_l...@federal.dell.com 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
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders