flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PKumar <prashaku...@gmail.com>
Subject RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS
Date Thu, 06 Jul 2017 15:08:06 GMT
I will check the example shared. But if need more examples on title window,
grid, panel , list and other controls. Just let me know I will share with
you on GitHub.

On 06-Jul-2017 7:21 PM, "allenyyang [via Apache Flex Development]" <
ml+s2333347n62863h65@n4.nabble.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://www.dropbox.com/s/
> zknv0tj5kvvioph/demo_for_presentation.fxp?dl=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:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=62863&i=0>]
> Sent: Thursday, July 06, 2017 2:26 AM
> To: [hidden email] <http:///user/SendEmail.jtp?type=node&node=62863&i=1>
> 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]" <
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=62863&i=2>>
> 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:
> > http://apache-flex-development.2333347.n4.nabble.
> > 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
> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=62863&i=3>
> > To unsubscribe from Apache Flex Development, click here
> > <http://apache-flex-development.2333347.n4.nabble.com/template/NamlSer
> > vlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWw
> > uY29tfDF8LTU0MTcyMzE2NA==>
> > .
> > NAML
> > <http://apache-flex-development.2333347.n4.nabble.com/template/NamlSer
> > 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: http://apache-flex-
> development.2333347.n4.nabble.com/FlexJS-question-about-
> porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62859.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:
> http://apache-flex-development.2333347.n4.nabble.
> com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-
> tp62698p62863.html
> To start a new topic under Apache Flex Development, email
> ml+s2333347n1h43@n4.nabble.com
> To unsubscribe from Apache Flex Development, click here
> <http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
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-tp62698p62864.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message