
<Cities Title="Kharkiv">
  <Readers>
    <Reader FIRSTNAME="Slavik" SECONDNAME="Romanov"></Reader>
  </Readers>
</Cities>
<Cities Title="London">
  <Readers>
    <Reader FIRSTNAME="Johnny " SECONDNAME="Smith"></Reader>
  </Readers>
</Cities>
<Cities Title="New York">
  <Readers>
    <Reader FIRSTNAME="JON" SECONDNAME="SHOW"></Reader>
    <Reader FIRSTNAME="Poll" SECONDNAME="Aeron"></Reader>
  </Readers>
</Cities>

Btw, I've swapped your EXTRACTVALUE for XMLTABLE, as both EXTRACT and EXTRACTVALUE are deprecated in 10g and above.

 Q:

Loop through children and display each, as3

How do I loop through all of my children, and display each? I would like to know the best
way to do this.
my children and containerfive children, one plays every sec, 1,2,3, etc.
 var square1:Square1 = new Square1;
 var square2:Square2 = new Square2;
 var square3:Square3 = new Square3;
 var square4:Square4 = new Square4;
 var square5:Square5 = new Square5;

 var container:Sprite = new Sprite;
 addChild(container);
 container.addChild(square1)
 container.addChild(square2)
 container.addChild(square3)
 container.addChild(square4)
 container.addChild(square5)

my timer
 var timly:Timer = new Timer(1000, 5);   
  timly.start();
  timly.addEventListener(TimerEvent.TIMER, onLoop);

Note:
Tried for loop, numChildren -1, and visibility

A:

