I've asked [this](https://stackoverflow.com/questions/2387756/python-can-i-access-the-object-who-call-me) same question with Python.

Now I like to know if this can be done in AS3.

If I have something like this:

```
package
{
    public class SomeClass
    {
        private function A():void { C() }
        private function B():void { C() }

        private function C():void
        {
            // who is the caller, A or B ???
        }

        public function SomeClass()
        {
            A()
            B()
        }
    }
}

```

Despite the design or other issues, this is only a question of an inquiring mind.

***Note: I like to have an access to an instance of the caller function so I can call that caller function (if I want to)***

Note 2 : This has to be done without changing `function C()` signature
----------------------------------------------------------------------