Thanks Alex. These lines were necessary for the last part of the presentation where I show how to change stuff in the framework. I commented them out in the uploaded zip.
From: Alex Harui-2 [via Apache Flex Development]<mailto:ml+s2333347n62747...@n4.nabble.com> Sent: Saturday, July 1, 2017 6:36 PM To: yishayw<mailto:yishayj...@hotmail.com> Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS Hi Allen, Yishay, Looks like the Flash Builder project was set up for Yishay's development environment and won't translate well to others. As a workaround, try this: 1) In Project -> Properties -> Flex Build Path, remove airglobal 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. HTH, it worked for me. -Alex On 6/30/17, 11:48 PM, "Alex Harui" <[hidden email]</user/SendEmail.jtp?type=node&node=62747&i=0>> 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" <[hidden >email]</user/SendEmail.jtp?type=node&node=62747&i=1>> wrote: > >>Hi Alex, >>After I was able to build the project without error; I checked running >>demo_for_presentation from Flash Builder. My default browser is Google >>Chrome, I know that wouldn't work; so I downloaded the debug version of >>Flash Player for Firefox and set the default browser to be Firefox on >>Flash Builder. Then I ran demo_for_presentation. Firefox came up, then >>I got "Error 1079: are not allowed in loaded code", and Error 1065: >>variable demo_for_presentation is not defined". >>Do you know of a way I can run this without Flash Player? >>Best Regards, >>Allen >> >>-----Original Message----- >>From: Allen YANG [mailto:[hidden >>email]</user/SendEmail.jtp?type=node&node=62747&i=2>] >>Sent: Friday, June 30, 2017 5:22 PM >>To: [hidden email]</user/SendEmail.jtp?type=node&node=62747&i=3> >>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 built and project, the error went away. >>Thank you so much! >>Best Regards, >>Allen >> >>-----Original Message----- >>From: Alex Harui [mailto:[hidden >>email]</user/SendEmail.jtp?type=node&node=62747&i=4>] >>Sent: Friday, June 30, 2017 5:08 PM >>To: [hidden email]</user/SendEmail.jtp?type=node&node=62747&i=5> >>Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to >>HTML+JS >> >>Hi Allen, >> >>Delete all of the errors out of the error log so we know you are still >>getting new ones. >> >>Go back to project properties to make sure Core and Basic were removed. >>Maybe grab a screenshot 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" <[hidden >>email]</user/SendEmail.jtp?type=node&node=62747&i=6>> wrote: >> >>>Hi Alex, >>>Thanks for looking into this. I removed Core.swc and Basic.swc from >>>Flex Build Path and cleaned the project and rebuilt. The result is >>>still the same. >>>Best Regards, >>>Allen >>> >>>-----Original Message----- >>>From: Alex Harui [mailto:[hidden >>>email]</user/SendEmail.jtp?type=node&node=62747&i=7>] >>>Sent: Friday, June 30, 2017 4:48 PM >>>To: [hidden email]</user/SendEmail.jtp?type=node&node=62747&i=8> >>>Subject: Re: [FlexJS] question about porting an Adobe Flex 3 project to >>>HTML+JS >>> >>>Hi Allen, >>> >>>Looks like you ran into a bug. I will look into a fix for it. As a >>>workaround, go to the Project menu, choose Properties, then Flex Build >>>Path. Remove the Core.swc and Basic.swc. 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" <[hidden >>>email]</user/SendEmail.jtp?type=node&node=62747&i=9>> wrote: >>> >>>>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 for more information" in plug-in >>>>"com.adobe.flexbuilder.project" >>>>Could you help to shed some light? >>>>Thanks, >>>>Allen >>>> >>>>The stack trace is as follows: >>>>---------------------------------------------------------------------- >>>>- >>>>--- >>>>-------------------------- >>>>java.lang.NullPointerException >>>>at >>>>flex2.tools.oem.Application.processMXMLCReport(Application.java:681) >>>>at flex2.tools.oem.Application.compile(Application.java:644) >>>>at >>>>flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication. >>>>j >>>>ava >>>>:366) >>>>at >>>>com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$ >>>>M >>>>yBu >>>>ilder.mybuild(ASApplicationBuilder.java:309) >>>>at >>>>com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder. >>>>b >>>>uil >>>>d(ASApplicationBuilder.java:128) >>>>at >>>>com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBui >>>>l >>>>der >>>>.java:203) >>>>at >>>>com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(A >>>>S >>>>Ite >>>>mBuilder.java:93) >>>>at >>>>com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.bui >>>>l >>>>dIt >>>>em(FlexProjectBuilder.java:708) >>>>at >>>>com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.bui >>>>l >>>>d(F >>>>lexProjectBuilder.java:412) >>>>at >>>>com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder. >>>>bui >>>>ld(FlexIncrementalBuilder.java:171) >>>>at >>>>org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java: >>>>7 >>>>28) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) >>>>at >>>>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager. >>>>j >>>>ava >>>>:199) >>>>at >>>>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager. >>>>j >>>>ava >>>>:239) >>>>at >>>>org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java: >>>>2 >>>>92) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) >>>>at >>>>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager. >>>>j >>>>ava >>>>:295) >>>>at >>>>org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildMana >>>>ger >>>>. >>>>java:351) >>>>at >>>>org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: >>>>3 >>>>74) >>>>at >>>>org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace. >>>>j >>>>ava >>>>:513) >>>>at >>>>org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432 >>>>) >>>>at >>>>org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:3 >>>>0 >>>>5) >>>>at >>>>org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalW >>>>o >>>>rks >>>>paceJob.java:38) >>>>at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) >>>> >>>>Session Data is: >>>>---------------------------------------------------------------------- >>>>- >>>>--- >>>>--------- >>>>eclipse.buildId=M20110909-1335 >>>>java.version=1.8.0_131 >>>>java.vendor=Oracle Corporation >>>>BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US >>>>Command-line arguments: -os win32 -ws win32 -arch x86_64 >>>> >>>> >>>>-----Original Message----- >>>>From: yishayw [mailto:[hidden >>>>email]</user/SendEmail.jtp?type=node&node=62747&i=10>] >>>>Sent: Friday, June 30, 2017 1:32 PM >>>>To: [hidden email]</user/SendEmail.jtp?type=node&node=62747&i=11> >>>>Subject: RE: [FlexJS] question about porting an Adobe Flex 3 project >>>>to >>>>HTML+JS >>>> >>>>allenyyang wrote >>>>> However, the source code texts on YouTube video are a bit blurred >>>>> when Yishay went through the example MXML code (Unlike Josh's VS >>>>> Code video on which the texts are clear most of the time) >>>> >>>>I uploaded [1] the example project to my OneDrive. It doesn't contain >>>>the example framework bead, but that will be more relevant for when >>>>(and if) you start developing the framework itself. >>>> >>>>[1] >>>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fonedr >>>>ive >>>>. >>>>live.com%2F%3Fauthkey%3D%2521AISXR8DhFELsS0E%26cid%3DCF33E75095D2FE01% >>>>2 >>>>6id >>>>%3DCF33E75095D2FE01%25216416%26parId%3Droot%26action%3Dlocate&data=02% >>>>7 >>>>C01 >>>>%7C%7C5123db3feb464cfddd4008d4bfe8ddfb%7Cfa7b1b5a7b34438794aed2c178dec >>>>e >>>>e1% >>>>7C0%7C0%7C636344454264115269&sdata=nArOcztbEqZoE2cTNy8C%2FL%2BBCl8kaHY >>>>Y >>>>936 >>>>mclZVfdo%3D&reserved=0 >>>> >>>> >>>> >>>> >>>>-- >>>>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-tp62698p62726.html&data=02%7C01%7C%7C5123 >>>>d >>>>b3f >>>>eb464cfddd4008d4bfe8ddfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C >>>>6 >>>>363 >>>>44454264115269&sdata=lsSKrtL4Ob%2FiOPuQrlE4MJFxRfVkLhn333SkYqcIjk0%3D& >>>>r >>>>ese >>>>rved=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. >>> >>> >>>________________________________ >>> >>>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. >> >> >>________________________________ >> >>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. >> >>________________________________ >> >>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-tp62698p62747.html To unsubscribe from [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS, click here<http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=62698&code=eWlzaGF5am9ic0Bob3RtYWlsLmNvbXw2MjY5OHw4NjEzMzQyNTg=>. 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>