Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-06 Thread Josh Tynjala
I have also gotten this error before. I remember that I had to manually set
playerglobal.version (and maybe also playerglobal.swfversion) in my
env.properties to get the build to pass.

- Josh

On Tue, Jul 4, 2017 at 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 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: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-06 Thread Alex Harui
That should be recent enough.  I can't figure out why you got that error
if it used that airglobal.swc.  Maybe there is a clue in the  console
output.

-Alex

On 7/5/17, 10:31 AM, "yishayw"  wrote:

>My AIR_HOME goes to my nightly installation which has Adobe AIR 23.0 SDK.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Mobile-Depends-on-Flash-11-4-
>tp62811p62846.html=02%7C01%7C%7C3ea3ce11a723421b660408d4c3ce30ef%7Cfa
>7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636348737727585984=d4WJ8B8Y
>RjgFrBpqUbGUpgeRi7m%2B0cJrpcMtRRPWWbk%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 Thread yishayw
My AIR_HOME goes to my nightly installation which has Adobe AIR 23.0 SDK.



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


Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 Thread Alex Harui
Interesting.  What is your AIR_HOME set to?  I think it is working for
most folks because AIR_HOME is set to something newer than 3.7.

-Alex

On 7/5/17, 12:06 AM, "yishayw"  wrote:

>I was getting the error when doing ant clean all from flex-asjs. I updated
>build.xml under Mobile to include the snippet you provided. Let me know
>if I
>misunderstood, in which case I'll revert. Not sure what, if at all, needs
>to
>change for the Maven build. Thanks.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Mobile-Depends-on-Flash-11-4-
>tp62811p62840.html=02%7C01%7C%7C66502c6bf9284bb9169208d4c376ef83%7Cfa
>7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636348362983945224=hrX6EL2o
>vCouxWqhHm2ZPgMxgAXvhDnhzDt8Q98XUxs%3D=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 Thread yishayw
I was getting the error when doing ant clean all from flex-asjs. I updated
build.xml under Mobile to include the snippet you provided. Let me know if I
misunderstood, in which case I'll revert. Not sure what, if at all, needs to
change for the Maven build. Thanks.



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


Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 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.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.version must start with 4 in order for FB to accept it.
># intellij seems to want it to be at least 4.6 in order to not use certain
># older plugins that have incompatible Java APIs.  We might as well keep
># the major/minor current with the version of FDB we are borrowing from
># the flex-sdk
># this property should only go in flex-sdk-description.xml  tag
>fb.release.version = 4.14.1
>
># override on command line with -Dbuild.number=999 or in local.properties
>build.number = 0
>
># Flash player version for which player global swc to use
>playerglobal.version = 11.1
>
># AIR version number
>air.version = 14.0
>
>> On Jul 5, 2017, at 9:19 AM, Alex Harui  wrote:
>> 
>> 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 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]
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhelp.ado
>>>be 
>>>>>obe>
>>> 
>>>.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fme
>>>di
>>> 
>>>a%2FCamera.html%23copyToByteArray=02%7C01%7C%7C9957eba96c8347ef1901
>>>08
>>> 
>>>d4c2aee848%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363475038585349
>>>35
>>> =t2FKQyYZBDQzz1E4L6FVOGYTZObeTGuBx3xIMI%2FfXUk%3D=0()
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> 
>>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-f
>>>le 
>>>>>fle>
>>> x-development.247.n4.nabble.com
>>>>>opment.247.n4.nabble.com%2F=02%7C01%7C%7C2ae4650276b3461947dc08
>>>d4c36f6211%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6363483305299484
>>>16=NtbPWx1ixfXzbm3ViAz2hIu9Zt4tEH8kVcSmPoUierQ%3D=0>%2FFl
>>>exJS-Mobile-Depends-on-Flash-11-4-
>>> 
>>>tp62811.html=02%7C01%7C%7C9957eba96c8347ef190108d4c2aee848%7Cfa7b1b
>>>5a
>>> 
>>>7b34438794aed2c178decee1%7C0%7C0%7C636347503858534935=%2BRDJB%2BVo
>>>JU
>>> AqIl1xxh6fniXZ4A5whl%2FFovxyZaaztfg%3D=0
>>> Sent from the Apache Flex Development mailing list archive at
>>>Nabble.com 
>>>>>com%2F=02%7C01%7C%7C2ae4650276b3461947dc08d4c36f6211%7Cfa7b1b5a7b34
>>>438794aed2c178decee1%7C0%7C0%7C636348330529948416=gWaoiD50cLESEnTx
>>>yBDGwsVR8pX8CDOjfSL8UdxZzCY%3D=0>.
>



Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 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.version must start with 4 in order for FB to accept it.
# intellij seems to want it to be at least 4.6 in order to not use certain
# older plugins that have incompatible Java APIs.  We might as well keep
# the major/minor current with the version of FDB we are borrowing from
# the flex-sdk
# this property should only go in flex-sdk-description.xml  tag
fb.release.version = 4.14.1

# override on command line with -Dbuild.number=999 or in local.properties
build.number = 0

# Flash player version for which player global swc to use
playerglobal.version = 11.1

# AIR version number
air.version = 14.0

> On Jul 5, 2017, at 9:19 AM, Alex Harui  wrote:
> 
> 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 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]
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhelp.adobe 
>> 
>> .com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fmedi
>> a%2FCamera.html%23copyToByteArray=02%7C01%7C%7C9957eba96c8347ef190108
>> d4c2aee848%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636347503858534935
>> =t2FKQyYZBDQzz1E4L6FVOGYTZObeTGuBx3xIMI%2FfXUk%3D=0()
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
>> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle 
>> 
>> x-development.247.n4.nabble.com 
>> %2FFlexJS-Mobile-Depends-on-Flash-11-4-
>> tp62811.html=02%7C01%7C%7C9957eba96c8347ef190108d4c2aee848%7Cfa7b1b5a
>> 7b34438794aed2c178decee1%7C0%7C0%7C636347503858534935=%2BRDJB%2BVoJU
>> AqIl1xxh6fniXZ4A5whl%2FFovxyZaaztfg%3D=0
>> Sent from the Apache Flex Development mailing list archive at Nabble.com 
>> .



Re: [FlexJS] Mobile Depends on Flash 11.4?

2017-07-05 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 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]
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhelp.adobe
>.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fmedi
>a%2FCamera.html%23copyToByteArray=02%7C01%7C%7C9957eba96c8347ef190108
>d4c2aee848%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636347503858534935
>=t2FKQyYZBDQzz1E4L6FVOGYTZObeTGuBx3xIMI%2FfXUk%3D=0()
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.247.n4.nabble.com%2FFlexJS-Mobile-Depends-on-Flash-11-4-
>tp62811.html=02%7C01%7C%7C9957eba96c8347ef190108d4c2aee848%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636347503858534935=%2BRDJB%2BVoJU
>AqIl1xxh6fniXZ4A5whl%2FFovxyZaaztfg%3D=0
>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: [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.