flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle McKnight <kamck...@gmail.com>
Subject Re: Custom skin based on SDK version
Date Wed, 28 Sep 2016 17:46:51 GMT
Thanks I'll take a look at themes!

On Sep 28, 2016 1:26 PM, "Alex Harui" <aharui@adobe.com> wrote:

>
>
> On 9/28/16, 10:07 AM, "Kyle McKnight" <kamcknig@gmail.com> wrote:
>
> >So I'd like to conditionally create the skin based on which SDK is being
> >used to compile. Is that possible?
>
> It is probably "possible" to have a single file that does different things
> based on version.  I think you'd have two copies of the skin elements with
> logic that makes one set or the other visible based on the version.  The
> version is available in any UIComponent.  See the Version.as file.
>
> It might be more efficient to have two themes and switch them at build
> time based on which SDK you are building against.
>
> -Alex
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message