There seems to be two problems. The first is easily solvable: the
build_example.xml has the HTML wrapper size restricted and it could be
changed to 100% x 100%.
The second problem seems more insidious. The SWF just seems blank and I
have to investigate that further. The JS output that is being created is
incorrect:
BarChartExample.js winds up with this:
BarChartExample = function() {
BarChartExample.base(this, 'constructor');
whereas the version created using the launch config in Flash Builder
creates this:
BarChartExample = function() {
goog.base(this);
Not sure what is going on with the ANT build from flex-asjs/examples.
Maybe I have something out of date.
I need to see if other examples are having the same issues.
Peter Ent
Adobe Systems
On 8/26/14 8:07 AM, "Peter Ent" <[email protected]> wrote:
>I pushed changes to BarChartExample that reflect the latest changes to the
>SDK. I found one problem which I will look into today: the index.html file
>that is generated during the ANT build differs from the index.html
>generated by Flash Builder. This difference, which is the coded dimensions
>of the SWF, is set to 400x300 in the ANT build but 100% x 100% when
>generated from Flash Builder. The 400x300 size is incorrect and will not
>display the content properly.
>
>Peter Ent
>Adobe Systems
>
>On 8/26/14 6:50 AM, "Peter Ent" <[email protected]> wrote:
>
>>Oops. I made a bunch of changes to the chart package. I will update the
>>example soon.
>>
>>Peter Ent
>>Adobe Systems
>>
>>
>>> On Aug 26, 2014, at 1:48 AM, "OmPrakash Muppirala"
>>><[email protected]> wrote:
>>>
>>> I am getting this error:
>>>
>>> build_example.compile:
>>> [echo] Compiling BarChartExample.swf
>>> [echo] FLEX_HOME: C:\p\flex_os\workspace\flexroot\git\flex-asjs
>>> [mxmlc] Loading configuration:
>>> C:\p\flex_os\workspace\flexroot\git\flex-asjs
>>> \frameworks\flex-config.xml
>>> [mxmlc]
>>> [mxmlc]
>>> C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\BarChartExamp
>>> le\src\MyInitialView.mxml:62
>>> [mxmlc] Error: This tag is unexpected. It will be ignored.
>>> [mxmlc] <basic:StackedChart id="stackedChart" x="500" y="20"
>>> width="400"
>>> height="200">
>>> [mxmlc] ^
>>> [mxmlc]
>>>
>>> StackedChart is not found here:
>>> flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\charts
>>>
>>> Maybe it was not checked in?
>>>
>>> Thanks,
>>> Om
>