[Xerte] Re: children of entry pane question

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jan 3 09:46:17 GMT 2012


SCR doesn't get turned into a movieclip, so it's never made a child: rather the code in it just executes. You'll see the results of the dupe in the xml, rather than the movieclips until the rest of the xml has been parsed. If you debug in another script after the dupe'd DIS icons, you'll see them,

J

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 02 January 2012 12:19
To: Xerte list
Subject: [Xerte] children of entry pane question



In the IFC framework entry below I have a script icon that duplicates a proto display

<LO>
  <IFC>
    <FW_ENT> // id=fwid
       <SCR>// dupes proto below 4 times
       <DIS>

When I query for the children of that FW_ENT, I only get the displays listed.

inspect(fwid)

children : _level0.engine.IFC.FW_ENT.DIS_MC1,_level0.engine.IFC.FW_ENT.DIS_MC2,_level0.engine.IFC.FW_ENT.DIS_MC3,_level0.engine.IFC.FW_ENT.DIS_MC4,_level0.engine.IFC.FW_ENT.DIS_MC5

Does the SCR not count as a child?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120103/6205c1ac/attachment.html>


More information about the Xerte mailing list