# "\_level0.swfname.swf"?

**URL:** <https://forum.kirupa.com/t/-level0-swfname-swf/173066>\
**Category:** Uncategorized\
**Created:** [December 20, 2005, 9:43pm UTC](https://forum.kirupa.com/t/-level0-swfname-swf/173066 "2005-12-20T21:43:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dColumbus](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dColumbus](https://forum.kirupa.com/u/dColumbus)\
**Post date:** [December 20, 2005, 9:43pm UTC](https://forum.kirupa.com/t/-level0-swfname-swf/173066/1 "2005-12-20T21:43:24Z")

</div>

apparently, when a button is controlled by a function like so:

```auto
 button.onRelease = function() {
 pages = button;
 trans.gotoAndPlay(2);
} 

```

that variable “pages” is given a “\_level0.” before the variable info. How can I eliminate that from happening? Is there a way to delete the first 8 charaters of a variable when assigning it?

the problem with this is if I want to call a loadMovie like so:

```auto
 loadMovie(_root.pages+".swf", "_root.target"); 

```

pages turns up as “\_level0.button.swf”

help? :mountie:
