I have the following line of code below:
this is in a loop where “i” is given a value:
var blade:BolMC = new BolMC();
contain.addChild(blade);
bladeArray.push(blade);
blade.y = compensationY +(blade.height*i);
blade.num = i;
trace("------------------1")
var body:BodyText = new BodyText();
blade.addChild(body);
blade.body.y = blade.header.height+10;
trace("------------------2")
both BolMC and BodyText are defined in the library, BolMC passes and is attached to its target then the “trace (—1)” passes, however soon after I recieve the dreaded 1010 error and it never reaches the “trace (—2)”
It seems bizzare to me, any ideas?