Pagination with actionscript

I have a simple script that attaches movie clips based on the number of items I have in my array. It currently spits out all of items in one long list. How, with actionscript, can I get my long list to paginate. I basically need it setup such that once I change a variable, that will control the number of items i see. Then i can click next or previous buttons to navigate thorugh the rest of my items. Any help with this would be greatly appreciated.

// ================
// code below
// ================

names =[
“Mike”, “John”, “Bob”, “Chris”, “Peter”, “Steve”, “Jason”, “Paul”, “David”, “Brandon”, “Walter”, “Joe”, “Ariel”, “Teresa”, “Nancy”, “Jane”, “Brian”, “Patrick”, “Mark”, “Peter”, “Michelle”, “Michael”, “Richard”, “Jennifer”, “Jane”, “Doug”, “Jack”, “Allan”, “Nancy”, “Nick”, “Dylan”, “Sean”, “Julie”, “Jackie”, “Lisa”, “Donna”, “Vince”, “Ronald”, “Josh”, “Don”];

nameCount = names.length;

for(var i = 0; i < nameCount; i++) {

var oInit:Object = new Object();
oInit._x = 0;
oInit._y = i * 20;

item = listContainer.attachMovie(“nameItem”, “item” + i, i, oInit);
item.label.text = names*;
}