title: Can a Flex 3 method detect the calling object?
body: <p>If I have a method such as:</p>
  
  <pre><code>private function testMethod(param:string):void
  {
    // Get the object that called this function
  }
  </code></pre>
  
  <p>Inside the testMethod, can I work out what object called us? e.g.</p>
  
  <pre><code>class A
  {
    doSomething()
    {
      var b:B = new B();
      b.fooBar();
    }
  }
  
  class B
  {
    fooBar()
    {
      // Can I tell that the calling object is type of class A?
    }
  }
  </code></pre>