Evenly Spacing TextFields

I’m creating rows of Sprites (containing textfields) and right now they are placed 50px apart:


for (var i:int=0; i < answers.length; i++) {
    var answer:String = answers*;
    var answerSprite:Sprite = new Sprite;
    answerSprite.y = i * 50;
}

But what I would like to do is create 30px of space in between each textfield regardless of the height of each textfield. so I created a var to find out the height of each textfield as it is created:


var answerHeight:Number = Math.ceil(answerSprite.height); // single lines are 20px and double lines are 36px

My tired brain is having trouble with the equation though and I could use some help:


answerSprite.y = (i * answerHeight) + 30; // CREATES STRANGE GAPS