# Is it possible to change the F/R from a public static function?

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-change-the-f-r-from-a-public-static-function/277129>\
**Category:** flash\
**Created:** [December 8, 2008, 9:17am UTC](https://forum.kirupa.com/t/is-it-possible-to-change-the-f-r-from-a-public-static-function/277129 "2008-12-08T09:17:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustyleaf](https://avatars.discourse-cdn.com/v4/letter/r/a3d4f5/32.png) [@rustyleaf](https://forum.kirupa.com/u/rustyleaf)\
**Post date:** [December 8, 2008, 9:17am UTC](https://forum.kirupa.com/t/is-it-possible-to-change-the-f-r-from-a-public-static-function/277129/1 "2008-12-08T09:17:09Z")

</div>

I am trying to change the frame-rate inside a public static function but keep getting the error:

```auto
1120: Access of undefined property stage.

```

My import statement:

```auto
import flash.display.Stage;

```

makes no difference. Any wise ideas to get around this problem? :yoda:
