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, >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: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 built and project, the error went away. >Thank you so much! >Best Regards, >Allen > >-----Original Message----- >From: Alex Harui [mailto:aha...@adobe.com.INVALID] >Sent: Friday, June 30, 2017 5:08 PM >To: dev@flex.apache.org >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" <allen.y...@raritan.com> 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:aha...@adobe.com.INVALID] >>Sent: Friday, June 30, 2017 4:48 PM >>To: dev@flex.apache.org >>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" <allen.y...@raritan.com> 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:yishayj...@hotmail.com] >>>Sent: Friday, June 30, 2017 1:32 PM >>>To: dev@flex.apache.org >>>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.