Re: Latest on FlexJS

2013-02-18 Thread jun funakura
Hi  Alex,

I want to try to AS/MXML/SWF/JS compile enviromnet on Flash Builder 4.7.

so I have a question.
Where is FlexJSOverray.zip in repository?

Thanks.

--
Jun F

2013/2/14 Alex Harui :
> Hi Folks,
>
> A quick update on FlexJS before I spend the next several days on the release 
> and on vacation:
>
>
>  1.  We have prototypes of a List, Button and a Label
>  2.  We have a prototype of a HTTPService and a LazyCollection
>  3.  The FlexJSTest_again example is updated so you can choose a stock symbol 
> from the List, hit a Button and see the stock price in the Label
>  4.  Peter has built out a TextInput and TextArea in AS and is working on the 
> JS equivalents
>
> If you want to play with the AS/MXML/SWF side of this stuff and are too lazy 
> to build from the sources, I have hacked together a way for you to try it in 
> Flash Builder.   I have put a zip file called FlexJSOverlay.zip in my folder 
> on people.a.o.
>
> Setup instructions are:
>
>
>  1.  Get Apache Flex 4.9 working in FB.  (I tried it with FB 4.7, but not FB 
> 4.6)
>  2.  Shut down FB
>  3.  Make a copy of your Apache Flex 4.9 folder.  The zip file contains a 
> shell script that will neuter the Flex aspects of this folder and replace it 
> with FlexJS stuff.  It worked on my Mac, haven’t tried Windows yet.
>  4.  Unzip FlexJSOverlay into a some other folder.
>  5.  Change to that folder and run deploy.sh  folder>
>  6.  Run Flash Builder
>  7.  Choose from the File menu, Import, Run/Debug, Launch Configurations
>  8.  Choose the ide/flashbuilder folder from this copy of Apache Flex 4.9 we 
> are mucking with.
>  9.  There should now be two new configs in the Run menu under External Tools
>  10. In the Flash Builder menu, choose Preferences and add this new folder as 
> a Flex SDK.
>
> Now for each project:
>
>
>  1.  Create a new Flex Project
>  2.  Choose this modified Apache Flex SDK
>  3.  Do not change the output folder from bin-debug
>  4.  Flash Builder will generate a totally messed up Application tag so 
> replace it with this template:
>
> 
> http://ns.adobe.com/mxml/2009";
>xmlns:basic="library://ns.apache.org/flexjs/basic"
>>
> 
>
> Source Code
>
> Right now, Application doesn’t contain any UI, it takes another MXML file as 
> the initialView property and a model and a controller.  You can reference the 
> example in FlexJSTest_again.
>
> Building and Running/Debugging
>
> As you edit the code, the regular Flex compiler is compiling and reporting 
> errors, but it only knows how to build Flex SWFs so the output SWF probably 
> won’t run.  So, before you debug, choose from the Run menu the new External 
> Tool: “FlexJS (Debug Build)”.  This will run the Falcon compiler with the 
> right options to generate a SWF in the bin-debug folder that overwrites the 
> one that is there.  Then you should be able to set breakpoints and debug.
>
> I’m sure there’ll be lots of issues, but feel free to comment or contribute.  
> After the release I will be tweaking either FalconJS and/or FalconJX to plug 
> into Flash Builder and generate the JS version.  For now, you’ll have to 
> build and run FalconJS and manage the resulting JS files as I’ve described in 
> the Wiki.
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui


[flexJS] Is SimpleCSSValuesImpl required StyleClass?

2013-03-14 Thread jun funakura
Hi ,

I just try Compiled Rev 1455452 of FlexJSTest.html by FlexJS created
by Alex's FlexOverLay.zip(08-Mar-2013)
Compile is good ,but execute this swf by flash player debugger runtime
error occured.

ReferenceError: Error #1065: Variable _FlexJSTest_Styles is not defined.

at flash.system::ApplicationDomain/getDefinition()
at 
org.apache.flex.core::SimpleCSSValuesImpl/init()[/Users/flex/Documents/Adobe
Flash Builder 
4.7/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as:39]
at 
org.apache.flex.core::Application/initHandler()[/Users/flex/Documents/Adobe
Flash Builder 4.7/frameworks/as/src/org/apache/flex/core/Application.as:56]

Is that  required  a _Styles class or css file?

Should I have to do?
Thanks in advance.

