Ah, sorry.  Somehow I thought you were only adding one line to an existing
createElement method.

So, in FlexJS, if you have to modify the cross-compiled JS for a class in
the FlexJSJX project, that will usually mean that that class can't be in
FlexJSJX and has to be moved back to FlexJSUI and have a hand-coded .js
file.  Often this will mean moving other dependencies out of FlexJSJX as
well.

But in this case, doesn't the base class do just about everything you need
to do except set a style?  If that's true, then you can just modify the
defaults.css file.  And if modifying the defaults.css affects the AS side,
you can correct for that in the @media -flex-flash portion of the
defaults.css.

HTH,
-Alex

On 1/31/14 12:24 AM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:

>On Jan 30, 2014 11:32 PM, "Alex Harui" <aha...@adobe.com> wrote:
>>
>>
>>
>> On 1/30/14 11:07 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>>
>> >On Jan 30, 2014 10:18 PM, "Alex Harui" <aha...@adobe.com> wrote:
>> >>
>> >>
>> >>
>> >> On 1/30/14 9:11 PM, "OmPrakash Muppirala" <bigosma...@gmail.com>
>>wrote:
>> >>
>> >> >On Thu, Jan 30, 2014 at 8:30 PM, Alex Harui <aha...@adobe.com>
>>wrote:
>> >> >
>> >> >> Om, something is still not configured right.  BarChart.js should
>>be
>> >> >>coming
>> >> >> from frameworks/js/FlexJS/libs.
>> >> >
>> >> >
>> >> >I dont see the libs folder here:
>> >> >
>> >
>https://git-wip-us.apache.org/repos/asf?p=flex-asjs.git;a=tree;f=framework
>> >> >s/js/FlexJS;h=868b43d18106fcb21b8b598ae60b96ddaf447d67;hb=develop
>> >> >
>> >> Correct.  The libs folder is not in the repo as it contains the
>>output
>> >> from cross-compiling the as files in the
>frameworks/as/projects/FlexJSJX
>> >> folder.
>> >>
>> >> But it should get created if you run ant in the repo, and it should
>>be
>> >>in
>> >> the release package in the nightly builds.
>> >>
>> >> -Alex
>> >
>> >Well, that is what I am seeing here as well.  Which brings me back to
>>my
>> >original question: how do I get my required change into BarChart.js?
>> >
>> >Maybe you need to explain like I'm 5 :-)
>> The confusing part to me is that my copy of BarChart.js does not have a
>> createElement method in it.  I'm wondering if you're building
>> BarChartExample with out-of-date launch configs that are picking up an
>> older hand-written BarChart.js.
>
>It does not in my copy as well.  I want to add this method to BarChart.js.
>
>I just added that method to the BarChart.js file in the bin/js-debug
>folder, which seems to fix the issue.
>
>We on the same page now?
>
>Om
>
>>
>> -Alex
>>

Reply via email to