 
         for each (var metadata:XML in displayMetadata)
         {
-            injectProperty(metadata.parent(), metadata, container, target);
+            injectProperty(metadata.parent(), metadata, container, target, domain);
         }
     }
 
 
     private static function injectProperty(property:XML, metadata:XML,
-            source:DisplayObjectContainer, target:*):void
+            source:DisplayObjectContainer, target:*, domain:ApplicationDomain):void
     {
         var args:Object = { name: null, adapter: null, optional: null };
 

     * @throws org.yellcorp.lib.display.inject.DisplayMetadataError
     *         If a metadata parameter is invalid.
     */
    public static function inject(container:DisplayObjectContainer, target:*):void
    {
        var type:XML = describeType(target);

        var displayMetadata:XMLList = type.*.(

{
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.system.ApplicationDomain;
import flash.utils.describeType;


/**
