flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OmPrakash Muppirala <bigosma...@gmail.com>
Subject Re: [FlexJS] SVG based TextButton and example checked in
Date Wed, 26 Feb 2014 08:59:30 GMT
On Wed, Feb 26, 2014 at 12:48 AM, Alex Harui <aharui@adobe.com> wrote:

> On 2/26/14 12:42 AM, "OmPrakash Muppirala" <bigosmallm@gmail.com> wrote:
> >>3. Falcon should be able to compile FXG now, but I think it will use
> >>Spark
> >> components like Group.  The compiler either needs to output different
> >> primitives or we need to fake up lighter weight Spark components.  I'd
> >> strongly prefer the first option.
> >>
> >
> >I think I understand.  Can we break this up into a very simple use case
> >and
> >see which direction we want to go?  I may need a bit of hand holding on
> >this one.
> Was FXG always embedded?
You can also instantiate it just like a component in MXML.  If you embed
it, the compiler seems to rasterize it and you will lose the scaling, etc.
properties that makes vectors so attractive.

> Is there a way to "embed" SVG?

Yes, just like an image:

public var imgCls:Class;

Adobe had deprecated it.  But, at Apache Flex, we un-deprecated it a while


> Anyway, yes a simple test case would help us find the desired workflow and
> fix what is needed.
> -Alex

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