|
-
Target a dynamic text field using a var
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|