feathersui / feathersui-starling-sdk

SDK for building Feathers UI (AS3/Starling) applications with MXML
https://feathersui.com/learn/as3-starling/sdk/
Apache License 2.0
42 stars 13 forks source link

Callout defined for MXML #17

Closed teotigraphix closed 9 years ago

teotigraphix commented 9 years ago

This is really just a question but now that we have MXML, I was wondering if it's worth putting the Callout in the components manifest?

I am running through the components and wanted to create a Callout in a Declaration tag to reuse it and initialize it but it was imported as xmlns:controls="feathers.controls.*".

Again just a question.

teotigraphix commented 9 years ago

Here is the usecase;

<fx:Declarations>
    <f:ButtonGroup id="buttonGroup" direction="horizontal"/>

    <controls:Callout id="calloutReuse" closeOnTouchEndedOutside="true"
                      disposeContent="false" disposeOnSelfClose="false"/>
</fx:Declarations>

Where we reuse the ButtonGroup and Callout.

joshtynjala commented 9 years ago

Makes sense. I'll get it added.