Nevermind. I was checking BorderContainer but it was defined on a
SkinnableContainer:

    <metadata name="DefaultProperty">
      <arg key="" value="mxmlContentFactory"/>
    </metadata>

On Sat, Dec 3, 2016 at 8:22 AM, flex capacitor <flexcapaci...@gmail.com>
wrote:

> I've been trying to get the DefaultProperty metadata that's set on some
> components and I can't find it anywhere. I'm using the following call to
> get the describeType XML:
>
> var describedTypeRecord:DescribeTypeCacheRecord = 
> mx.utils.DescribeTypeCache.describeType(BorderContainer);var 
> typeDescription:* = describedTypeRecord.typeDescription;
>
>
> The first node is:
>
> <type name="spark.components::BorderContainer" 
> base="spark.components::SkinnableContainer" isDynamic="false" isFinal="false" 
> isStatic="false">
>
> The default property for BorderContainer or SkinnableContainer is
> mxmlContentFactory:
>
> I've set the compiler argument here:
>
> -keep-as3-metadata+=DefaultProperty
>
> and still nothing.
>
> Can someone look in the compiler and see if it's being included?
>

Reply via email to