Recuperate values

Hi! everybody.

I have some dynamictexts contained into a movie clip, and each dynamictext named like this: rep01; rep02, rep03, rep… and so on.
I wanna recuperating the height of each one of them outside of movie clip.

Here is my line code (it doesnt work):

[COLOR=seagreen] Yvalue = flash_acc[“rep0”+i+1].height;[/COLOR]

[COLOR=blue]i : is the index of “for” loop[/COLOR]
[COLOR=#2e8b57][COLOR=blue]flash_acc is the name of the movie clip containing dynamictexts[/COLOR][COLOR=#000000] [/COLOR][/COLOR]
[COLOR=#2e8b57][/COLOR]
when i execute the animation it shows me an error.

How could i fix this problem? Could anyone help me?