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://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62835.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 
then )
5) Go to External Tools Configuration
6) Under just_run_ant and just_run_maven adjust the 'Location:' field so it
matches where your installation directories.

Now assuming you have pom.xml and build.xml in your project you should be
able to run Maven like this:

 then  then  then select just_run_maven, or just_run_ant.

Let me know how it goes.



[1] https://1drv.ms/f/s!AgH-0pVQ5zPPshHHf1qtUuu7pIwc



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62834.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 in case I’m 
missing something.)

Harbs

> On Jul 5, 2017, at 12:00 AM, Harbs  wrote:
> 
> 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 {!Process}
> * @const
> */
> var process;
> 
> However, it seems like a drag to have to add a typedef every time a developer 
> needs to check for the existence of a global that we did not think of.
> 
>> On Jul 4, 2017, at 9:13 PM, Harbs  wrote:
>> 
>> 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 
>> with “typeof”.
>> 
>> Truth be told, I really need to do something like one of these:
>> if(typeof (process) != 'undefined' && {}.toString.call(process) == '[object 
>> process]’)
>> or:
>> if(typeof process != 'undefined' && process && process.constructor.name == 
>> "process”)
>> 
>> Of course every reference to process causes a compiler error. I wonder if 
>> there’s some way to tell the compiler to accept it without complaining…
>> 
>>> On Jul 4, 2017, at 8:54 PM, Josh Tynjala  wrote:
>>> 
>>> 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 did.
>>> 
>>> - Josh
>>> 
>>> On Jul 4, 2017 5:26 AM, "Harbs"  wrote:
>>> 
 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 you to do that and complains that process is an undefined
 property. In the browser you can use window[“process”] == undefined and in
 node you can (theoretically) use global[“process”] == undefined. I can’t
 think of a generic way to do this though.
 
 Thoughts?
 Harbs
>> 
> 



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 {!Process}
 * @const
 */
var process;

However, it seems like a drag to have to add a typedef every time a developer 
needs to check for the existence of a global that we did not think of.

> On Jul 4, 2017, at 9:13 PM, Harbs  wrote:
> 
> 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 
> with “typeof”.
> 
> Truth be told, I really need to do something like one of these:
> if(typeof (process) != 'undefined' && {}.toString.call(process) == '[object 
> process]’)
> or:
> if(typeof process != 'undefined' && process && process.constructor.name == 
> "process”)
> 
> Of course every reference to process causes a compiler error. I wonder if 
> there’s some way to tell the compiler to accept it without complaining…
> 
>> On Jul 4, 2017, at 8:54 PM, Josh Tynjala  wrote:
>> 
>> 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 did.
>> 
>> - Josh
>> 
>> On Jul 4, 2017 5:26 AM, "Harbs"  wrote:
>> 
>>> 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 you to do that and complains that process is an undefined
>>> property. In the browser you can use window[“process”] == undefined and in
>>> node you can (theoretically) use global[“process”] == undefined. I can’t
>>> think of a generic way to do this though.
>>> 
>>> Thoughts?
>>> Harbs
> 



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: [FlexJS] question about porting an Adobe Flex 3 project to HTML+JS

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-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62830.html
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.


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-development.247.n4.nabble.com/FlexJS-question-about-porting-an-Adobe-Flex-3-project-to-HTML-JS-tp62698p62830.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 with 
“typeof”.

Truth be told, I really need to do something like one of these:
if(typeof (process) != 'undefined' && {}.toString.call(process) == '[object 
process]’)
or:
if(typeof process != 'undefined' && process && process.constructor.name == 
"process”)

Of course every reference to process causes a compiler error. I wonder if 
there’s some way to tell the compiler to accept it without complaining…

> On Jul 4, 2017, at 8:54 PM, Josh Tynjala  wrote:
> 
> 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 did.
> 
> - Josh
> 
> On Jul 4, 2017 5:26 AM, "Harbs"  wrote:
> 
>> 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 you to do that and complains that process is an undefined
>> property. In the browser you can use window[“process”] == undefined and in
>> node you can (theoretically) use global[“process”] == undefined. I can’t
>> think of a generic way to do this though.
>> 
>> Thoughts?
>> Harbs



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 did.

- Josh

On Jul 4, 2017 5:26 AM, "Harbs"  wrote:

> 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 you to do that and complains that process is an undefined
> property. In the browser you can use window[“process”] == undefined and in
> node you can (theoretically) use global[“process”] == undefined. I can’t
> think of a generic way to do this though.
>
> Thoughts?
> Harbs


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://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62824.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



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?
>
>
>
> --
> 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.
>


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 Development mailing list archive at Nabble.com.


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/Installer-Problems-tp62791p62823.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 in context: http://apache-flex-
> development.247.n4.nabble.com/Installer-Problems-tp62791p62817.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


[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 you to do that and complains that process is an undefined property. In 
the browser you can use window[“process”] == undefined and in node you can 
(theoretically) use global[“process”] == undefined. I can’t think of a generic 
way to do this though.

Thoughts?
Harbs

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 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-asjs/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e083f6ab
> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e083f6ab
> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e083f6ab
>
> Branch: refs/heads/develop
> Commit: e083f6ab14acafd07fad8fa2b1827a931cefb4fd
> Parents: f110816
> Author: DESKTOP-RH4S838\Yishay 
> Authored: Tue Jul 4 14:14:33 2017 +0300
> Committer: DESKTOP-RH4S838\Yishay 
> Committed: Tue Jul 4 14:14:33 2017 +0300
>
> --
>  .../org/apache/flex/file/beads/FileBrowser.as   |  1 -
>  .../org/apache/flex/file/beads/FileLoader.as|  4 +-
>  .../org/apache/flex/file/beads/FileModel.as | 32 +++
>  .../org/apache/flex/file/beads/FileUploader.as  | 98 
>  .../flex/org/apache/flex/net/BinaryUploader.as  | 13 ++-
>  .../src/main/resources/basic-manifest.xml   |  2 +
>  6 files changed, 144 insertions(+), 6 deletions(-)
> --
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileBrowser.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileBrowser.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> index 029cf97..5d48c00 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> @@ -32,7 +32,6 @@ package org.apache.flex.file.beads
> import org.apache.flex.events.Event;
> import org.apache.flex.core.WrappedHTMLElement;
> import goog.events;
> -
> }
>
> /**
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileLoader.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> index f49fb87..0110719 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> @@ -17,14 +17,12 @@
>  
> 
>  package org.apache.flex.file.beads
>  {
> -   import flash.events.Event;
> -
> import org.apache.flex.core.IBead;
> import org.apache.flex.core.IStrand;
> import org.apache.flex.file.FileProxy;
> import org.apache.flex.utils.BinaryData;
>
> -   COMPILE::JS
> +   COMPILE::SWF
> {
> import flash.events.Event;
> }
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileModel.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileModel.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> index bddbb09..fa5b314 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> @@ -19,7 +19,9 @@ package org.apache.flex.file.beads
>  {
> import org.apache.flex.core.IBeadModel;
> import org.apache.flex.core.IStrand;
> +   import org.apache.flex.events.Event;
> import org.apache.flex.events.EventDispatcher;
> +   import org.apache.flex.utils.BinaryData;
>
> COMPILE::SWF
> {
> @@ -40,6 +42,7 @@ package org.apache.flex.file.beads
> public class FileModel extends EventDispatcher implements
> IBeadModel
> {
> private var _strand:IStrand;
> +   private var _blob:BinaryData;
> COMPILE::SWF
>  

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
> --
> View this message in context: 
> http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62817.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.



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 Flex Development mailing list archive at Nabble.com.


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-asjs/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/e083f6ab
> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/e083f6ab
> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/e083f6ab
>
> Branch: refs/heads/develop
> Commit: e083f6ab14acafd07fad8fa2b1827a931cefb4fd
> Parents: f110816
> Author: DESKTOP-RH4S838\Yishay 
> Authored: Tue Jul 4 14:14:33 2017 +0300
> Committer: DESKTOP-RH4S838\Yishay 
> Committed: Tue Jul 4 14:14:33 2017 +0300
>
> --
>  .../org/apache/flex/file/beads/FileBrowser.as   |  1 -
>  .../org/apache/flex/file/beads/FileLoader.as|  4 +-
>  .../org/apache/flex/file/beads/FileModel.as | 32 +++
>  .../org/apache/flex/file/beads/FileUploader.as  | 98 
>  .../flex/org/apache/flex/net/BinaryUploader.as  | 13 ++-
>  .../src/main/resources/basic-manifest.xml   |  2 +
>  6 files changed, 144 insertions(+), 6 deletions(-)
> --
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileBrowser.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileBrowser.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> index 029cf97..5d48c00 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileBrowser.as
> @@ -32,7 +32,6 @@ package org.apache.flex.file.beads
> import org.apache.flex.events.Event;
> import org.apache.flex.core.WrappedHTMLElement;
> import goog.events;
> -
> }
>
> /**
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileLoader.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileLoader.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> index f49fb87..0110719 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileLoader.as
> @@ -17,14 +17,12 @@
>  
> 
>  package org.apache.flex.file.beads
>  {
> -   import flash.events.Event;
> -
> import org.apache.flex.core.IBead;
> import org.apache.flex.core.IStrand;
> import org.apache.flex.file.FileProxy;
> import org.apache.flex.utils.BinaryData;
>
> -   COMPILE::JS
> +   COMPILE::SWF
> {
> import flash.events.Event;
> }
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/
> e083f6ab/frameworks/projects/Network/src/main/flex/org/
> apache/flex/file/beads/FileModel.as
> --
> diff --git 
> a/frameworks/projects/Network/src/main/flex/org/apache/flex/file/beads/FileModel.as
> b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> index bddbb09..fa5b314 100644
> --- a/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> +++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/
> file/beads/FileModel.as
> @@ -19,7 +19,9 @@ package org.apache.flex.file.beads
>  {
> import org.apache.flex.core.IBeadModel;
> import org.apache.flex.core.IStrand;
> +   import org.apache.flex.events.Event;
> import org.apache.flex.events.EventDispatcher;
> +   import org.apache.flex.utils.BinaryData;
>
> COMPILE::SWF
> {
> @@ -40,6 +42,7 @@ package org.apache.flex.file.beads
> public class FileModel extends EventDispatcher implements
> IBeadModel
> {
> private var _strand:IStrand;
> +   private var _blob:BinaryData;
> COMPILE::SWF
> {
> private var _data:FileReference;
> @@ -152,5 +155,34 @@ package org.apache.flex.file.beads
> _strand = value;
> }
>
> +   /**
> +* @private
> +*/

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-tp62791p62815.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 FlexJS. I saw one comment from someone
on FB that he skipped using FlexJS cause he couldn't even download it.

[1]
https://flex.apache.org/single-mirror-url--xml.cgi/flex/flexjs/0.8.0/apache-flex-flexjs-0.8.0-bin.zip

Piotr





-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62814.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 from the Apache Flex Development mailing list archive at Nabble.com.


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). 