--
Jun Funakura


Re: [flexJS] Is SimpleCSSValuesImpl required StyleClass?

2013-03-15 Thread jun funakura
Thanks for your advice, Alex.

> The compiler should have generated that file for you.  Are you sure you ran
> the "FlexJS (Debug Build)" external tool?

Yes, I do these process.
external tool config set ENV "FLEXJS_HOME" ant "GOOG_HOME"
like FLEXJS_HOME=/User/flex/dev/flex-sdks/Flexjs4.9/js/src
GOOG_HOME=/Users/flex/dex/closure/third_party/closure/goog

> Also, every time you make an edit to the code, FB may re-run the MXMLC
> compiler and therefore create an invalid SWF so you will need to run the
> "FlexJS (Debug Build)" again just before trying to debug the SWF.

I tried FlexJS by Flash Builder 4.7.
first, turn off Project -> auto generate.
second, I pointed main mxml file named "FlexJSTest.mxml"
finally  run external tool ->FlexJS(Debug Build).

compile is finished with no errrors.
but double click the FlexJSTest.swf, Flash Player Debugger is reported
at this error.

Anyway, I'll try again it today's ver of FlexJSOverlay.zip
Thanks, for you ware put on a new version Files.

--
Jun Funakura

2013/3/15 Alex Harui :
> The compiler should have generated that file for you.  Are you sure you ran
> the "FlexJS (Debug Build)" external tool?  It appears that you have to click
> on the main mxml file in the FB Package Explorer before running the external
> tool, otherwise it may not build a valid SWF or will report a strange error.
>
>
> Also, every time you make an edit to the code, FB may re-run the MXMLC
> compiler and therefore create an invalid SWF so you will need to run the
> "FlexJS (Debug Build)" again just before trying to debug the SWF.
>
> -Alex
>
> On 3/14/13 9:16 PM, "jun funakura"  wrote:
>
>> Hi ,
>>
>> I just try Compiled Rev 1455452 of FlexJSTest.html by FlexJS created
>> by Alex's FlexOverLay.zip(08-Mar-2013)
>> Compile is good ,but execute this swf by flash player debugger runtime
>> error occured.
>>
>> ReferenceError: Error #1065: Variable _FlexJSTest_Styles is not defined.
>>
>> at flash.system::ApplicationDomain/getDefinition()
>> at
>> org.apache.flex.core::SimpleCSSValuesImpl/init()[/Users/flex/Documents/Adobe
>> Flash Builder
>> 4.7/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as:39]
>> at 
>> org.apache.flex.core::Application/initHandler()[/Users/flex/Documents/Adobe
>> Flash Builder 4.7/frameworks/as/src/org/apache/flex/core/Application.as:56]
>>
>> Is that  required  a _Styles class or css file?
>>
>> Should I have to do?
>> Thanks in advance.
>>
>> --
>> Jun Funakura
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>


Re: [flexJS] Is SimpleCSSValuesImpl required StyleClass?

2013-03-16 Thread jun funakura
Hi, Alex

I was trying new version of FlexJS from new FlexOverlay.zip.
It seems FlexJSUI.swc is little old.
When I was compile with Overlayed version of FlexJSUI.swc, Flash
Player reported this error.


-
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at 
org.apache.flex.html.staticControls::RadioButton/initModel()[/Users/aharui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticControls/RadioButton.as:115]
at 
org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLArray()[/Users/aharui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/MXMLDataInterpreter.as:123]
at 
org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLInstances()[/Users/aharui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/MXMLDataInterpreter.as:233]
at 
org.apache.flex.core::ViewBase/initUI()[/Users/aharui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/ViewBase.as:38]
at 
org.apache.flex.core::Application/initHandler()[/Users/aharui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application.as:61]
-

After replace the FlexJSUI.swc from rev 1443275 of frameworks , It works!

I'll try to js-version of FlexJSTest app.
thanks.

--
Jun Funakura




