# Access Overriden Class of Child Domain

**URL:** https://forum.kirupa.com/t/access-overriden-class-of-child-domain/321285
**Category:** flash
**Created:** [April 15, 2011, 6:04am UTC](https://forum.kirupa.com/t/access-overriden-class-of-child-domain/321285 "2011-04-15T06:04:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nejuf](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@Nejuf](https://forum.kirupa.com/u/Nejuf)
#### Post date: [April 15, 2011, 6:04am UTC](https://forum.kirupa.com/t/access-overriden-class-of-child-domain/321285/1 "2011-04-15T06:04:06Z")

</div>

I’ve been working with loaded swfs whose application domain is a child of the loader’s current domain.

```auto
var appDom:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);

```

Now in Senocular’s fantastic [article on Application Domain, it states, "Child domain definitions, even if being overridden by the parent domain can still be accessed from the application domain directly through getDefinition which is covered in the [URL=“http://www.senocular.com/flash/tutorials/contentdomains/?page=2#GettingDefinitionsDynamically”]Getting Definitions Dynamically](http://www.senocular.com/flash/tutorials/contentdomains/?page=2) section."

I’ve read all through that article and any other information I could find on the application domain, and while I have been able to access the child domain’s classes, I have not been able to access the overridden classes.

```auto
myLoader.contentLoaderInfo.applicationDomain.getDefinition("MyClassName");

```

The above code does get the child classes, but for overridden classes it gets the parent domain’s classes.

So how can I get access to those overridden child classes? Or is the article and Adobe documentation mistaken and the overridden child classes are not retained?

Thanks in advance.
