Search code examples
jqueryz-indexadobe-edge

Z-Index of elements in Adobe Edge always 0?


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.


Solution

  • The Adobe staff got back to me about this, and they told me that symbols which are laid out in the editor (and not dynamically created) are ordered using an internal index which is not exposed to be modified or even read. I'll have to find another way!