2013/3/16 Alex Harui :
> Yes, I put up a new zip in case the old one was buggy.  If that doesn't
> work, send me the output SWF so I can see what it has in it.
>
>
> On 3/15/13 12:45 AM, "jun funakura"  wrote:
>
>> Thanks for your advice, Alex.
>>
>>> The compiler should have generated that file for you.  Are you sure you ran
>>> the "FlexJS (Debug Build)" external tool?
>>
>> Yes, I do these process.
>> external tool config set ENV "FLEXJS_HOME" ant "GOOG_HOME"
>> like FLEXJS_HOME=/User/flex/dev/flex-sdks/Flexjs4.9/js/src
>> GOOG_HOME=/Users/flex/dex/closure/third_party/closure/goog
>>
>>> Also, every time you make an edit to the code, FB may re-run the MXMLC
>>> compiler and therefore create an invalid SWF so you will need to run the
>>> "FlexJS (Debug Build)" again just before trying to debug the SWF.
>>
>> I tried FlexJS by Flash Builder 4.7.
>> first, turn off Project -> auto generate.
>> second, I pointed main mxml file named "FlexJSTest.mxml"
>> finally  run external tool ->FlexJS(Debug Build).
>>
>> compile is finished with no errrors.
>> but double click the FlexJSTest.swf, Flash Player Debugger is reported
>> at this error.
>>
>> Anyway, I'll try again it today's ver of FlexJSOverlay.zip
>> Thanks, for you ware put on a new version Files.
>>
>> --
>> Jun Funakura
>>
>> 2013/3/15 Alex Harui :
>>> The compiler should have generated that file for you.  Are you sure you ran
>>> the "FlexJS (Debug Build)" external tool?  It appears that you have to click
>>> on the main mxml file in the FB Package Explorer before running the external
>>> tool, otherwise it may not build a valid SWF or will report a strange error.
>>>
>>>
>>> Also, every time you make an edit to the code, FB may re-run the MXMLC
>>> compiler and therefore create an invalid SWF so you will need to run the
>>> "FlexJS (Debug Build)" again just before trying to debug the SWF.
>>>
>>> -Alex
>>>
>>> On 3/14/13 9:16 PM, "jun funakura"  wrote:
>>>
>>>> Hi ,
>>>>
>>>> I just try Compiled Rev 1455452 of FlexJSTest.html by FlexJS created
>>>> by Alex's FlexOverLay.zip(08-Mar-2013)
>>>> Compile is good ,but execute this swf by flash player debugger runtime
>>>> error occured.
>>>>
>>>> ReferenceError: Error #1065: Variable _FlexJSTest_Styles is not defined.
>>>>
>>>> at flash.system::ApplicationDomain/getDefinition()
>>>> at
>>>> org.apache.flex.core::SimpleCSSValuesImpl/init()[/Users/flex/Documents/Adobe
>>>> Flash Builder
>>>> 4.7/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as:39]
>>>> at
>>>> org.apache.flex.core::Application/initHandler()[/Users/flex/Documents/Adobe
>>>> Flash Builder 4.7/frameworks/as/src/org/apache/flex/core/Application.as:56]
>>>>
>>>> Is that  required  a _Styles class or css file?
>>>>
>>>> Should I have to do?
>>>> Thanks in advance.
>>>>
>>>> --
>>>> Jun Funakura
>>>
>>> --
>>> Alex Harui
>>> Flex SDK Team
>>> Adobe Systems, Inc.
>>> http://blogs.adobe.com/aharui
>>>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>


Re: [flexJS] Is SimpleCSSValuesImpl required StyleClass?

2013-03-19 Thread jun funakura
Hi Alex,

I'd try to new zip (19-Mar-2013).
New version of FlexOverLay.zip contains SimpleCSSValuesImpl.js!
So I can compile the swf & js version  of FlexJSTestAgainApp on Flash
Builder without error.

I feel so happy!
thanks.

--
Jun Funakura