So I changed to flash 25.0 and rebuilt, and Mobile passed. The funny thing
is that after changing back to 11.1, the build now passes.

In short, it looks to me like the flash player requirement should be updated
to 11.4.

What do you guys think?

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Camera.html#copyToByteArray()




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Mobile-Depends-on-Flash-11-4-tp62811.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


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 with a
request for text/plain and I think we are getting text/html instead.

I have to stop for today, but if folks have time and can confirm the above
with a network monitor we can maybe ask Infra why we aren't getting
text/plain.

-Alex

On 7/3/17, 10:50 PM, "piotrz"  wrote:

>Alex,
>
>Today I tried again installer with Adobe Air 23 and it is again failed
>with
>same problem [1]. 
>
>Why we have in sdk-installer-config-4.0.xml this line instead of full http
>path ?
>
>file="apache-flex-flexjs-0.8.0-bin"/>
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FzHDR=02%7C01%7C%7C04c497075f2f4675246808d4c2a32eab%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636347453504315575=aG%2Bqc%2FAQ
>bwhfC5e9EdOtbyETrkoFcmHhMtC94%2BnLGq4%3D=0
>
>Thanks,
>Piotr
>
>
>
>-
>Apache Flex PMC
>piotrzarzyck...@gmail.com
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FInstaller-Problems-tp62791p62807.htm
>l=02%7C01%7C%7C04c497075f2f4675246808d4c2a32eab%7Cfa7b1b5a7b34438794a
>ed2c178decee1%7C0%7C0%7C636347453504315575=wHT6VAtUodRlXkhN6%2FQ0Wto
>mVcnG6FneoP5GZdoz880%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: TLF Branch merged back

