Filling content in dynamic MCs

Hi,

Here is attahcing my FLA file. I want to print multiple records which are stored in an Array Object. In the attahced sample file:

  • I have a MC where i am creating 2 dynamic textfields at run time.
  • On the stage I have function duplicatePages() which actually creates 2 (MC) pages with diff records and supposed to print the same. But i am getting 2 blank pages printed.

But stange thing is when Instead of creating 2 dynamic textFields inside MC, if i keep directly in it then my print works fine. But thats not my solution. Because I do not the no. of TextField I need to have initially. Its just for simplicty, I am executing this way.

Can anyone help me!!!

Ashish