Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread Alex Harui
Yes but in examples/flexjs/CordovaCameraExample, it specifies 11.4 and swfversion 17. Anyone who wants to use a later API than our baseline can do that. -Alex On 7/4/17, 11:30 PM, "Harbs" wrote: >Where is that from? > >In build.properties I see this: > ># flex-sdk-description values >release.n

Re: [FlexJS] Use of typeof

2017-07-04 Thread Alex Harui
What class in Core needs this dependency? I think one drawback is that users of that class will need to add node.swc to their project dependencies. But I don't think every consumer of Core will need node.swc. But first, why didn't window["process"] work? In theory Falcon will let you access any

Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread Harbs
Where is that from? In build.properties I see this: # flex-sdk-description values release.name = Apache Flex (FlexJS) # this is the version that appears in the flex-sdk-description tag # and on the package name. This is the publicly known version of FlexJS release.version = 0.9.0 # fb.release.

Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread Alex Harui
Which build? The Ant build is set for -Alex On 7/4/17, 12:14 AM, "yishayw" wrote: >I was having a problem building the Mobile package. It was complaining >about >line 151 in Camera.as which does camera.copyToByteArray(). Looking at the >docs [1], it looks like this method became availab

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
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://apach

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
Here [1] is how I run Maven an Ant from Flash Builder. To use this do the following: 1) Download folder to your computer 2) in Flash Builder go to File->Import->Run/Debug->Launch Configurations 3) Select the folder you downloaded 4) Open up Run->External Tools (useful keyboard shortcut: then the

Re: [FlexJS] Use of typeof

2017-07-04 Thread Harbs
Actually, I see that the Node typedefs has all the process declarations in global.js. Is there an issue with adding a dependency in CoreJS to node.swc? Should a class that has this dependency go somewhere else? (I don’t really see an issue with adding the dependency, but I’m throwing this out i

Re: [FlexJS] Use of typeof

2017-07-04 Thread Harbs
Looks like it. I see this in missing.js: /** * @export * This gets mapped to org.apache.flex.utils.Language.trace() by the compiler * @param {...} rest */ function trace(rest) {} /** * @type {!Console} * @const */ var console; I guess I can add another one like so: /** * @type {!Proce

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread Allen YANG
Hi Yishay, I will be happy to but I don't know how because I did this in VS Code with Maven, not in Flash Builder. Can you tell me how? Thanks, Allen -Original Message- From: yishayw [mailto:yishayj...@hotmail.com] Sent: Tuesday, July 04, 2017 2:02 PM To: dev@flex.apache.org Subject: RE:

RE: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

2017-07-04 Thread yishayw
Hi Allen, I'm glad you got around this problem by using Maven. Can you export your project to fxp and post it somewhere so I can have a look? It would be good to know what's keeping the Flash Builder build from working. Thanks, Yishay -- View this message in context: http://apache-flex-devel

Re: [FlexJS] Use of typeof

2017-07-04 Thread Harbs
Thanks. Here’s what I see: if(typeof window !== "undefined") { theConsole = window.console; } else if(typeof console !== "undefined") { theConsole = console; } Did you define console in a typedef maybe? I’m thinking that Falcon should really allow undefined variables when used wi

Re: Installer Problems

2017-07-04 Thread Olaf Krueger
It works, great job again Piotr! Thank you, Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62828.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Use of typeof

2017-07-04 Thread Josh Tynjala
I don't remember exactly what I did, but in order to get trace() working in Node.js, I had to figure out how to find the console object on window versus global. I feel like I remember using typeof, but maybe it was something else. Take a look at the implementation of Language.trace() to see what I

Re: Installer Problems

2017-07-04 Thread Harbs
Thanks for taking care of that. :-) > On Jul 4, 2017, at 8:10 PM, piotrz wrote: > > Issue has been fixed. Everyone who had the problems can try to download > FlexJS. > > Thanks, > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > http:/

Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread Josh Tynjala
Classes with [Mixin] metadata have their static init() method called while a Flex app is initializing. I assume that FlexJS continues to use [Mixin] the same way. - Josh On Jul 4, 2017 12:36 AM, "yishayw" wrote: > BTW, I noticed Camera is declared with a [Mixin] metatag. What is that? > > > > -

Re: Installer Problems

2017-07-04 Thread piotrz
Issue has been fixed. Everyone who had the problems can try to download FlexJS. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62824.html Sent from the Apache Flex De

Re: Installer Problems

2017-07-04 Thread piotrz
Alex, After short talk with Daniel Takamori from infra he recommended me to raise jira [1]. [1] https://issues.apache.org/jira/browse/INFRA-14506 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Instal

Re: Installer Problems

2017-07-04 Thread OmPrakash Muppirala
On Tue, Jul 4, 2017 at 4:43 PM, piotrz wrote: > Do we have some alternative to provide users where we can download by SDK > with all dependencies ? > Yes, it is as simple as: *npm install flexjs -g* Thanks, Om > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message

[FlexJS] Use of typeof

2017-07-04 Thread Harbs
I’m trying to figure out how to solve this dilemma: Browsers attach global variables to window. Node.js attaches globals to global. I’m trying to check for the existence of a global called process. In JS, you’d generally do that by checking typeof process == ‘undefined’. Falcon does not allow

Re: Installer Problems

2017-07-04 Thread Justin Mclean
Hi, IMO downloading the binaries from an offical Apache page should be the preferred link to hand out [1][2] even if a little more effort is needed to make a working SDK. Thanks, Justin [1] http://flex.apache.org/download-binaries.html [2] http://flex.apache.org/download-flexjs.html

RE: git commit: [flex-asjs] [refs/heads/develop] - Added FileIUploader, fixed BinaryUploader

2017-07-04 Thread Yishay Weiss
I removed it, thanks. From: Piotr Zarzycki Sent: Tuesday, July 4, 2017 2:30 PM To: dev@flex.apache.org Subject: Re: git commit: [flex-asjs] [refs/heads/develop] - Added FileIUploader, fixed BinaryUploader Hi Yishay, Do we need this t

Re: Installer Problems

2017-07-04 Thread Harbs
https://www.npmjs.com/package/flexjs > On Jul 4, 2017, at 2:13 PM, piotrz wrote: > > Do we have some alternative to provide users where we can download by SDK > with all dependencies ? > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > V

Re: Installer Problems

2017-07-04 Thread piotrz
Do we have some alternative to provide users where we can download by SDK with all dependencies ? - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62817.html Sent from the Apache Fle

Re: git commit: [flex-asjs] [refs/heads/develop] - Added FileIUploader, fixed BinaryUploader

2017-07-04 Thread Piotr Zarzycki
Hi Yishay, Do we need this trace in BinaryUploader ? :) Thanks, Piotr 2017-07-04 13:16 GMT+02:00 : > Repository: flex-asjs > Updated Branches: > refs/heads/develop f1108167c -> e083f6ab1 > > > Added FileIUploader, fixed BinaryUploader > > > Project: http://git-wip-us.apache.org/repos/asf/flex

Re: Installer Problems

2017-07-04 Thread Nemi
Installer is not working, again same error: Log end: Unable to download Apache Flex SDK Installation aborted Unable to copy file 3003 Error #3003 Full log: https://ghostbin.com/paste/ztro2 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Installer-Problems

Re: Installer Problems

2017-07-04 Thread piotrz
I need to understand before I asked them. If I use this url [1] I see mirrors, how can it be working in our installer ? When this link is hitted by URLLoader it should return text/plain ? What's wrong with Harb's solution earlier - Maybe for now we could switch back, cause people is trying to use

Re: Installer Problems

2017-07-04 Thread piotrz
Ok I will try to contact with them today on HipChat and ask why we are getting html instead plain text. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62813.html Sent

Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread yishayw
BTW, I noticed Camera is declared with a [Mixin] metatag. What is that? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811p62812.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS] Mobile Depends on Flash 11.4?

2017-07-04 Thread yishayw
I was having a problem building the Mobile package. It was complaining about line 151 in Camera.as which does camera.copyToByteArray(). Looking at the docs [1], it looks like this method became available in flash 11.4 while the build is set to look for flash player 11.1 (under build.properties).

Re: Installer Problems

2017-07-04 Thread Alex Harui
Hi Piotr, Any entry without a full path uses the mirrors. We are required to distribute our latest releases (and only our latest releases) from the mirror system. The links I posted earlier hit the mirror system. Looking at the code some more, those links are supposed to be hit from URLLoader w