2013/3/16 Alex Harui :
> Hi Jun,
>
> Yes, I saw there was a bug in RadioButton.  It should be fixed in the next
> zip which should be available in a day or so.
>
>
> On 3/16/13 12:28 AM, "jun funakura"  wrote:
>
>> Hi, Alex
>>
>> I was trying new version of FlexJS from new FlexOverlay.zip.
>> It seems FlexJSUI.swc is little old.
>> When I was compile with Overlayed version of FlexJSUI.swc, Flash
>> Player reported this error.
>>
>>
>> -
>> TypeError: Error #1007: Instantiation attempted on a non-constructor.
>> at
>> org.apache.flex.html.staticControls::RadioButton/initModel()[/Users/aharui/Wor
>> k/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticCo
>> ntrols/RadioButton.as:115]
>> at
>> org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLArray()[/Users/aharui/
>> Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/MXML
>> DataInterpreter.as:123]
>> at
>> org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLInstances()[/Users/aha
>> rui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/
>> MXMLDataInterpreter.as:233]
>> at
>> org.apache.flex.core::ViewBase/initUI()[/Users/aharui/Work/apache/asjs/branche
>> s/develop/frameworks/as/src/org/apache/flex/core/ViewBase.as:38]
>> at
>> org.apache.flex.core::Application/initHandler()[/Users/aharui/Work/apache/asjs
>> /branches/develop/frameworks/as/src/org/apache/flex/core/Application.as:61]
>> -
>>
>> After replace the FlexJSUI.swc from rev 1443275 of frameworks , It works!
>>
>> I'll try to js-version of FlexJSTest app.
>> thanks.
>>
>> --
>> Jun Funakura
>>
>>
>>
>>
>> 2013/3/16 Alex Harui :
>>> Yes, I put up a new zip in case the old one was buggy.  If that doesn't
>>> work, send me the output SWF so I can see what it has in it.
>>>
>>>
>>> On 3/15/13 12:45 AM, "jun funakura"  wrote:
>>>
>>>> Thanks for your advice, Alex.
>>>>
>>>>> The compiler should have generated that file for you.  Are you sure you 
>>>>> ran
>>>>> the "FlexJS (Debug Build)" external tool?
>>>>
>>>> Yes, I do these process.
>>>> external tool config set ENV "FLEXJS_HOME" ant "GOOG_HOME"
>>>> like FLEXJS_HOME=/User/flex/dev/flex-sdks/Flexjs4.9/js/src
>>>> GOOG_HOME=/Users/flex/dex/closure/third_party/closure/goog
>>>>
>>>>> Also, every time you make an edit to the code, FB may re-run the MXMLC
>>>>> compiler and therefore create an invalid SWF so you will need to run the
>>>>> "FlexJS (Debug Build)" again just before trying to debug the SWF.
>>>>
>>>> I tried FlexJS by Flash Builder 4.7.
>>>> first, turn off Project -> auto generate.
>>>> second, I pointed main mxml file named "FlexJSTest.mxml"
>>>> finally  run external tool ->FlexJS(Debug Build).
>>>>
>>>> compile is finished with no errrors.
>>>> but double click the FlexJSTest.swf, Flash Player Debugger is reported
>>>> at this error.
>>>>
>>>> Anyway, I'll try again it today's ver of FlexJSOverlay.zip
>>>> Thanks, for you ware put on a new version Files.
>>>>
>>>> --
>>>> Jun Funakura
>>>>
>>>> 2013/3/15 Alex Harui :
>>>>> The compiler should have generated that file for you.  Are you sure you 
>>>>> ran
>>>>> the "FlexJS (Debug Build)" external tool?  It appears that you have to
>>>>> click
>>>>> on the main mxml file in the FB Package Explorer before running the
>>>>> external
>>>>> tool, otherwise it may not build a valid SWF or will report a strange
>>>>> error.
>>>>>
>>>>>
>>>>> Also, every time you make an edit to the code, FB may re-run the MXMLC
>>>>> compiler and therefore create an invalid SWF so you will need to run the
>>>>> "FlexJS (Debug Build)" again just before trying to debug the SWF.
>>>>>
>>>>> -Alex
>>>&

Re: [FalconJX][FlexJS] New FlexJSOveray.zip now uses FalconJX instead of FalconJS

2013-04-19 Thread jun funakura
Hi,
 I tried new version of FlexJSOverray.zip.

It seems Falcon.js and Falcon.JX are depend on Default encoding,
so, non-ASCII character messages are not good.

I think, external config(FalconJX Debug and Release Build) argments add to
-Dfile.encoding=UTF8
so, It seems work well.
Could you add a these parameter?, Alex.

or
when Writer class  call,encoding argment added.
ex.
OutputStreamWriter(Outoutstream ,"UTF-8");
Useally, non-ASCII character MXMLl or as file written by UTF-8.
But Java's encoding not match for local machine's encoding.
For example, Japanese Enviromnent on OSX and windows default are both
ShiftJIS.
So, mxml /as encoding and complie environment no match.
js app created by falconjs and falconjx not correctly.

Thanks,

--
Jun Funakura


2013/4/17 Alex Harui 

