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://git-wip-us.apache.org/repos/asf/flex-sdk/repo?p=flex-tourjs.git;a=b > 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-fle > >x-users.2333346.n4.nabble.com > %2FFlexjs-Javascript-libraries-tp15402p15404. > >html&data=02%7C01%7C%7C0dd9a530f4b042a2be8608d4c3a4b3e6%7Cfa7b1b5a7b344387 > >94aed2c178decee1%7C0%7C0%7C636348559540648452&sdata=ruUOuSMC9FsJxMmTRaps1n > >7eFM7ifqLEeECGazvcW04%3D&reserved=0 > >Sent from the Apache Flex Users mailing list archive at Nabble.com. > >
