Solitaire array code

i’m making a solitaire game and am havening a problem with the dealing (arranging the cards in rows)this is the code i have for that

function solitaire() {
	//shuffleC() 
	w = 92
	h = 165

	var row1:Array = Array();
	var row2:Array = Array();
	var row3:Array = Array();
	var row4:Array = Array();
	var row5:Array = Array();
	var row6:Array = Array();
	var row7:Array = Array();
	var rows:Array = [row1, row2, row3, row4, row5, row6, row7];

	for (i=0;i<(rows.length);i++){
		for ((j=0)(f=i);j<i;(j++)(f+=(7-j))){
			va = rows*
			//rows*.push(deck[f])
			rows*[j] = deck[f]
		}
	}
//tester
	trace(deck.toString())
	for (i=0;i<rows.length;i++){
		trace(i +":  " +rows*.toString())
	}
}

the problem is this

dq,d8,s2,cA,c4,d10,sA,ck,s10,c7,c5,sk,h7,d5,cq,s9,c2,c9,h6,c3,s6,c10,s7,h8,d4,h10,s5,s4,hq,h2,sq,hk,h5,c8,hj,d7,s3,dj,dk,h4,s8,d9,cj,d3,h3,sj,c6,d6,h9,d2,dA,hA
0:  
1:  d8
2:  s2,c7
3:  cA,c5,c2
4:  c4,sk,c9,s7
5:  d10,h7,h6,h8,s4
6:  sA,d5,c3,d4,hq,hk

it skips the first row and misses a card off each deck and misses cards in the array that will become important latter

and hear is the deck code so you can test it with out havening to wright this out

function newDeck() {
	deck = new Array();
	deck = ["hA", "h2", "h3", "h4", "h5", "h6", "h7", "h8", "h9", "h10", "hj", "hq", "hk",
			"cA", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", "c10", "cj", "cq", "ck", 
		 	"dA", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "d10", "dj", "dq", "dk", 
		 	"sA", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "sj", "sq", "sk"]
}