> Hi,
>
> I have posted an updated FlexJSOverlay.zip at [1].
>
> This version replaces the FalconJS compiler with the FalconJX compiler.  I
> think we can officially retire the FalconJS code base.  Remember, this is
> all still prototype work and FalconJX is a newer code base so there are
> probably plenty of bugs left to be found and fixed.  Also, FalconJX seems
> to
> have a different class of output errors.  FalconJS generally handled the
> different output scenarios but may have had bugs in the codegen for the
> scenario whereas FalconJX may think that what should be two different
> output
> scenarios are the same and generate incorrect code.  For example FalconJS
> seems to always know when it is generating code for a setter instead of a
> variable, but FalconJX may not get that right in all cases.
>
> The example app is posted in subfolders of the above link.  The JS versions
> are running on Chrome, Firefox, Safari and IE8 and IE9.  The source is
> available at [2].  I haven't wired up the right-click in the new framework
> to a "view source" option.  Also, IE8 and IE9 may not fetch the stock price
> when run from these links since it is using XMLHTTPRequest and CORS may
> prevent it.  It depends on your trust settings in IE's Internet Options.
> You might want to copy it to your intranet to really see it run.
>
> [1] http://people.apache.org/~aharui/FlexJS/
> [2] http://people.apache.org/~aharui/FlexJS/bin-release/srcview/
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>


Re: [FalconJX][FlexJS] New FlexJSOveray.zip now uses FalconJX instead of FalconJS

2013-04-20 Thread jun funakura
Hi, Alex

sorry I'm late.

In my case , I was change the labeltext in FlexJSTest_again.mxml

https://git-wip-us.apache.org/repos/asf?p=flex-asjs.git;a=blob;f=examples/FlexJSTest_again/src/FlexJSTest_again.mxml;h=2f3cbbdd0dfc5778cae9cf131f1d333711656dc0;hb=ebdc5a74a4bfc5ddf715e3b8dd0bbc58f02c3861

Original code:
initialize="MyModel(model).labelText='Hello World'"

After change:
initialize="MyModel(model).labelText='こんにちは 世界'"

So, compiled JSApp(with -Dfile.encoding option) label is "こんにちは 世界".

but without option result is bellow.
ɂ��� ���E

if you don't read these messages I'll post sample and results to somewhere.

Thanks,

--
Jun Funakura

 Alex Harui aha...@adobe.com:

> OK, we'll look into it.
>
> How can I know I got it right?
>
>
> On 4/18/13 11:59 PM, "jun funakura"  wrote:
>
> > Hi,
> >  I tried new version of FlexJSOverray.zip.
> >
> > It seems Falcon.js and Falcon.JX are depend on Default encoding,
> > so, non-ASCII character messages are not good.
> >
> > I think, external config(FalconJX Debug and Release Build) argments add
> to
> > -Dfile.encoding=UTF8
> > so, It seems work well.
> > Could you add a these parameter?, Alex.
> >
> > or
> > when Writer class  call,encoding argment added.
> > ex.
> > OutputStreamWriter(Outoutstream ,"UTF-8");
> > Useally, non-ASCII character MXMLl or as file written by UTF-8.
> > But Java's encoding not match for local machine's encoding.
> > For example, Japanese Enviromnent on OSX and windows default are both
> > ShiftJIS.
> > So, mxml /as encoding and complie environment no match.
> > js app created by falconjs and falconjx not correctly.
> >
> > Thanks,
> >
> > --
> > Jun Funakura
> >
> >
> > 2013/4/17 Alex Harui 
> >
> >> Hi,
> >>
> >> I have posted an updated FlexJSOverlay.zip at [1].
> >>
> >> This version replaces the FalconJS compiler with the FalconJX compiler.
>  I
> >> think we can officially retire the FalconJS code base.  Remember, this
> is
> >> all still prototype work and FalconJX is a newer code base so there are
> >> probably plenty of bugs left to be found and fixed.  Also, FalconJX
> seems
> >> to
> >> have a different class of output errors.  FalconJS generally handled the
> >> different output scenarios but may have had bugs in the codegen for the
> >> scenario whereas FalconJX may think that what should be two different
> >> output
> >> scenarios are the same and generate incorrect code.  For example
> FalconJS
> >> seems to always know when it is generating code for a setter instead of
> a
> >> variable, but FalconJX may not get that right in all cases.
> >>
> >> The example app is posted in subfolders of the above link.  The JS
> versions
> >> are running on Chrome, Firefox, Safari and IE8 and IE9.  The source is
> >> available at [2].  I haven't wired up the right-click in the new
> framework
> >> to a "view source" option.  Also, IE8 and IE9 may not fetch the stock
> price
> >> when run from these links since it is using XMLHTTPRequest and CORS may
> >> prevent it.  It depends on your trust settings in IE's Internet Options.
> >> You might want to copy it to your intranet to really see it run.
> >>
> >> [1] http://people.apache.org/~aharui/FlexJS/
> >> [2] http://people.apache.org/~aharui/FlexJS/bin-release/srcview/
> >>
> >> --
> >> Alex Harui
> >> Flex SDK Team
> >> Adobe Systems, Inc.
> >> http://blogs.adobe.com/aharui
> >>
> >>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>


