On Wed, Feb 26, 2014 at 12:48 AM, Alex Harui <aha...@adobe.com> wrote:

>
>
> On 2/26/14 12:42 AM, "OmPrakash Muppirala" <bigosma...@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:

[Embed(source="logo.svg")]
[Bindable]
public var imgCls:Class;

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

Thanks,
Om


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

Reply via email to