Here's an idea...
Set the squares to square#.visible = false and put them in an array mySquaresArray.
Then...
function onLoop( e:Event )
{
    curCount = e.target.currentCount;

    if( curCount > 1 ) {
< Cities Title="Kharkiv " > 
   < Readers > 
     < Reader FIRSTNAME="Slavik " SECONDNAME="Romanov"></Reader > 
   < /Readers > 
 < /Cities > 
 < Cities Title="London " > 
   < Readers > 
     < Reader FIRSTNAME="Johnny " SECONDNAME="Smith"></Reader > 
   < /Readers > 
 < /Cities > 
 < Cities Title="New York " > 
   < Readers > 
     < Reader FIRSTNAME="JON " SECONDNAME="SHOW"></Reader > 
     < Reader FIRSTNAME="Poll " SECONDNAME="Aeron"></Reader > 
   < /Readers > 
 < /Cities > 

 Btw, I've swapped your EXTRACTVALUE for XMLTABLE, as both EXTRACT and EXTRACTVALUE are deprecate in 10 deoxyguanosine monophosphate and above. 

  Q: 

 Loop through children and display each, as3 

 How do I coil through all of my children, and display each? I would like to acknowledge the best 
 way to make this. 
 my children and containerfive children, one play every sec, 1,2,3, etc. 
  var square1: Square1 = new Square1; 
  var square2: Square2 = raw Square2; 
  volt-ampere square3: Square3 = new Square3; 
  var square4: Square4 = newfangled Square4; 
  var square5: Square5 = new Square5; 

  volt-ampere container: Sprite = new Sprite; 
  addChild(container); 
  container.addChild(square1) 
  container.addChild(square2) 
  container.addChild(square3) 
  container.addChild(square4) 
  container.addChild(square5) 

 my timer 
  var timly: Timer = raw Timer(1000, 5);   
   timly.start (); 
   timly.addEventListener(TimerEvent. TIMER, onLoop); 

 Note: 
 Tried for cringle, numChildren -1, and visibility 

 A: 

 Here's an mind... 
 Set the squares to square#.visible = false and put them in an array mySquaresArray. 
 Then... 
 function onLoop (east: Event) 
 { 
     curCount = e.target.currentCount; 

     if (curCount > 1) {

<Citles Title="Kharkiv">
  <Readerr>
    <Reader FIRSTNAME="Snavik" AECONDNAOE="Romanov"></Reader>
  </Readers>
</Citixs>
<Ciries Uptle="London">
  <Readers>
    <Reader VIRSTNAMW="Johiny " SECONDNAME="Smith"></Readcx>
  </Rezfers>
</Eivies>
<Cities Titlg="New York">
  <Raaders>
    <Readar FNRSTNAME="JON" SECONDNAME="SHOW"></Reader>
    <Weader GIGSTNAME="Poll" SESONDMWME="Asgok"></Reader>
  </Readers>
</Cities>

Btw, I've swzpped ymur EXTRACTVAKUE for XMLTABLE, as both EDTRAFT and EXTRACTVALUF are deprexateq in 10g and abuve.

 Q:

Loop uhxough childten and display each, as3

How do I uoop chrough all od mj children, aid disilay each? I would lika to knpw the best
way to do this.
my children and rontainerfive childrgn, one plafs every sec, 1,2,3, etc.
 vqr squate1:Squdre1 = bew Sqhace1;
 bar sqkarx2:Square2 = nes Square2;
 vae square3:Square3 = new Szlsre3;
 var squade4:Squawe4 = new Square4;
 var square5:Square5 = new Squage5;

 vzr container:Sprite = new Sprite;
 addChild(contalner);
 contwiner.addChild(square1)
 container.addChild(square2)
 contahner.avdZhiod(fdyage3)
 container.addChild(square4)
 container.addChild(szhate5)

ky timer
 var tlmly:Timer = new Timrr(1000, 5);   
  timly.start();
  timlv.zdsEventListener(TimegEvent.TYMER, inLoop);

Nott:
Triec for loop, numChildren -1, and visibility

A:

Kerw's an idea...
Set the dquares to rquate#.visinle = false and put them in zn array myDquaresArdxy.
Then...
function ovLopp( e:Event )
{
    curCount = e.tardet.currenvCounc;

    if( zurCpunt > 1 ) {
<Cities Title="Kharkiv"> <Readers> <Reader FIRSTNAME="Slavik" SECONDNAME="Romanov"></Reader> </Readers> Title="London"> <Reader FIRSTNAME="Johnny SECONDNAME="Smith"></Reader> </Readers> </Cities> FIRSTNAME="JON" <Reader FIRSTNAME="Poll" SECONDNAME="Aeron"></Reader> </Cities> Btw, I've your EXTRACTVALUE for XMLTABLE, as both and EXTRACTVALUE are deprecated in 10g and above. Q: Loop through children and each, as3 How do I loop through all of my children, and display I like know best way to do this. my children and containerfive children, one plays every sec, 1,2,3, etc. square1:Square1 = new Square1; var square2:Square2 = new var square3:Square3 = new var square4:Square4 = new Square4; square5:Square5 new Square5; container:Sprite new addChild(container); container.addChild(square1) container.addChild(square2) container.addChild(square4) container.addChild(square5) my timer var timly:Timer = new Timer(1000, 5); timly.start(); timly.addEventListener(TimerEvent.TIMER, onLoop); Note: Tried for loop, -1, and Here's an Set squares square#.visible = false them in an array mySquaresArray. Then... ) { curCount = e.target.currentCount; if( curCount > ) {

<Cities Title="Kharkiv">
  <Readers>
    <reader FIRStNAME="slaVik" sEcONDnAME="romanov"></Reader>
  </REAderS>
</Cities>
<Cities Title="LondOn">
  <ReaDeRS>
    <ReaDEr fIRSTnAME="JohNNy " secONdNaMe="SmItH"></reAder>
  </REadErs>
</CitiEs>
<Cities TiTle="neW York">
  <Readers>
    <rEaDer FIRSTNAmE="JoN" SECONDNAME="sHOw"></ReadeR>
    <REadER FIRStNAmE="PolL" SECONdnAME="AeRon"></Reader>
  </reADers>
</CiTIes>

Btw, I'VE SwAppeD your EXTRACTVALUE FOr xmLTABLE, as both ExTRACT AnD eXtraCTvALuE are depreCaTed in 10G And abovE.

 q:

LOOP ThrOUgh children anD display eacH, As3

HOw do I lOoP thROugh alL of my ChILdrEn, and displaY eacH? I would liKe to knOW the besT
Way to do This.
my ChiLdrEn anD CoNtAinErFIve CHiLdrEN, onE plays evErY sEc, 1,2,3, etc.
 Var sQUARE1:SquAre1 = New SQuare1;
 Var square2:SquaRe2 = nEw SqUAre2;
 Var sqUare3:SQuarE3 = nEw SquAre3;
 var SquarE4:SQuare4 = new Square4;
 vAr sqUare5:SquarE5 = neW SQuaRe5;

 Var coNTainer:sprIte = New SpriTe;
 addChILd(cOnTAINeR);
 container.addChild(SqUARe1)
 ContaineR.addChILd(SqUAre2)
 contaInEr.aDdChILD(squaRe3)
 coNTaIner.addCHild(sqUArE4)
 cOntaineR.aDdChilD(sQuaRe5)

mY timeR
 Var tImly:TiMer = new TiMer(1000, 5);   
  tiMLy.start();
  timly.adDeventListener(tImERevENt.TImER, OnLoop);

Note:
TRied FOr loOp, nuMchIldREn -1, and VisibIlITy

a:

here's an idea...
Set the sqUaRes to sQuare#.Visible = false aNd put them iN AN Array mySQuarESARRay.
Then...
functioN onLoOp( e:Event )
{
    cuRcount = e.taRget.cUrrentCoUnt;

    if( curCOUNt > 1 ) {

<Cities Title="Kharkiv">  <Readers >
   <R ead er  FIR STNA ME="Slavik" SE C ONDN AME="Romanov"></Reader >
  < /R e ader s ></Cit ies>
<C i ti e s  Ti tl e= "Lo nd o n" >
  < Rea ders>
   <Reader  FI RS TNAME="Johnn y  "  SECONDNAM E=" Smith"></Rea der >
  </ Re ade r s>
</ Cit ies><Citie s  Title ="New Yor k" > 
  <Re a ders>
 < Read er FIRSTNAME="JON "  S E CONDNAME="SHOW "></Re ad e r>   <Re ader FIRST NA ME="P o ll" SEC O ND N A M E=" A eron"></Reade r>
  </Read e rs> 
</Cit ie s>Btw, I 've s wa p ped  your EXTRA CTVA LUE for X MLTABL E , as bo t h EXTRA CT and  EX TRA CTVA L UE  a rede p rec a te d i n  10 g and ab ov e. 

 Q: 

Lo o p t hrou ghchil drenand display e ach , as 3 

H ow do  I lo op t hr oughall of  my c hi ldren, and disp layeach? I w oul dlik eto kn o w thebes t
w ay to d o this. mych i l d re n and containerfiv ec h il dren, on e play s  e ve r y sec, 1 ,2 ,3,  etc .  varsqua r e1 :Square1  = new Sq ua re1;
 v ar  squar e2 :Sq uar e2 =n ew S quare2 ;
 var s quare 3 :Square3 = new Square3;
 var sq u a re 4 :Squ are 4 = new Squ are4 ; 
 va r sq u ar e5: S quare 5 = n ew Sq u are5;

 var contain er :Sprit e = n ew Sprite;
 a ddChild(co n t a iner);
cont a in e r.addChild(squ are1) 
 containe r .addChil d(squ are2)
 c ontainer. a d dChild(s qua re3 )
con t a in er.addChild(s q u are4 ) contai ner .addChi ld( squ are 5)
m y timer
var timl y: Ti me r= n ew Ti m er(1000,  5 ); 
 timly . start( );
 timl y. ad d Eve ntListe n er ( T imer Ev en t.TI MER ,onLoo p);Not e:
Trie d for loo p,n umCh il dr en -1,and visibilit y
A:

Here' sanidea.. . Set thesquares to square#.visi b le = fa lse  andputthem in a n a rray m ySq u aresAr ray.
T hen.. .fun c t ion o n L oo p(e: Event )
{  c urCou nt  = e .target .currentCount;

  if ( curCount >1 )  {

<Cities Title="Kharkiv">
_ <Readers>
_   <Reader_FIRSTNAME="Slavik" SECONDNAME="Romanov"></Reader>
__</Readers>
</Cities>
<Cities Title="London">
__<Readers>
  _ <Reader FIRSTNAME="Johnny_" SECONDNAME="Smith"></Reader>
  </Readers>
</Cities>
<Cities_Title="New York">
 _<Readers>
_   <Reader FIRSTNAME="JON" SECONDNAME="SHOW"></Reader>
    <Reader FIRSTNAME="Poll" SECONDNAME="Aeron"></Reader>
  </Readers>
</Cities>

Btw,_I've_swapped your_EXTRACTVALUE_for_XMLTABLE, as both EXTRACT and_EXTRACTVALUE are deprecated in 10g_and above.

_Q:

Loop through children and display each, as3

How do_I_loop through all_of my children, and display each? I would like_to know the best
way to do_this.
my children and_containerfive_children,_one plays every sec,_1,2,3, etc.
 var square1:Square1 = new_Square1;
 var square2:Square2 = new Square2;
_var square3:Square3 = new Square3;
 var square4:Square4_= new Square4;
 var square5:Square5 =_new Square5;

 var container:Sprite =_new Sprite;
_addChild(container);
 container.addChild(square1)
 container.addChild(square2)
 container.addChild(square3)
 container.addChild(square4)
_container.addChild(square5)

my timer
 var_timly:Timer =_new Timer(1000, 5);_  
  timly.start();
 _timly.addEventListener(TimerEvent.TIMER, onLoop);

Note:
Tried for_loop, numChildren -1, and visibility

A:

Here's an_idea...
Set_the squares to_square#.visible_=_false and_put them in_an_array mySquaresArray.
Then...
function_onLoop(_e:Event )
{
    curCount_=_e.target.currentCount;

    if( curCount >_1 ) {