Re: [FalconJX][FlexJS] New FlexJSOveray.zip now uses FalconJX instead of FalconJS

2013-04-20 Thread jun funakura
Hi, Alex

I was try new version ( 20-Apr-2013 15:17) of FlexJSOverlay.zip.
so It works well in my environment.
Japanese Text are correct displaying in swf and js apps.


Thanks!

--
Jun Funakura

2013/4/21 Alex Harui 

> OK, I added the file.encoding to the FalconJX launch configuration.  Let me
> know if it works for you.
>
>
> On 4/18/13 11:59 PM, "jun funakura"  wrote:
>
> > Hi,
> >  I tried new version of FlexJSOverray.zip.
> >
> > It seems Falcon.js and Falcon.JX are depend on Default encoding,
> > so, non-ASCII character messages are not good.
> >
> > I think, external config(FalconJX Debug and Release Build) argments add
> to
> > -Dfile.encoding=UTF8
> > so, It seems work well.
> > Could you add a these parameter?, Alex.
> >
> > or
> > when Writer class  call,encoding argment added.
> > ex.
> > OutputStreamWriter(Outoutstream ,"UTF-8");
> > Useally, non-ASCII character MXMLl or as file written by UTF-8.
> > But Java's encoding not match for local machine's encoding.
> > For example, Japanese Enviromnent on OSX and windows default are both
> > ShiftJIS.
> > So, mxml /as encoding and complie environment no match.
> > js app created by falconjs and falconjx not correctly.
> >
> > Thanks,
> >
> > --
> > Jun Funakura
> >
> >
> > 2013/4/17 Alex Harui 
> >
> >> Hi,
> >>
> >> I have posted an updated FlexJSOverlay.zip at [1].
> >>
> >> This version replaces the FalconJS compiler with the FalconJX compiler.
>  I
> >> think we can officially retire the FalconJS code base.  Remember, this
> is
> >> all still prototype work and FalconJX is a newer code base so there are
> >> probably plenty of bugs left to be found and fixed.  Also, FalconJX
> seems
> >> to
> >> have a different class of output errors.  FalconJS generally handled the
> >> different output scenarios but may have had bugs in the codegen for the
> >> scenario whereas FalconJX may think that what should be two different
> >> output
> >> scenarios are the same and generate incorrect code.  For example
> FalconJS
> >> seems to always know when it is generating code for a setter instead of
> a
> >> variable, but FalconJX may not get that right in all cases.
> >>
> >> The example app is posted in subfolders of the above link.  The JS
> versions
> >> are running on Chrome, Firefox, Safari and IE8 and IE9.  The source is
> >> available at [2].  I haven't wired up the right-click in the new
> framework
> >> to a "view source" option.  Also, IE8 and IE9 may not fetch the stock
> price
> >> when run from these links since it is using XMLHTTPRequest and CORS may
> >> prevent it.  It depends on your trust settings in IE's Internet Options.
> >> You might want to copy it to your intranet to really see it run.
> >>
> >> [1] http://people.apache.org/~aharui/FlexJS/
> >> [2] http://people.apache.org/~aharui/FlexJS/bin-release/srcview/
> >>
> >> --
> >> Alex Harui
> >> Flex SDK Team
> >> Adobe Systems, Inc.
> >> http://blogs.adobe.com/aharui
> >>
> >>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>


Re: [FalconJX][FlexJS] New FlexJSOveray.zip now uses FalconJX instead of FalconJS

