# Use variable name in a function. Please!

**URL:** <https://forum.kirupa.com/t/use-variable-name-in-a-function-please/248090>\
**Category:** flash\
**Created:** [January 3, 2008, 6:10pm UTC](https://forum.kirupa.com/t/use-variable-name-in-a-function-please/248090 "2008-01-03T18:10:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![praxiz](https://avatars.discourse-cdn.com/v4/letter/p/779978/32.png) [@praxiz](https://forum.kirupa.com/u/praxiz)\
**Post date:** [January 3, 2008, 6:10pm UTC](https://forum.kirupa.com/t/use-variable-name-in-a-function-please/248090/1 "2008-01-03T18:10:55Z")

</div>

Just get “undefined” with this:

```auto
 hide_current = function() {
trace (_global.Klikk._y);

    }

```

\_global.Klikk is “mc\_frontpage”, which is the name of a movie clip i want to mess with.

I’ve been googling for an hour now and I can’t even figure out what to search for.
