Hi Lorenzo, Can you give us more details on what steps you took to set up FlexJS 0.8.0 in Flash Builder and what kinds of errors you are getting?
Thanks, -Alex On 7/6/17, 2:02 PM, "Lorenzo Moretti" <[email protected]> wrote: >I will be glad to help writing a simple example. But I need some help >setting up the basing building environment: is Flash Builder (my current >IDE) supposed to work with FlexJS 0.8 SDK? Apparently I get compiler >errors... >I am also familiar with npm, but I do not know how to compile mxml from >the >command line. >Thank you. > >Lorenzo > > >Il giorno mer 5 lug 2017 alle 18:10 Alex Harui <[email protected]> >ha scritto: > >> You can probably use COMPILE:JS, but there won't be any type-checking, >> which is one of the reasons for Flex. The API for a 3rd-party JS >>library >> should be defined in a typedefs SWC. We've made it easier to create >>such >> a thing using @externs. See: >> >> >>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit-wip- >>us.apache.org%2Frepos%2Fasf%2Fflex-sdk%2Frepo%3Fp%3Dflex-tourjs.git%3Ba%3 >>Db&data=02%7C01%7C%7C7ca12a35cb144522608f08d4c4b25c90%7Cfa7b1b5a7b3443879 >>4aed2c178decee1%7C0%7C0%7C636349717722973458&sdata=wAQhEqEB2Ar3dqH07KC81t >>5W8vMKUwbtvwWyJY%2B9Kxs%3D&reserved=0 >> >>lob_plain;f=cordova/BatchScanner/BatchScanner/src/main/resources/top.html >>;h >> b=refs/heads/develop >> >> That example uses Cordova plugins, so inject_html isn't needed. But our >> own SWCs, like the CreateJS SWC use inject_html. You can also use a >> custom HTML template instead of inject_html. Maybe we can work with >> Lorenzo to create a good example for others. >> >> HTH, >> -Alex >> >> On 7/5/17, 5:34 AM, "piotrz" <[email protected]> wrote: >> >> >Hi Yishay, >> > >> >Can you use COMPILE::JS in end users application ? >> > >> >I think we need to provide example how end user can use external >>library >> >here, without any kind of coding in our framework. >> > >> >Thanks, >> >Piotr >> > >> > >> > >> >----- >> >Apache Flex PMC >> >[email protected] >> >-- >> >View this message in context: >> > >> >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl >>e >> >x-users.2333346.n4.nabble.com >> %2FFlexjs-Javascript-libraries-tp15402p15404. >> >>>html&data=02%7C01%7C%7C0dd9a530f4b042a2be8608d4c3a4b3e6%7Cfa7b1b5a7b3443 >>>87 >> >>>94aed2c178decee1%7C0%7C0%7C636348559540648452&sdata=ruUOuSMC9FsJxMmTRaps >>>1n >> >7eFM7ifqLEeECGazvcW04%3D&reserved=0 >> >Sent from the Apache Flex Users mailing list archive at Nabble.com. >> >>