2013-04-22 Thread jun funakura
Hi,

I have posted new version of FlexJS test results.
http://www.noridon.net/flexjs/

My change mxml file is bellow. from FlexJSTest_again
http://www.noridon.net/flexjs/FlexJSTestAgain.mxml

swf version of app:
http://www.noridon.net/flexjs/bin-release/FlexJSTestAgain.swf

js version of app:
http://www.noridon.net/flexjs/js-release/index.html
These compiled app was compiled new version of FlexJSOverLay.zip

previous version vs new version compare image:
http://www.noridon.net/flexjs/flexJS-compare.png

My Test Environment:
OS X 10.8.2 + Flash builder 4.7 + FlexJSOverLay.zip

add also it works fine at
Windows 7 + IE9 + Flash Builder 4.6 + FlexJS environment

Thanks, great works!

--
Jun Funakura



2013/4/21 jun funakura 

> Hi, Alex
>
> I was try new version ( 20-Apr-2013 15:17) of FlexJSOverlay.zip.
> so It works well in my environment.
> Japanese Text are correct displaying in swf and js apps.
>
>
> Thanks!
>
> --
> Jun Funakura
>
> 2013/4/21 Alex Harui 
>
>> OK, I added the file.encoding to the FalconJX launch configuration.  Let
>> me
>> know if it works for you.
>>
>>
>> On 4/18/13 11:59 PM, "jun funakura"  wrote:
>>
>> > Hi,
>> >  I tried new version of FlexJSOverray.zip.
>> >
>> > It seems Falcon.js and Falcon.JX are depend on Default encoding,
>> > so, non-ASCII character messages are not good.
>> >
>> > I think, external config(FalconJX Debug and Release Build) argments add
>> to
>> > -Dfile.encoding=UTF8
>> > so, It seems work well.
>> > Could you add a these parameter?, Alex.
>> >
>> > or
>> > when Writer class  call,encoding argment added.
>> > ex.
>> > OutputStreamWriter(Outoutstream ,"UTF-8");
>> > Useally, non-ASCII character MXMLl or as file written by UTF-8.
>> > But Java's encoding not match for local machine's encoding.
>> > For example, Japanese Enviromnent on OSX and windows default are both
>> > ShiftJIS.
>> > So, mxml /as encoding and complie environment no match.
>> > js app created by falconjs and falconjx not correctly.
>> >
>> > Thanks,
>> >
>> > --
>> > Jun Funakura
>> >
>> >
>> > 2013/4/17 Alex Harui 
>> >
>> >> Hi,
>> >>
>> >> I have posted an updated FlexJSOverlay.zip at [1].
>> >>
>> >> This version replaces the FalconJS compiler with the FalconJX
>> compiler.  I
>> >> think we can officially retire the FalconJS code base.  Remember, this
>> is
>> >> all still prototype work and FalconJX is a newer code base so there are
>> >> probably plenty of bugs left to be found and fixed.  Also, FalconJX
>> seems
>> >> to
>> >> have a different class of output errors.  FalconJS generally handled
>> the
>> >> different output scenarios but may have had bugs in the codegen for the
>> >> scenario whereas FalconJX may think that what should be two different
>> >> output
>> >> scenarios are the same and generate incorrect code.  For example
>> FalconJS
>> >> seems to always know when it is generating code for a setter instead
>> of a
>> >> variable, but FalconJX may not get that right in all cases.
>> >>
>> >> The example app is posted in subfolders of the above link.  The JS
>> versions
>> >> are running on Chrome, Firefox, Safari and IE8 and IE9.  The source is
>> >> available at [2].  I haven't wired up the right-click in the new
>> framework
>> >> to a "view source" option.  Also, IE8 and IE9 may not fetch the stock
>> price
>> >> when run from these links since it is using XMLHTTPRequest and CORS may
>> >> prevent it.  It depends on your trust settings in IE's Internet
>> Options.
>> >> You might want to copy it to your intranet to really see it run.
>> >>
>> >> [1] http://people.apache.org/~aharui/FlexJS/
>> >> [2] http://people.apache.org/~aharui/FlexJS/bin-release/srcview/
>> >>
>> >> --
>> >> Alex Harui
>> >> Flex SDK Team
>> >> Adobe Systems, Inc.
>> >> http://blogs.adobe.com/aharui
>> >>
>> >>
>>
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>>
>>
>
>