8 Replies Latest reply on May 1, 2013 3:12 AM by jimmy_bignutz

    Z-Index always 0?


      Hi all,


      I'm tearing my hair out here a bit, and finding the API documentation for edge to be not amazing.. Anyway, I've got a project set up with a bunch of stuff on the stage, and I just want to find out what order everything is in like so:


      var stage = sym.getComposition.getStage();

      var children = stage.getChildSymbols();


      for( var i = 0; i < children.length; ++i )


         alert( children[i].getSymbolElement().css( "z-index" ) );



      But everything seems to have z-index as 0, and I have no idea how else to find out the order in which everything is drawn.


      Any help would be much appreciated!