Auto add pages

Hi,
I’m doing a flash site that requires a page for listing of records using php. As the data will be keyed in by the client, is there anyway flash can auto add in pages when the first page is filled so the data can continue?
Thanks in advance.