Hi all

I have a dynamic text field inside a movieclip. I need to target the text field using a variable.

I'm loading the text and putting it into a string:
var page:String=pageDetails.page.toString();

I have a variable that gets updated:
i++;
var myVar:String="page"+i;

I don't know how to make "myVar" dynamic:
MovieClip(currSection).myVar.text=page;

I hope this makes sense.
Cheers