2017-07-04 Thread Harbs
BTW:

Sorry for forgetting to merge Falcon as well and thanks Alex for taking care of 
it.

> On Jul 3, 2017, at 4:41 PM, Harbs  wrote:
> 
> I just merged the TLF branch back into develop.
> 
> TLF is still “alpha quality”, so unless you do a LOT of custom work on a 
> proprietary text engine, it’s not going to be very useful. However, it’s 
> already useful to me, so it might be useful to someone else.
> 
> I might keep the TLF branch live in case I make any major changes there, but 
> I’m not sure yet. Either way, most of my commits will be going into develop 
> at this point.
> 
> Speaking of branches:
> I’m not sure what we decided vis a vis feature branches. I think we were 
> supposed to be focusing on development on feature branches and merging those 
> in when a feature is complete. Is that right?
> 
> Harbs



Re: TLF Branch merged back

2017-07-04 Thread piotrz
Hi Harbs,

After your merge I see in Maven build [1] some strange things like that [2].
I think it caused by 

CONFIG::debug

It is strange that Maven didn't failed. Could you look into that once you
get a chance.

[1] https://builds.apache.org/job/FlexJS%20Framework%20(maven)/1020/console
[2] https://paste.apache.org/AKeG

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-Branch-merged-back-tp62779p62808.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Installer Problems

2017-07-04 Thread piotrz
Alex,

Today I tried again installer with Adobe Air 23 and it is again failed with
same problem [1]. 

Why we have in sdk-installer-config-4.0.xml this line instead of full http
path ?



[1] https://paste.apache.org/zHDR

Thanks,
Piotr



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Installer-Problems-tp62791p62807.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.