flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Building SVG skins from existing Spark component skins
Date Sat, 01 Mar 2014 16:13:42 GMT
OK.  Do you think you can build a new example in MXML/AS/FXG?  The
skin/view would simply choose a different FXG file for each state.  In
theory you should be able to get a working SWF without any Falcon changes,
then I can run that through FalconJX.


On 3/1/14 12:01 AM, "OmPrakash Muppirala" <bigosmallm@gmail.com> wrote:

>So, if it were up to me, we'd start with a test case where an MXML or AS
>> skin points to an fxg file for each state.  The Falcon compiler should
>> already generate the right thing for the AS side.  Then, we have to
>> a similar hook to the FXG compiler that we did to get JS output for
>> FalconJX and start coding up however we want the JS/SVG output to look
>> like.  It could call this Graphics component, but may not need to, it
>> just generate SVG or JS calls.  But for sure, you're welcome to write
>> Graphics class for both AS and JS and teach BarChart to use it.  We'll
>> need that no matter what.
>I will get working on the Graphics class then.  Will try to push something
>> Anyway, if this plan is acceptable to you, what I'd prefer to do is
>> I would apply the hooks to the FXG compiler and get it to output
>> "something".  I'd point you to the change list so you can see what files
>> need to be modified.  Then you can try your hand at modifying those Java
>> source files to get whatever output you want.  You really don't have to
>> know much about compilation, you are basically taking a tree structure
>> converting it to some textual representation.  Then we don't have to do
>> much coordination between the two of us.
>This sounds good to me.  Please go ahead, add the hooks and let me know!

View raw message