Hi Allen,

You can try other examples like FlexJSStore in the FlexJS SDK's examples
folder as the source for a FlexJS project in Flash Builder.

Or, create a new Flex/FlexJS project and copy the source from
demo_for_presentation.

HTH,
-Alex

On 7/6/17, 6:50 AM, "Allen YANG" <allen.y...@raritan.com> wrote:

>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 project successfully.  But I desired to get this
>demo working because the demo program is beyond "Hello World".  I just
>didn’t know that it would takes me longer time than I expected and still
>not fully getting it to work the way it should.
>After trying both FB and VS Code+Maven for a while, I think Flash
>Builder's error messages tend to be more cryptic.
>
>Hi Yishay,
>I followed Alex's suggestions and did the following steps to
>demo_for_presentation project:
>1) In Project -> Properties -> Flex Build Path, removed airglobal,
>Core.swc and Basic.swc.
>2) Shut down Flash Builder
>3) Open the .actionScriptProperties file in a text editor and remove
>these two lines from excludedEntries:
><libraryPathEntry kind="3" linkType="1"
>path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
>          <libraryPathEntry kind="3" linkType="1"
>path="${PROJECT_FRAMEWORKS}/libs/Basic.swc" useDefaultLinkType="false"/>
>4) Use the file system to remove bin folder from the project folder.
>5) Restart Flash Builder, clean and rebuild the project.
>
>These changes allowed me to build demo_for_presentation. And I now can
>run it by double-clicking index.html in both bin/js-debug and
>bin/js-release folders.
>But I am not sure that it runs correctly because the screen display
>always look like the following:
>
>boring
>my comp 0
>Button1 Button2
>
>Clicking Button1 should increment the count, but it doesn't change the
>display at all; and I believe clicking Button2 doesn't do anything
>according to the source code.  Could you help me  to correct the behavior
>of the demo program?
>I exported the fpx file on my Dropbox:
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropb
>ox.com%2Fs%2Fzknv0tj5kvvioph%2Fdemo_for_presentation.fxp%3Fdl%3D0&data=02%
>7C01%7C%7C8345d5754e0445ae749108d4c47606dd%7Cfa7b1b5a7b34438794aed2c178dec
>ee1%7C0%7C0%7C636349458587573300&sdata=GQuPEL%2F5L%2BIbBDA92SAbKDJeeLT3Eoc
>om26fULgT0xA%3D&reserved=0
>
>Hi Team:
>My original purpose of learning FlexJS is to convert my Flex 3 project so
>it will run without Flash Player. I am still far away from the goal.  If
>anyone could suggest what to do to rewrite my MXMLs that use TitleWindow
>and HBox that will be quite appreciated.
>
>Best regards,
>Allen
>
>
>-----Original Message-----
>From: PKumar [mailto:prashaku...@gmail.com]
>Sent: Thursday, July 06, 2017 2:26 AM
>To: dev@flex.apache.org
>Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project to
>HTML+JS
>
>If you want to use FlexJS with Flash Builder 4.7 then no need to install
>Ant and maven.
>
>just download latest version of FlexJs via SDK installer and add new
>FlexJS SDK under Flash Buildrler4.7 as you add regular flex SDK.
>
>After SDK setup . You need to import runtime command into Flash Builder
>so that u can compile Flex JS project.
>
>Apache Flex wiki have nice information on this. Please refer wiki.
>
>On 06-Jul-2017 5:17 AM, "allenyyang [via Apache Flex Development]" <
>ml+s2333347n62853...@n4.nabble.com> wrote:
>
>> 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
>>Builder 4.7.
>> You might be thinking that I was talking about being able to use VS
>> Code and Maven to build and run demo_for_presentation successfully;
>> which is not the case for me yet.
>>
>> So I went back to your email on 07/01 and I installed Ant and added it
>> to PATH; I also set ANT_HOME to where I installed Ant:
>> C:\apache-ant-1.10.1; and already have JAVA_HOME to its installation
>> folder: C:\Program
>> Files\Java\jdk1.8.0_131
>> At the folder demo_for_presentation where build.xml file resides, I
>> typed 'ant' in the cmd window.  I got the following error:
>> ----------------------------------------------------------------------
>> --------
>>
>> Buildfile: C:\Projects\demo_for_presentation\build.xml
>>
>> clean:
>>
>> build_example.compilejs:
>>      [echo] Compiling demo_for_presentation.js
>>      [echo] FLEX_HOME: ${env.FLEXJS_HOME}
>>      [echo] FALCONJX_HOME: ${FALCONJX_HOME}
>>      [echo] env GOOG_HOME: ${env.GOOG_HOME}
>>      [echo] GOOG_HOME: ${GOOG_HOME}
>>      [java] Error: Could not find or load main class ${mxmlc.jvm.args}
>>      [java] Java Result: 1
>>
>> BUILD FAILED
>> C:\Projects\demo_for_presentation\build_example.xml:124: code: 1
>>
>> Total time: 0 seconds
>>
>> Can you help me to see what's wrong?
>>
>> Thanks and Regards,
>> Allen
>> ----------------------------------------------------------------------
>> -------
>>
>>
>> -----Original Message-----
>> From: yishayw [mailto:[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=62853&i=0>]
>> Sent: Wednesday, July 05, 2017 12:54 AM
>> To: [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=62853&i=1>
>> Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project
>> to
>> HTML+JS
>>
>> yishayw wrote
>> > Now assuming you have pom.xml and build.xml in your project you
>> > should be able to run Maven like this:
>>
>> Should read:
>>
>>
>> Now assuming you have pom.xml and build.xml in your project you should
>> be able to run Maven *or ant* like this:
>>
>>
>>
>>
>> --
>> View this message in context: http://apache-flex-
>> development.2333347.n4.nabble.com/FlexJS-question-about-
>> porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62835.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>>
>> ________________________________
>>
>> Ce message, ainsi que tous les fichiers joints à ce message, peuvent
>> contenir des informations sensibles et/ ou confidentielles ne devant
>> pas être divulguées. Si vous n'êtes pas le destinataire de ce message
>> (ou que vous recevez ce message par erreur), nous vous remercions de
>> le notifier immédiatement à son expéditeur, et de détruire ce message.
>> Toute copie, divulgation, modification, utilisation ou diffusion, non
>> autorisée, directe ou indirecte, de tout ou partie de ce message, est
>>strictement interdite.
>>
>>
>> This e-mail, and any document attached hereby, may contain
>> confidential and/or privileged information. If you are not the
>> intended recipient (or have received this e-mail in error) please
>> notify the sender immediately and destroy this e-mail. Any
>> unauthorized, direct or indirect, copying, disclosure, distribution or
>> other use of the material or parts thereof is strictly forbidden.
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion
>> below:
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>ex-development.2333347.n4.nabble&data=02%7C01%7C%7C8345d5754e0445ae749108
>>d4c47606dd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63634945858757330
>>0&sdata=rPCWFbD5gAE70gfwiy95mUecNGb9JzxHqTTK29X5q6E%3D&reserved=0.
>> com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-
>> tp62698p62853.html
>> To start a new topic under Apache Flex Development, email
>> ml+s2333347n1...@n4.nabble.com
>> To unsubscribe from Apache Flex Development, click here
>> 
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-development.2333347.n4.nabble.com%2Ftemplate%2FNamlSer&data=02%7C01%7
>>C%7C8345d5754e0445ae749108d4c47606dd%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636349458587573300&sdata=%2BP5ZI%2BiBsuRwoKa9r%2FkKLjyY%2BMRRFYd
>>GAIeZY62ntyQ%3D&reserved=0
>> vlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWw
>> uY29tfDF8LTU0MTcyMzE2NA==>
>> .
>> NAML
>> 
>><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>lex-development.2333347.n4.nabble.com%2Ftemplate%2FNamlSer&data=02%7C01%7
>>C%7C8345d5754e0445ae749108d4c47606dd%7Cfa7b1b5a7b34438794aed2c178decee1%7
>>C0%7C0%7C636349458587573300&sdata=%2BP5ZI%2BiBsuRwoKa9r%2FkKLjyY%2BMRRFYd
>>GAIeZY62ntyQ%3D&reserved=0
>> vlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base
>> =nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.Nabble
>> Namespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_su
>> bscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-s
>> end_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-question-about-porting-an-Ado
>be-Flex-3-project-to-HTML-JS-tp62698p62859.html&data=02%7C01%7C%7C8345d575
>4e0445ae749108d4c47606dd%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363
>49458587573300&sdata=M%2FdmCFwMXTNYMvLjGJuME3W7bkcyX%2B%2F%2B%2Fq%2FF4wWJk
>pI%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>
>________________________________
>
>Ce message, ainsi que tous les fichiers joints à ce message, peuvent
>contenir des informations sensibles et/ ou confidentielles ne devant pas
>être divulguées. Si vous n'êtes pas le destinataire de ce message (ou que
>vous recevez ce message par erreur), nous vous remercions de le notifier
>immédiatement à son expéditeur, et de détruire ce message. Toute copie,
>divulgation, modification, utilisation ou diffusion, non autorisée,
>directe ou indirecte, de tout ou partie de ce message, est strictement
>interdite.
>
>
>This e-mail, and any document attached hereby, may contain confidential
>and/or privileged information. If you are not the intended recipient (or
>have received this e-mail in error) please notify the sender immediately
>and destroy this e-mail. Any unauthorized, direct or indirect, copying,
>disclosure, distribution or other use of the material or parts thereof is
>strictly forbidden.

Reply via email to