RE: [FlexJS] Name space question

2017-07-11 Thread Allen YANG
Hi Alex, Thank you for your help; the change added to POM worked. Since my Flex 3 program uses TitleWindow, PopUpManager, Panel, Canvas, SearchButton, etc., I am trying to learn these then convert the original Flex 3 source files one by one. Best Regards, Allen -Original Message- From:

RE: [FlexJS] Name space question

2017-07-11 Thread Allen YANG
Hi Piotr, After checking through the flat module, I didn't find something equivalent to Panel. Checking through this is not a very elegant way, but it is a lot more direct. Thanks, Allen -Original Message- From: piotrz [mailto:piotrzarzyck...@gmail.com] Sent: Tuesday, July 11, 2017

RE: [FlexJS] Name space question

2017-07-11 Thread Allen YANG
@flex.apache.org Subject: Re: [FlexJS] Name space question Are you using Maven or FB or some other build process? For Maven you may need to add the Flat artifact to the pom.xml -Alex On 7/10/17, 7:45 PM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Team, > >I was trying t

[FlexJS] Name space question

2017-07-10 Thread Allen YANG
Hi Team, I was trying to create a FlexJS project from the example in FlexJS: https://cwiki.apache.org/confluence/display/FLEX/Application+Structure I encountered name space issue which I am still confused by, and hope you could help me to understand. In MyInitialView.MXML file I had a line:

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-10 Thread Allen YANG
Hi Piotr, Thank you so much! This works very nicely. Following your instruction I was able to build and run the SearchBox successfully. I will study your codes and the files that guide the build process in more details tonight. This is very helpful. Hi Josh: to make sure I have the latest

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-10 Thread Allen YANG
Hi All, I added a file called SearcClass.as with the following content just to see if that gets me the SearchClass. package { [Bindable] public class SearchClass { public function SearchClass() { } } } After that I still get the same error. Could someone explain a but what I should do

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-10 Thread Allen YANG
Hi Alex, Justin and all, I appreciate all the help I got; and sorry about the questions that show my newness to Flex 3. At this point I am trying to compile and build Justin's SearchClass example. I corrected one minor typo in the sample code. My project is in:

Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Thank you, Justin. I made your earlier code the only Application and the only MXML file. I still got the same compiler complaint, that's why I am confused. But I should really put your current code in a separate MXML file and call it in main application anyway. Thanks, Allen Sent via the

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
al Message----- From: Allen YANG Sent: Sunday, July 09, 2017 9:07 PM To: 'dev@flex.apache.org' Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Hi Justin, Thank you very much! I will try this. Best Regards, Allen -Original Message- From: Justin Mclean [

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Thank you, Justin. Once I got through the tag issue I will add these. Regards, Allen -Original Message- From: Justin Mclean [mailto:jus...@classsoftware.com] Sent: Sunday, July 09, 2017 9:30 PM To: dev@flex.apache.org Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Hi Justin, Thank you very much! I will try this. Best Regards, Allen -Original Message- From: Justin Mclean [mailto:jus...@classsoftware.com] Sent: Sunday, July 09, 2017 8:55 PM To: dev@flex.apache.org Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Hi,

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
2017 8:20 PM To: dev@flex.apache.org Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Did you close the Hcontainer tag? On 7/9/17, 5:03 PM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Greg, >Thanks for pointing out the xml errors. I corrected them.

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Hi Greg, Thanks for pointing out the xml errors. I corrected them. The compiler doesn't hang any more. Now with "import com.iwobanas.core.ISearchable;" added within CDATA code block, I got a "definition com.iwobanas.core.ISearchable could not be found" Also, I got "js:Label is not allowed here"

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Piotr, Deallist.as declares a bunch of global variables in the real Flex 3 application that I need to convert to FlexJS. SearchBox.mxml is one of this Flex 3 program's source files. Because SearchBox.mxml accesses the global variables in the application, I included deallias.as to reduce

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Yes; the mailing list stripped out the two attachments. I zipped the folder; here is the link to the zip file: https://www.dropbox.com/s/6qqf1zqg3il51bp/FBSearchBox.zip?dl=0 This is the project that just has caused compiler to hit the out of memory error. The file that seems to have caused this

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-09 Thread Allen YANG
Hi Yishay, Trying to export project from Flash Builder caused FB to hang. The two files are attached; hope that's fine. Best Regards, Allen -Original Message- From: yishayw [mailto:yishayj...@hotmail.com] Sent: Sunday, July 09, 2017 8:38 AM To: dev@flex.apache.org Subject: Re: [FlexJS]

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
statement, saved the code, cleaned and rebuild the project; the compiler still took a long while then ran out of memory. Regards, Allen -Original Message----- From: Allen YANG [mailto:allen.y...@raritan.com] Sent: Saturday, July 08, 2017 11:58 AM To: dev@flex.apache.org Subject: Re: [FlexJS

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
it is the cause of the compiler issues you are seeing or not. -Greg [sent from my phone] On 9/07/2017 6:32 AM, "Allen YANG" <allen.y...@raritan.com> wrote: Hi Alex, I am leaving SearchBox.mxml compiler issue aside for now since I have no idea how to solve it. Following the My

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
like: var host:IPopUpHost; host = UIUtils.findPopUpHost(this); // this is the main view IPopUpHost(host).addElement(popUp as IChild); HGroup or HContainer can swap in for HBox. Use Group or Container instead of Canvas. Good luck, -Alex On 7/8/17, 6:00 AM, "Allen YANG"

Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
d also ask Iwo Banas directly to see if he might be willing to help you out. HTH, -Alex On 7/8/17, 6:27 AM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Alex, >I tried usingxmlns:js="library://ns.apache.org/flexjs/express" >instead of basic, the compiler s

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
Hi Alex, I tried usingxmlns:js="library://ns.apache.org/flexjs/express" instead of basic, the compiler still hit an exception after a few minutes. This is done from VS Code + Maven. I also downloaded reusable_fx source codes (ISearchable), it seems to be built on an earlier version of Flash

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-08 Thread Allen YANG
Hi Yishay, You are right. I rechecked the demo.zip file and panelview.as is not there. Maybe I was trying to learn about TitleWindow replacement and break the code into a separate file, ended up leaving it there. No luck yet in converting my MXML file for TitleWindow equivalent because it also

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
Hi Team: I was trying to compile a SearchBox.mxml file in VS Code + Maven, after the compiler ran for 5 minutes (typically only takes a few seconds) the compiler hit a null pointer exception. I don't know why but I guess it has something to do with import com.iwobanas.core.ISearchable; The

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
Hi Yishay, I played further with your demo_for_presentation example, I realized that the source file panelview.as in src/beads is probably not used because I could remove it and rebuild without affecting the build and run. Could you tell me what that file is for? Thanks, Allen

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-07 Thread Allen YANG
than the 3 files you mentioned. HTH, -Alex On 7/6/17, 6:08 PM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Alex, >I googled FlexJS API reference and found the link: >https://na01.safelinks.protection.outlook.com/?url=http:%2F%2Fpeople.ap >ach >e.org%2F~pe

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread Allen YANG
app to display ASDoc. It is a bit ugly right now and volunteers are welcome to offer improvements. The source code is in examples/flexjs/ASDoc. Where did you find that link to people.apache.org? That ASDoc is probably out of date. Thanks, -Alex On 7/6/17, 12:25 PM, "Allen YANG"

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread Allen YANG
Thanks, Yishay. I will look into these in the API reference. Just created my first panel. Somehow I only see the Apache Flex 4.14.0 API reference in http://people.apache.org/~pent/asdoc-flexjs/ when I search for FlexJS API reference. Hope this is correct page. Regards, Allen -Original

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread Allen YANG
Hi PKumar, Please share with me the examples on title windows, grid, panel and other controls; I need to convert them from a Flex 3 project built on Flash Builder 3.6 to HTML+JS built with FlexJS 0.8.0 in my project. Regards, Allen -Original Message- From: PKumar

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread Allen YANG
Hi Yishay, After adding these to css, it works now. Thanks a lot! Best Regards, Allen -Original Message- From: yishayw [mailto:yishayj...@hotmail.com] Sent: Thursday, July 06, 2017 1:15 PM To: dev@flex.apache.org Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-06 Thread Allen YANG
Hi PKumar, You are correct that I don't need to have Maven or Ant installed if I want to just use Flash Builder as the IDE. was able to use Flash Builder 4.7 and FlexJS to build and run the examples in the wiki successfully. I just could not use FB to build Yishay's demo_for_presentation

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-05 Thread Allen YANG
Hi Yishay, After trying for quite a while, I found that we might be talking about two different things. I informed Piotr that was able to use Maven and VS Code to build and run Piotr's "Hello World" example successfully. But I was unable to successfully run demo_for_presentation using Flash

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread Allen YANG
Hi Yishay, I will be happy to but I don't know how because I did this in VS Code with Maven, not in Flash Builder. Can you tell me how? Thanks, Allen -Original Message- From: yishayw [mailto:yishayj...@hotmail.com] Sent: Tuesday, July 04, 2017 2:02 PM To: dev@flex.apache.org Subject:

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-02 Thread Allen YANG
.com.INVALID> wrote: >Hi Allen, > >Hmm. I'm having the same problem. Not sure why yet. I'm looking into >it, but I won't much time this weekend. > >-Alex > >On 6/30/17, 3:25 PM, "Allen YANG" <allen.y...@raritan.com> wrote: > >>Hi Alex, >>Af

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-02 Thread Allen YANG
Hi Piotr, I followed your instructions and it worked. Thank you very much! Best, Allen -Original Message- From: piotrz [mailto:piotrzarzyck...@gmail.com] Sent: Sunday, July 02, 2017 5:46 PM To: dev@flex.apache.org Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-01 Thread Allen YANG
maybe someone else will find time to work on a TitleWindow or help you work through it. There is a custom title bar for a Panel in the FlexJSStore example that may be of help. HTH, -Alex On 7/1/17, 8:43 AM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Alex, >Hope you ar

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-01 Thread Allen YANG
t mx.controls With: import org.apache.flex.express Good luck, -Alex On 6/30/17, 8:02 AM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Alex and Josh, >Sorry for my dumb question below: I immediately googled FlexJS Express >when I saw Josh's answer; but I didn't find something can exp

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-01 Thread Allen YANG
Hi Piotr, I am using Flash Builder 4.7 now; and I learned a bit about Visual Studio Code last night and built two examples successfully with VS Code, also tried to debug in it but haven't got the hang of it yet. I don't have experience in Maven but never mind learning it. Regards, Allen

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
riginal Message----- From: Allen YANG [mailto:allen.y...@raritan.com] Sent: Friday, June 30, 2017 5:22 PM To: dev@flex.apache.org Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Hi Alex, You are correct. After deleting al the errors out of the error log and cleaned and bu

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
of the dialog box and post a link to it. Then clean and build the project and in the Project Explorer, see if the demo has a red X on it. If it still does, reatart Flash Builder, then repeat the above steps. The errors went away for me. HTH, -Alex On 6/30/17, 2:03 PM, "Allen YANG"

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
. Yishay probably had his own development versions of them but you can use the ones in the FlexJS SDK. That should clear up the error. HTH, -Alex On 6/30/17, 11:50 AM, "Allen YANG" <allen.y...@raritan.com> wrote: >Hi Yishay, >Thank you for uploading the presentation de

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
Hi Yishay, Thank you for uploading the presentation demo to OneDrive. After downloading the demo for presentation demo.zip file and importing that to my Flash Builder 4.7, I made sure the SDK is set to FlexJS, then I did a build and got an error: "An internal error has occurred, see error log

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
Piotr, Thank you. Are these examples all built on Maven? Best Regards, Allen -Original Message- From: piotrz [mailto:piotrzarzyck...@gmail.com] Sent: Friday, June 30, 2017 10:45 AM To: dev@flex.apache.org Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
ead around strands and beads. (Basically, >>you have a list of beads which defines what look and behavior your >>components >> have.) >> >> We’re here to help. >> >> Good luck! >> Harbs >> >> > On Jun 30, 2017, at 3:19 PM, Allen YANG <allen.y...@

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
. (Basically, you have a list of beads which defines what look and behavior your components have.) We’re here to help. Good luck! Harbs > On Jun 30, 2017, at 3:19 PM, Allen YANG <allen.y...@raritan.com> wrote: > > Hi Team, > I have a Flex 3 project that was built on Adobe Flas

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
Hi Piotr, Thanks for your prompt answer. Your answer and Alex's answer saved me lots of time by not trying to convert to Flex 4 first. I will go over the links you provided and the videos Alex's recommended. Thanks again to the team for all your help. Really appreciated! Best Regards, Allen

[FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-06-30 Thread Allen YANG
xmlns:dropdown="components.*" xmlns:controls="com.iwobanas.controls.*" xmlns:local="*" xmlns:dataGridClasses="com.iwobanas.controls.dataGridClasses.*" applicationComplete="appInit();"> ... Thanks and Regards, Allen Allen