# Current frame of a Movie Clip

**URL:** <https://forum.kirupa.com/t/current-frame-of-a-movie-clip/152997>\
**Category:** flash\
**Created:** [June 28, 2005, 5:01pm UTC](https://forum.kirupa.com/t/current-frame-of-a-movie-clip/152997 "2005-06-28T17:01:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wwry](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@Wwry](https://forum.kirupa.com/u/Wwry)\
**Post date:** [June 28, 2005, 5:01pm UTC](https://forum.kirupa.com/t/current-frame-of-a-movie-clip/152997/1 "2005-06-28T17:01:00Z")

</div>

I have to find out the current frame of a movie clip which name is a variable (userName). I can get it using  
[color=navy]frame.text = Contr.Mara.\_currentframe;[/color]  
where Mara is the content of userName.

But if I write in more general form like

[color=blue]frame.text = Contr.userName.\_currentframe;[/color]

it doesn’t work. What is wrong?
