Re: Adobe has announced the end-of-life of the Flash Player

2017-08-14 Thread Clint M
I remember reading that browsers won't be supporting after that.

On Mon, Aug 14, 2017 at 6:19 AM, Deepak MS  wrote:

> Let's say Adobe releases final version of flash player version 35 for
> instance, by end of 2019, without further maintenance or development of the
> plugin. Will this version continue to stay forever, whether or not users
> want to use it or is it that flash player will be blocked by browsers
> themselves? It isn't clear in the article. Or did I miss it?
>
>
>
> On Wed, Jul 26, 2017 at 1:32 AM, Nicholas Kwiatkowski <
> nicholaskwiatkow...@gmail.com> wrote:
>
> > Looks like we have a date :
> >
> > https://blogs.adobe.com/conversations/2017/07/adobe-flash-update.html
> >
> > -Nick
> >
>


Re: Flex as an operating system

2016-12-08 Thread Clint M
RIM used it as a front end on top of QNX for the Playbook. (AIR Based)

http://www.adobe.com/devnet/devices/articles/blackberry-difference.html

On Thu, Dec 8, 2016 at 7:16 AM, flex capacitor 
wrote:

> Was Flex going to be an operating system at some point? The way it's setup
> allows you to load multiple applications into a system manager. Each of
> those applications can be moved and sized. Pop ups appear over all of them
> and they each have their own invalidation cycle. Was there ever a plan for
> FlexOS?
>


Re: Slow performance > 1000 objects

2016-12-08 Thread Clint M
instead of list.addChild you might want to have a look at using an mx:List
or s:List with useVirtualLayout for that many items

On Thu, Dec 8, 2016 at 9:54 AM, gmanupnorth  wrote:

> This piece of code is causing significant lag in our UI and was looking for
> suggestions on how to improve it. This builds up a list of approx 1400
> items
> and takes 35-50 seconds to finish.
>
>
> AssetTreeChild is a custom component based on the VBOX AssetTreeChild.mxml
>  AssetTreeChild.mxml>
>
>
> public function setAgentItem(value:SmartAgentVO):void
> {
> this.agentItem = value;
> if ( value.Children!=null &&
> value.Children.length>0 )
> {
> var assetComp:AssetTreeChild;
> for each ( var item:SmartAgentVO
> in value.Children )
> {
> assetComp = new
> AssetTreeChild();
> list.addChild(assetComp);
>
> assetComp.setAgentItem(item);
> assetComp.setStyle("
> textIndent",7);
> }
> }
> }
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/Slow-performance-1000-
> objects-tp57076.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: [FlexJS] Problems with custom events in IE11

2017-01-17 Thread Clint M
Thought this might help.
http://caniuse.com/#feat=customevent
If you click the "Show All" button on the link you can see a broader range
of device support.

On Tue, Jan 17, 2017 at 1:55 PM, Alex Harui  wrote:

> Hi Piotr,
>
> Thanks for working on it.  I'm wondering, is the "old way" of
> createEvent/initEvent not work in some browsers?  Otherwise, we should
> just use that one code path.  And if I understand correctly that only IE
> doesn't support "new Event", then we should remember to re-visit this code
> in the future and make it more PAYG.
>
> What you have is fine for now.  My current thought is that we'd add an
> "inject_html_ie" capability that would add in certain code if the app is
> targeting IE.  And that code would replace the EventUtil from one that
> just does "new Event" to the one you have now.
>
> Thoughts?
> -Alex
>
> On 1/17/17, 1:42 PM, "piotrz"  wrote:
>
> >I think I have fixed event creation. Now everything is working in IE11 :)
> >
> >I've introduced util for JS events creation ->
> >
> >org.apache.flex.events.utils.EventUtils
> >- createEvent
> >- createMouseEvent
> >
> >Piotr
> >
> >
> >
> >-
> >Apache Flex PMC
> >piotrzarzyck...@gmail.com
> >--
> >View this message in context:
> >http://apache-flex-development.247.n4.nabble.
> com/FlexJS-Problems-with-
> >custom-events-in-IE11-tp58387p58406.html
> >Sent from the Apache Flex Development mailing list archive at Nabble.com.
>
>


Re: source forge downloads failing

2017-02-06 Thread Clint M
Would it be fine to use non https? This seems to work:
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/frameworks/libs/OSMF2_0.swc?format=raw

On Mon, Feb 6, 2017 at 4:29 AM, Justin Mclean 
wrote:

> Hi,
>
> Just trying to make a new Flex SDK RC and we’re getting every source forge
> download failing :-(
>
> Curl  with same URLs works as does the URL in a browser so it seems to be
> an ant / java issue.
>
> For instance:
>
> download-osmf-swc:
>   [get] Getting: https://sourceforge.net/adobe/
> flexsdk/code/HEAD/tree/trunk/frameworks/libs/OSMF2_0.swc?format=raw
>   [get] To: /Users/justinmclean/Documents/ApacheFlex4.16/in/osmf.swc
>   [get] Error getting https://sourceforge.net/adobe/
> flexsdk/code/HEAD/tree/trunk/frameworks/libs/OSMF2_0.swc?format=raw to
> /Users/justinmclean/Documents/ApacheFlex4.16/in/osmf.swc
>
> But this works fine:
> curl https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/
> frameworks/libs/OSMF2_0.swc?format=raw > /Users/justinmclean/Documents/
> ApacheFlex4.16/in/osmf.swc
>
> It looks like https is broken as if you remove ignoreerrors=“true” from
> the ant call you get:
>
> /Users/justinmclean/Documents/ApacheFlex4.16/frameworks/downloads.xml:113:
> javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure
>
> It may be possible to fix this error by added the source forge certificate
> to the certificate store but this adds complexity in building / validating
> the RC. Any other ideas?
>
> Thanks,
> Justin


Re: ArrayElementType?

2017-03-02 Thread Clint M
It's in the docs:
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#WS2db454920e96a9e51e63e3d11c0bf69084-7a2c

ArrayElementType metadata tag

When you define an Array variable in ActionScript, you specify Array as the
data type of the variable. However, you cannot specify the data type of the
elements of the Array.

To allow the Flex MXML compiler to perform type checking on Array elements,
you can use the [ArrayElementType] metadata tag to specify the allowed data
type of the Array elements, as the following example shows:

public class MyTypedArrayComponent extends VBox {

[ArrayElementType("String")]
public var newStringProperty:Array;

[ArrayElementType("Number")]
public var newNumberProperty:Array;
...
}
Note: The MXML compiler checks for proper usage of the Array only in MXML
code; it does not check Array usage in ActionScript code.
In this example, you specify String as the allowed data type of the Array
elements. If a user attempts to assign elements of a data type other than
String to the Array in an MXML file, the compiler issues a syntax error, as
the following example shows:



94062
14850
53402


In this example, you try to use Number objects to initialize the Array, so
the compiler issues an error.

You can also specify Array properties as tag attributes, rather than using
child tags, as the following example shows:


This MXML code generates an error because Flex cannot convert the Strings
"abc" and "def" to a Number.

You insert the [ArrayElementType] metadata tag before the variable
definition. The tag has the following syntax:

[ArrayElementType("elementType")]
The following table describes the property of the [ArrayElementType]
metadata tag:

Property

Type

Description

elementType
String

Specifies the data type of the Array elements, and can be one of the
ActionScript data types, such as String, Number, class, or interface.

You must specify the type as a fully qualified class name, including the
package.

On Thu, Mar 2, 2017 at 6:10 AM, Harbs  wrote:

> I just noticed a few places in TLF where we have such metadata. For
> example:
>
> [ ArrayElementType("text.elements.TextFlowLine") ]
> private var _lines:Array;
>
> Does anyone know what that does?
>


Re: massive memory leak in Flex

2017-03-02 Thread Clint M
databinding is static at the application level… at least the way you're
doing it via curly braces… and the renderers will leak

try using this in the item renderer instead of text="{data}" and see if
that fixes the problem :

override public function set data(value:Object):void {
  mylabelId.text = data
}

On Thu, Mar 2, 2017 at 3:50 PM, Jason Taylor  wrote:

> This is all the code needed to cause it, and no it does not appear to
> stop, though I will need to run it for awhile to blow all my memory in this
> comp.
>
>
> 
> http://ns.adobe.com/mxml/2009";
> xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="
> OnCreationComplete(event)">
> 
> 
> 
>
>
>
> -Original Message-
> From: Alex Harui [mailto:aha...@adobe.com]
> Sent: Thursday, March 02, 2017 3:47 PM
> To: dev@flex.apache.org
> Subject: Re: massive memory leak in Flex
>
> Jason, we aren't seeing all of the code.  Can you put all of the code in a
> JIRA issue?
>
> There is a notion of outrunning GC.  And also memory fragmentation.  How
> high does memory go?  Does it cap out or will it blow up for lack of memory
> at some point?
>
> Thanks,
> -Alex
>
> On 3/2/17, 3:39 PM, "Jason Taylor"  wrote:
>
> >yeah you can remove that, right now mine is just
> >
> >
> >http://ns.adobe.com/mxml/2009";
> >xmlns:s="library://ns.adobe.com/flex/spark"
> >xmlns:Core="CoreClasses.*">
> >
> >
> >
> >where MyLabel is a copy of s:label so I can make changes and try to
> >figure out where the hell this is coming from, appears to be deep in
> >TLF
> >
> >-Original Message-
> >From: Justin Mclean [mailto:jus...@classsoftware.com]
> >Sent: Thursday, March 02, 2017 3:38 PM
> >To: dev@flex.apache.org
> >Subject: Re: massive memory leak in Flex
> >
> >Hi,
> >
> >What's the code for your TestItemRenderer? If you remove that does it
> >act the same?
> >
> >Thanks,
> >Justin
>
>


Re: massive memory leak in Flex

2017-03-02 Thread Clint M
Can't repro with the code in the original post… here's a video of it
running for 60 seconds.

http://www.screencast.com/t/mPFMIdKQMK

On Thu, Mar 2, 2017 at 4:17 PM, Jason Taylor  wrote:

> Yeap task manager keeps climbing as well
>
> -Original Message-
> From: Alex Harui [mailto:aha...@adobe.com]
> Sent: Thursday, March 02, 2017 4:07 PM
> To: dev@flex.apache.org
> Subject: Re: massive memory leak in Flex
>
> Scout only reports certain player memory zones.  Hopefully TaskManager has
> a higher number?  If you got past 1GB then it probably isn't capped.
>
> -Alex
>
> On 3/2/17, 3:56 PM, "Jason Taylor"  wrote:
>
> >Tried 4.13, 14, and 15, but I have a weird feeling scout is a dirty
> >Liar
> >
> >-Original Message-
> >From: Alex Harui [mailto:aha...@adobe.com]
> >Sent: Thursday, March 02, 2017 3:54 PM
> >To: dev@flex.apache.org
> >Subject: Re: massive memory leak in Flex
> >
> >OK Thanks.  Sounds like Justin may be digging into it, so I'll wait
> >until he reports in.  Which version of Apache Flex are you using?  Have
> >you tried Adobe Flex 4.6?
> >
> >-Alex
> >
> >On 3/2/17, 3:50 PM, "Jason Taylor"  wrote:
> >
> >>This is all the code needed to cause it, and no it does not appear to
> >>stop, though I will need to run it for awhile to blow all my memory in
> >>this comp.
> >>
> >>
> >>
> >>http://ns.adobe.com/mxml/2009";
> >>xmlns:s="library://ns.adobe.com/flex/spark"
> >>creationComplete="OnCreationComplete(event)">
> >>
> >>
> >>
> >>
> >>
> >>
> >>-Original Message-
> >>From: Alex Harui [mailto:aha...@adobe.com]
> >>Sent: Thursday, March 02, 2017 3:47 PM
> >>To: dev@flex.apache.org
> >>Subject: Re: massive memory leak in Flex
> >>
> >>Jason, we aren't seeing all of the code.  Can you put all of the code
> >>in a JIRA issue?
> >>
> >>There is a notion of outrunning GC.  And also memory fragmentation.
> >>How high does memory go?  Does it cap out or will it blow up for lack
> >>of memory at some point?
> >>
> >>Thanks,
> >>-Alex
> >>
> >>On 3/2/17, 3:39 PM, "Jason Taylor"  wrote:
> >>
> >>>yeah you can remove that, right now mine is just
> >>>
> >>>
> >>>http://ns.adobe.com/mxml/2009";
> >>>xmlns:s="library://ns.adobe.com/flex/spark"
> >>>xmlns:Core="CoreClasses.*">
> >>>
> >>>
> >>>
> >>>where MyLabel is a copy of s:label so I can make changes and try to
> >>>figure out where the hell this is coming from, appears to be deep in
> >>>TLF
> >>>
> >>>-Original Message-
> >>>From: Justin Mclean [mailto:jus...@classsoftware.com]
> >>>Sent: Thursday, March 02, 2017 3:38 PM
> >>>To: dev@flex.apache.org
> >>>Subject: Re: massive memory leak in Flex
> >>>
> >>>Hi,
> >>>
> >>>What's the code for your TestItemRenderer? If you remove that does it
> >>>act the same?
> >>>
> >>>Thanks,
> >>>Justin
> >>
> >
>
>


Re: massive memory leak in Flex

2017-03-02 Thread Clint M
here's a video of it running in scout
http://www.screencast.com/t/S5SHGLiskRN

didn't leak… are you using advanced-telemetry ?

On Thu, Mar 2, 2017 at 4:24 PM, Jason Taylor  wrote:

> Yeah, it looks like it may be an artifact of scout somehow
>
> -Original Message-----
> From: Clint M [mailto:cmod...@gmail.com]
> Sent: Thursday, March 02, 2017 4:24 PM
> To: dev@flex.apache.org
> Subject: Re: massive memory leak in Flex
>
> Can't repro with the code in the original post… here's a video of it
> running for 60 seconds.
>
> http://www.screencast.com/t/mPFMIdKQMK
>
> On Thu, Mar 2, 2017 at 4:17 PM, Jason Taylor  wrote:
>
> > Yeap task manager keeps climbing as well
> >
> > -Original Message-
> > From: Alex Harui [mailto:aha...@adobe.com]
> > Sent: Thursday, March 02, 2017 4:07 PM
> > To: dev@flex.apache.org
> > Subject: Re: massive memory leak in Flex
> >
> > Scout only reports certain player memory zones.  Hopefully TaskManager
> > has a higher number?  If you got past 1GB then it probably isn't capped.
> >
> > -Alex
> >
> > On 3/2/17, 3:56 PM, "Jason Taylor"  wrote:
> >
> > >Tried 4.13, 14, and 15, but I have a weird feeling scout is a dirty
> > >Liar
> > >
> > >-Original Message-
> > >From: Alex Harui [mailto:aha...@adobe.com]
> > >Sent: Thursday, March 02, 2017 3:54 PM
> > >To: dev@flex.apache.org
> > >Subject: Re: massive memory leak in Flex
> > >
> > >OK Thanks.  Sounds like Justin may be digging into it, so I'll wait
> > >until he reports in.  Which version of Apache Flex are you using?
> > >Have you tried Adobe Flex 4.6?
> > >
> > >-Alex
> > >
> > >On 3/2/17, 3:50 PM, "Jason Taylor"  wrote:
> > >
> > >>This is all the code needed to cause it, and no it does not appear
> > >>to stop, though I will need to run it for awhile to blow all my
> > >>memory in this comp.
> > >>
> > >>
> > >>
> > >>http://ns.adobe.com/mxml/2009";
> > >>xmlns:s="library://ns.adobe.com/flex/spark"
> > >>creationComplete="OnCreationComplete(event)">
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>-Original Message-
> > >>From: Alex Harui [mailto:aha...@adobe.com]
> > >>Sent: Thursday, March 02, 2017 3:47 PM
> > >>To: dev@flex.apache.org
> > >>Subject: Re: massive memory leak in Flex
> > >>
> > >>Jason, we aren't seeing all of the code.  Can you put all of the
> > >>code in a JIRA issue?
> > >>
> > >>There is a notion of outrunning GC.  And also memory fragmentation.
> > >>How high does memory go?  Does it cap out or will it blow up for
> > >>lack of memory at some point?
> > >>
> > >>Thanks,
> > >>-Alex
> > >>
> > >>On 3/2/17, 3:39 PM, "Jason Taylor"  wrote:
> > >>
> > >>>yeah you can remove that, right now mine is just
> > >>>
> > >>>
> > >>>http://ns.adobe.com/mxml/2009";
> > >>>xmlns:s="library://ns.adobe.com/flex/spark"
> > >>>xmlns:Core="CoreClasses.*">
> > >>>
> > >>>
> > >>>
> > >>>where MyLabel is a copy of s:label so I can make changes and try to
> > >>>figure out where the hell this is coming from, appears to be deep
> > >>>in TLF
> > >>>
> > >>>-Original Message-
> > >>>From: Justin Mclean [mailto:jus...@classsoftware.com]
> > >>>Sent: Thursday, March 02, 2017 3:38 PM
> > >>>To: dev@flex.apache.org
> > >>>Subject: Re: massive memory leak in Flex
> > >>>
> > >>>Hi,
> > >>>
> > >>>What's the code for your TestItemRenderer? If you remove that does
> > >>>it act the same?
> > >>>
> > >>>Thanks,
> > >>>Justin
> > >>
> > >
> >
> >
>


Re: massive memory leak in Flex

2017-03-02 Thread Clint M
it didn't leak using advanced-telemetry either… it didn't leak with a
custom renderer with curly binding either… probably because spark lists
recycle item renderers by default

On Thu, Mar 2, 2017 at 4:29 PM, Clint M  wrote:

> here's a video of it running in scout
> http://www.screencast.com/t/S5SHGLiskRN
>
> didn't leak… are you using advanced-telemetry ?
>
> On Thu, Mar 2, 2017 at 4:24 PM, Jason Taylor  wrote:
>
>> Yeah, it looks like it may be an artifact of scout somehow
>>
>> -Original Message-
>> From: Clint M [mailto:cmod...@gmail.com]
>> Sent: Thursday, March 02, 2017 4:24 PM
>> To: dev@flex.apache.org
>> Subject: Re: massive memory leak in Flex
>>
>> Can't repro with the code in the original post… here's a video of it
>> running for 60 seconds.
>>
>> http://www.screencast.com/t/mPFMIdKQMK
>>
>> On Thu, Mar 2, 2017 at 4:17 PM, Jason Taylor  wrote:
>>
>> > Yeap task manager keeps climbing as well
>> >
>> > -Original Message-
>> > From: Alex Harui [mailto:aha...@adobe.com]
>> > Sent: Thursday, March 02, 2017 4:07 PM
>> > To: dev@flex.apache.org
>> > Subject: Re: massive memory leak in Flex
>> >
>> > Scout only reports certain player memory zones.  Hopefully TaskManager
>> > has a higher number?  If you got past 1GB then it probably isn't capped.
>> >
>> > -Alex
>> >
>> > On 3/2/17, 3:56 PM, "Jason Taylor"  wrote:
>> >
>> > >Tried 4.13, 14, and 15, but I have a weird feeling scout is a dirty
>> > >Liar
>> > >
>> > >-Original Message-
>> > >From: Alex Harui [mailto:aha...@adobe.com]
>> > >Sent: Thursday, March 02, 2017 3:54 PM
>> > >To: dev@flex.apache.org
>> > >Subject: Re: massive memory leak in Flex
>> > >
>> > >OK Thanks.  Sounds like Justin may be digging into it, so I'll wait
>> > >until he reports in.  Which version of Apache Flex are you using?
>> > >Have you tried Adobe Flex 4.6?
>> > >
>> > >-Alex
>> > >
>> > >On 3/2/17, 3:50 PM, "Jason Taylor"  wrote:
>> > >
>> > >>This is all the code needed to cause it, and no it does not appear
>> > >>to stop, though I will need to run it for awhile to blow all my
>> > >>memory in this comp.
>> > >>
>> > >>
>> > >>
>> > >>http://ns.adobe.com/mxml/2009";
>> > >>xmlns:s="library://ns.adobe.com/flex/spark"
>> > >>creationComplete="OnCreationComplete(event)">
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>-Original Message-
>> > >>From: Alex Harui [mailto:aha...@adobe.com]
>> > >>Sent: Thursday, March 02, 2017 3:47 PM
>> > >>To: dev@flex.apache.org
>> > >>Subject: Re: massive memory leak in Flex
>> > >>
>> > >>Jason, we aren't seeing all of the code.  Can you put all of the
>> > >>code in a JIRA issue?
>> > >>
>> > >>There is a notion of outrunning GC.  And also memory fragmentation.
>> > >>How high does memory go?  Does it cap out or will it blow up for
>> > >>lack of memory at some point?
>> > >>
>> > >>Thanks,
>> > >>-Alex
>> > >>
>> > >>On 3/2/17, 3:39 PM, "Jason Taylor"  wrote:
>> > >>
>> > >>>yeah you can remove that, right now mine is just
>> > >>>
>> > >>>
>> > >>>http://ns.adobe.com/mxml/2009";
>> > >>>xmlns:s="library://ns.adobe.com/flex/spark"
>> > >>>xmlns:Core="CoreClasses.*">
>> > >>>
>> > >>>
>> > >>>
>> > >>>where MyLabel is a copy of s:label so I can make changes and try to
>> > >>>figure out where the hell this is coming from, appears to be deep
>> > >>>in TLF
>> > >>>
>> > >>>-Original Message-
>> > >>>From: Justin Mclean [mailto:jus...@classsoftware.com]
>> > >>>Sent: Thursday, March 02, 2017 3:38 PM
>> > >>>To: dev@flex.apache.org
>> > >>>Subject: Re: massive memory leak in Flex
>> > >>>
>> > >>>Hi,
>> > >>>
>> > >>>What's the code for your TestItemRenderer? If you remove that does
>> > >>>it act the same?
>> > >>>
>> > >>>Thanks,
>> > >>>Justin
>> > >>
>> > >
>> >
>> >
>>
>
>


Re: WebAsm?

2017-03-13 Thread Clint M
might be best to make this a new thread

On Mon, Mar 13, 2017 at 3:05 PM, Gary Yang  wrote:

> I am curious, what do you guys think about Flash Player and Flash
> Platform's situation today? is it better or worse than expected 5/6 years
> ago?
>
>


Re: Adding AIR/FP 20 Beta support to Installer

2015-12-08 Thread Clint M
Looks like AIR 20 was released last night.

On Wed, Nov 11, 2015 at 5:18 PM, OmPrakash Muppirala 
wrote:

> Looks like that worked.  I now have the 4.14.1 with AIR 20 beta on my
> machine.
>
> Thanks,
> Om
>
> On Wed, Nov 11, 2015 at 4:18 PM, Alex Harui  wrote:
>
> > And get rid of the versionID attribute.
> >
> > On 11/11/15, 4:16 PM, "omup...@gmail.com on behalf of OmPrakash
> Muppirala"
> >  wrote:
> >
> > >In this case, there is only the beta version of AIR 20.  So, I remove
> the
> > >b
> > >from the id attribute?
> > >
> > >For example:
> > > > >versionID="20.0b" displayVersion="20.0 Beta"
> > >cacheID="bf9d722-51fc25cd2f940" cacheID2="cce1299-5060db73b1f80">
> > >
> > >becomes:
> > >
> > >
> > > > >versionID="20.0b" displayVersion="20.0 Beta"
> > >cacheID="bf9d722-51fc25cd2f940" cacheID2="cce1299-5060db73b1f80">
> > >
> > >Is that the only change required?
> > >
> > >Thanks,
> > >Om
> > >
> > >On Wed, Nov 11, 2015 at 4:10 PM, Alex Harui  wrote:
> > >
> > >> IIRC, there two different patterns.  If there is both a release
> version
> > >> and beta version with the same version number the you use versionID
> and
> > >> the “b” tags in the ids.  If there is just a beta version you don’t
> use
> > >> versionID and the other ids don’t have the ‘b’.
> > >>
> > >> On 11/11/15, 3:02 PM, "omup...@gmail.com on behalf of OmPrakash
> > >>Muppirala"
> > >>  wrote:
> > >>
> > >> >I have just committed a change:
> > >> >
> > >>
> > >>
> >
> http://svn.apache.org/viewvc/flex/site/trunk/content/installer/sdk-instal
> > >>l
> > >> >er-config-4.0.xml?r1=1713946&r2=1713945&pathrev=1713946
> > >> >
> > >> >Alex ,or others who are familiar with this process, can you please
> > >>verify
> > >> >if everything looks good?
> > >> >
> > >> >If so, I can push the update live and test it.
> > >> >
> > >> >Thanks,
> > >> >Om
> > >>
> > >>
> >
> >
>


Re: Debug Failing on iOS after updating to AIR 20

2016-02-12 Thread Clint M
Flash Builder will append .debug to your application id to be
com.yourdomain.yourapp.debug

That's usually why I've seen that if everything else looks ok.


On Fri, Feb 12, 2016 at 3:51 AM, Paul Moreau  wrote:

> Hi folks,
>
> I wouldn't normally do this but I've tried google / stack overflow to no
> avail.
>
> I recently downloaded Flex 4.15.0 AIR 20.0 but haven't been able to use it
> with my Flex mobile app project as whenever I try and debug to an iOS
> device I get the attached error message saying
> "Application Verification Failed".
>
> I know my certificate & provisioning profile are OK as Ive been using them
> for a while and as soon as I compile using the previous Flex SDK it builds
> fine again.
>
> Builds fine on to Android devices.
>
> Can anyone assist please?
>
> Thanks,
>
> Paul
>
> --
>
>
>
>
>
>
> *DISCLAIMER: This electronic message together with any attachments is
> confidential. If you are not the intended recipient, do not copy, disclose
> or use the contents in any way. Please also advise us by return e-mail that
> you have received the message and then please destroy. Zutec  Ltd is not
> responsible for any changes made to this message and / or any attachments
> after sending by Zutec. We use virus scanning software but exclude all
> liability for viruses or anything similar in this email or any attachment.*
>


Re: iOS This build is invalid

2016-02-19 Thread Clint M
Hi... I just went through the headache of upgrading an older Flex mobile
app.

What are the versions of everything you're trying to build with?

Operatin System + version:
Flex SDK + version:
AIR SDK + version:
Does it have an ANE:
What version of XCode + IOS SDK:
What version of Java:

On Thu, Feb 18, 2016 at 7:00 AM, Pipsisewah  wrote:

> Hello,
>
> I am having a problem uploading my app to the App Store.  The app was
> created with Flex years ago and I have had no problems updating it in the
> past.  It has been almost a year since the last update and since then, the
> certificate on iTunesConnect had expired and I had changed PCs so my old
> SDKs were not installed anymore.
>
> I first needed to create the new SDK so I could compile.  I did this by
> following the steps listed here:
> SDK:
> https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
>
> Later, when things still didnt work, I also updated the compiler using the
> steps listed here:
> Compiler:
> https://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
>
> I went through the standard process of creating a new certificate,
> provisioning file, etc. using iTunes connect and a Mac.  I created a
> Development certificate and a Distribution certificate.  I tested the
> Development certificate on a local iPad and it worked fine.
>
> I built the app using the Distribution certificate and uploaded it using
> ApplicationLoader.  The upload was successful, but when I went onto
> iTunesConnect, it stated "This build is invalid".
>
> I have tried using my old SDK/Compilers (as long as they are 64bit and
> above) with no luck.  I also built new ones using AIR 15, 20, and 21.
>
> I have contacted Apple to ask what the error was but they cannot see
> anything on their end.  Any insight into why this would be happening would
> be greatly appreciated.  Thank you!
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/iOS-This-build-is-invalid-tp51612.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: HTTPService breakage in Flex SDK 4.15?

2016-02-19 Thread Clint M
Install an app like charles proxy on a computer and configure the proxy
settings on the mobile device to run through the proxy.
https://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/

Compare the raw http requests from 4.14 and 4.15 then maybe post the
results if you can't figure it out.

On Thu, Feb 18, 2016 at 8:11 AM, erikjthomas3 
wrote:

> I and a colleague each upgraded from Flex SDK 4.14 to 4.15 (20/20) and an
> old
> HTTPService GET call that has been in production for years on Mobile
> devices
> is now consistently failing on both our systems for no apparent reason we
> can see while debugging.
>
> Does this ring a bell? Anyone seen this? If I paste the URL below into my
> browser, it retrieves successfully. But from the app, it fires a fault
> event.
>
> Nothing has changed in this code, and reverting to 4.14 it runs fine.
> Anyone
> have any ideas?
>
> Could there be a new security requirement that doesn't provide a meaningful
> fault message?
>
> Thanks so much!
>
> Erik
>
> _faultCode: Server.Error.Request
> faultDetail: Error: [IOErrorEvent type="ioError" bubbles=false
> cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:
>
> http://www.linqto.com/facebookapplicationservice.axd?roomName=communitybanker&type=getHero
> "
> errorID=2032]. URL:
>
> http://www.linqto.com/facebookapplicationservice.axd?roomName=communitybanker&type=getHero
> faultString: HTTP request error
> rootCause.text: Error #2032: Stream Error. URL:
>
> http://www.linqto.com/facebookapplicationservice.axd?roomName=communitybanker&type=getHero
> rootCause.type: ioError
>
> REQUEST INFO
>
> method: GET
> resultFormat: object
> rootURL: app:/cbMobile.swf
> useProxy: false
> destination: DefaultHTTP
> contentType: application/x-www-form-urlencoded
> url:
>
> http://www.linqto.com/facebookapplicationservice.axd?roomName=communitybanker&type=getHero
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/HTTPService-breakage-in-Flex-SDK-4-15-tp51614.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: iOS This build is invalid

2016-02-19 Thread Clint M
Install the certificate you use to sign the application with into your
keychain and then select it.

Do you see any red text that says it's not signed by a recognized signer or
do you see green text saying the certificate is valid?

On Thu, Feb 18, 2016 at 10:06 AM, Pipsisewah  wrote:

> Thank you for responding to my issue.
>
> Unfortunately, I do not believe that is the issue.
>
> #1. Per the below document, that certificate only applies when you are
> doing
> in-app purchases, push notifications, etc.  Not when simply signing your
> app
> for distribution.
> https://developer.apple.com/support/certificates/expiration/
>
> #2. That certificate is already updated on the Mac I used to create the
> keys
> and shows an expiration date of Feb 7, 2023.
>
> Thanks again for commenting!
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/iOS-This-build-is-invalid-tp51612p51619.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: iOS This build is invalid

2016-02-19 Thread Clint M
If you're on windows it's most likely what Nick Collins said.

Read this. https://forums.adobe.com/thread/2037674?start=0&tstart=0

If you're on windows try adding the new cert to your trusted root certs.

http://www.thewindowsclub.com/manage-trusted-root-certificates-windows

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

On Fri, Feb 19, 2016 at 7:18 AM, Josef  wrote:

> Hello,
>
> I'm having same problems uploading my ios app to the App Store, too.
> Upload with the Aplication Manager is successfull. But iTunesConnect said
> "This build is invalid". I get the message:
>
> The binary with bundle identifier '[Deleted]' at path [Deleted] contains an
> invalid signature. Make sure you have signed your application with a
> distribution certificate, not an ad hoc certificate or a development
> certificate. Verify that the code signing settings in Xcode are correct at
> the target level (which override any values at the project level). If you
> are certain your code signing settings are correct, choose "Clean All" in
> Xcode, delete the "build" directory in the Finder, and rebuild your release
> target.
>
> This message occurs after I've reinstall Apache Flex a few weeks ago - my
> distributing p12 and profisioning files are unchanged.
> Today I've reinstall Apache Flex again - with same message above: "This
> build is invalid".
>
> With Apache Flex 4.14.1 and AIR 20 beta the build was valid.
> My current development system:
> PC Windows 7, Flash Builder 4.7, Apache Flex 4.15, Air 20.0.0.233, The app
> has no ANE.
> Package system:
> Mac Yosemite, Java 1.8.0_40, Apache Flex 4.15, Air 20.0.0.233
>
> I've tried to package the compiled swf with adt comand on a newest Mac
> (same
> Apache and Air Version) and uploaded to iTunesConnect. But I get the same
> massage in iTunesConnect: "This build is invalid" ... (a packaged ipa from
> PC also).
>
> I've tried to manually update the runtime folder in Flex SDK from here:
> http://labs.adobe.com/downloads/air.html
> 
> But with no success and the same message.
>
> In this thread at adobe the issue is discussed:
> https://forums.adobe.com/thread/2037674
> 
> But I have no success on Mac with cert import to keychain or change runtime
> in SDK manually (as above on PC).
>
> At the moment I can't build ipa for iOS ... this is very frustrating ...
> does anyone has an idea?
> Downgrade Flex Air SDK? But where I get 20.0.0.185?
> In sdk-installer-config-4.0.xml are links to the newest SDK only
> (http://airdownload.adobe.com/air/win/download/20.0/AdobeAIRSDK.zip)
> ...
>
>
>
> Pipsisewah wrote
> > Hello,
> >
> > I am having a problem uploading my app to the App Store.
> > ...
> > I built the app using the Distribution certificate and uploaded it using
> > ApplicationLoader.  The upload was successful, but when I went onto
> > iTunesConnect, it stated "This build is invalid".
> > ...
>
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/iOS-This-build-is-invalid-tp51612p51626.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: Memory leak caused by addChild() ?

2016-02-23 Thread Clint M
Because this comment/code in NonLeakySubComponent.mxml is false and isn't a
weak ref.

/* This is not a memory leak, because BindingUtils uses weak references */

BindingUtils.bindSetter(dataProviderChanged,this,"dataProvider");

This would work:

BindingUtils.bindSetter(dataProviderChanged,this,"dataProvider", false, true);
//true is useWeakReference

On Tue, Feb 23, 2016 at 8:46 AM, XaviConde 
wrote:

> Hi everyone,
>
> I'm investigating memory leaks in an application, and since the codebase is
> very complex, I've downloaded a simple project from
> http://dreamingwell.com/articles/archives/2008/05/understanding-m.php to
> understand what causes a memory leak and what doesn't. The Flash Builder
> project can be found here:
> http://dreamingwell.com/examples/flex/memoryleak/MemoryLeakTest.zip.
>
> In short, despite I follow the instructions about how to 'fix' the sample
> memory leak, the application still increases its memory usage.
>
> These are the steps I follow:
>
> 1. Donwload
> http://dreamingwell.com/examples/flex/memoryleak/MemoryLeakTest.zip.
> 2. Import into Flash Builder as a new project. It asks to update from Flex
> Builder 3. I choose to use SDK 4.6.0.
> 3. Run Flash Profiler. Live Objects view shows the counts for
> NonLeakySubComponent class increasing, and memory graph increases
> constantly
> as well.
> 4. Uncomment `references.splice( references.indexOf(lastInstance),1);' from
> LeakByReference.mxml:run(). This should fix the memory leak according to
> the
> comments.
> 5. Run Flash Profiler. Live Objects view still shows the counts for
> NonLeakySubComponent class increasing, and memory graph increases
> constantly
> as well.
> 6. Comment this.addChild(subComponent) from LeakByReference.mxml:run().
> Notice that there's a this.removeChild(subComponent) at the beginning of
> the
> function.
> 7. Run Profiler. This time, only one instance of NonLeakySubcomponent is
> displayed, and memory never increases.
>
> I would like to understand why this.removeChild() is not freeing the
> NonLeakySubComponent object, as it should (or why addChild() is creating a
> strong reference to it which causes the GC not to free it after calling
> removeChild()).
>
> Thanks in advance.
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/Memory-leak-caused-by-addChild-tp51677.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: Memory leak caused by addChild() ?

2016-02-24 Thread Clint M
Well... it's not technically leaking... it just appears like it is because
the timer is firing every 10 ms which doesn't let garbage collection run as
fast as you think it should.

It will eventually run... you just have to wait a really long time. (Most
likely when your physical ram is full.)

In flash player garbage collection is a black box and although there are
some weird hacks you can implement to force it to run it's best just to let
it do it's thing.

Ideally you'd just slow down this timer down to give back a few frames to
let garbage collection run.

Here's an article that gives you an idea of what the player is doing.
http://www.craftymind.com/updated-elastic-racetrack-for-flash-9-and-avm2/

The gist is you need to yield code execution to the next frame. (i.e. wait
for next Event.ENTER_FRAME).

The concept is called green threading.

Try playing with framerate (max 60 because of the refresh rate of your
monitor) and the timer duration to see the garbage collection run more
often.

This is also a lesson in using the "new" keyword.  If you reuse existing
instances instead of making new ones, Flash Player doesn't need the extra
frames to run gc.

On Wed, Feb 24, 2016 at 12:20 AM, XaviConde 
wrote:

> Thanks Clint, but I've commented it as well and the memory leak is still
> happening. Profiler still reports memory constantly increasing. I've also
> commented the other addEventListener calls just in case, and the only way
> to
> stop the leak is by commenting on addEventListener(). Did the Flash
> Profiler
> memory graph stop increasing in your test?
>
> Thanks in advance!
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/Memory-leak-caused-by-addChild-tp51677p51700.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: Memory leak caused by addChild() ?

2016-02-24 Thread Clint M
I was able to reproduce the behavior while using the references array and
uncommenting the line:

references.splice( references.indexOf(lastInstance),1);

It might be that Player holds a reference to the object spliced out because
it does return it.

In any case... I'd like to reiterate that it doesn't leak.

It's just doing what Alex describes as out-run the GC because it's calling
initialize on the sub component.

Here's a screen shot from my system when I set the frame rate to 60 and the
timer to 50ms.

https://www.dropbox.com/s/1suqwzkc2scewph/Screenshot%202016-02-24%2008.05.37.png?dl=0

On Wed, Feb 24, 2016 at 9:58 AM, Alex Harui  wrote:

> I removed the references array, slowed the timer down to 1 second and
> found that if I hit the GC button in the profiler, the instance count goes
> back to 1 or 2, which is correct, so NonLeakySubComponent is not leaking,
> without having to delete layoutObject.  Make sure you are looking at
> instance count and not cumulative instances?
>
> It is possible to "out-run" or "overload" the GC.  GC is trying hard not
> to interrupt animation and isn't guaranteed to do a full sweep.  If you do
> need to create and dispose of lots of instances of something, recycling
> old instances is likely to be worth the effort.  That's why item renderers
> are recycled in MX list controls.
>
> HTH,
> -Alex
>
> On 2/24/16, 9:15 AM, "Alex Harui"  wrote:
>
> >I took a quick look at the test case (I haven't even tried it in the
> >profiler yet).
> >
> >I assume the test case to run is LeakByReference.mxml.  In the run()
> >method, it keeps storing references to the new NonLeakySubComponent on
> >every pass, so sure, if you don't splice out the references to the old
> >ones, the references array is going to cause a memory leak.
> >
> >Are you saying if you are seeing a memory leak if you don't use the
> >references array?
> >
> >-Alex
> >
> >On 2/24/16, 8:27 AM, "XaviConde"  wrote:
> >
> >>Hi Clint,
> >>
> >>Flash Profiler has a functionality to force garbage collection. I press
> >>the
> >>button several times and there's no instance being freed. Besides, taking
> >>a
> >>memory snapshot also forces garbage collection.
> >>
> >>On the other hand, after several hours of Flash Profiling, I have found a
> >>workaround by removing the property layoutObject:
> >>
> >>  private function
> removedFromStage(event:Event):void {
> >>  /* For good measure, the eventListener is
> removed when no longer
> >>needed
> >>*/
> >>
> parentApplication.removeEventListener(MouseEvent.CLICK,
> >>mouseClickEvent);
> >>
> >>//Stops memory leak
> >>  this["layoutObject"]=null;
> >>  }
> >>
> >>By removing this property (which held a CanvasLayout object added
> >>dynamically) now the memory usage is stable and Profiler never reports
> >>more
> >>than 1 instance of NonLeakySubcomponent ever in memory.
> >>
> >>For what I've learned from this example, calling initialize on the child
> >>object being added creates several objects which reference the child
> >>object
> >>itself. But when removeChild() is called, some of these circular
> >>references
> >>still exist. By forcing the removal as I've done it seems the circular
> >>reference is broken.
> >>
> >>I think it should be considered a bug, since removeChild() is not undoing
> >>all the actions of addChild(). I'm not sure if by letting it run enough
> >>time
> >>GC would remove the leaked instances; forcing the garbage collection from
> >>Flash Profiler has not removed them, or the related objects. This is
> >>happening on the latest 4.6.15 SDK.
> >>
> >>
> >>
> >>--
> >>View this message in context:
> >>
> http://apache-flex-development.247.n4.nabble.com/Memory-leak-caused-b
> >>y
> >>-addChild-tp51677p51715.html
> >>Sent from the Apache Flex Development mailing list archive at Nabble.com.
> >
>
>


Re: Developing Flex SDK with Flex Builder

2016-02-29 Thread Clint M
Well technically if you're just developing a patch a better would be to
monkey patch the Flex SDK.

Just create a folder structure under your source dir that matches the files
you want to patch.

For example:

MyProject
src
spark
components
TextInput.as

The compiler will pick up and use your TextInput.as because it's a file
with a newer timestamp than the one in the SDK.




On Mon, Feb 29, 2016 at 4:51 AM, XaviConde 
wrote:

> Hi everyone,
>
> I've downloaded and built successfully flex 4.15.0 from source, following
> the steps in README (ant main, ant frameworks-rsls, ant -f installer.xml).
> From Flex Builder, I've configured the new SDK from Preferences as an
> available SDK. Then, I've selected the newly built SDK for my project, and
> tested both application and SDK successfully.
>
> Later on I've made some changes to the SDK source code, but when I try to
> run 'ant main' again, the build fails with
> 'apache-flex-sdk-4.15.0-src\modules\compiler\build.xml:171: Warning: Could
> not find file C:\...\apache-flex-sdk-4.15.0-src\in\flex-tool-api.jar to
> copy.'
>
> According to the instructions in README, in order to prepare the SDK for an
> IDE, I have to run 'ant -f installer.xml'. But when I run this step, the
> folder 'in' is removed, so I can't build the source anymore, unless I run
> 'ant super-clean main'.
>
> Is there any way to build the source from Flex Builder as a project so I
> don't have to run 'ant main super-clean' every time I change the sources?
>
> Thanks in advance!
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/Developing-Flex-SDK-with-Flex-Builder-tp51743.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: iOS This build is invalid

2016-03-04 Thread Clint M
You were so close!

For AIR 20 the namespace is
http://ns.adobe.com/air/application/20.0

On Fri, Mar 4, 2016 at 10:20 AM, Pipsisewah  wrote:

> So I decided to go the route of compiling on a Mac.  Got Flash Builder 4.7
> installed, copied all the files, etc.  and was able to do a build.
>
> Now Flash Builder 4.7 only comes with the 4.6 compiler, which does not
> account for the 64bit requirement from Apple.  So, I need to build a new
> compiler.  I used the overlay method I always use on Windows.
> When selecting the newly created compiler, the Mac tells me that it doesnt
> recognize this folder as a compiler.
>
> I followed the same instructions as before.
>
> Copy the current compiler out to the desktop.
> Download the latest version of the AIR SDK (without the compiler).
> Copy all the AIR SDK files into the current compiler's folder and overwrite
> any files as necessary.
> Rename folder and move it back to the sdks folder.
> Attempt to link up in Flash Builder.
>
> I even tried reversing the process, so that I copy all the files from the
> current compiler and overwrite the files in the AIR SDK.  That did cause
> Flash Builder to recognize it as a compiler, but unfortunately every time I
> build it says the following:
> Error occurred while packaging the application:
> [File Location]bin-release-temp\AOT\[App Name]-app.xml: error 102: Invalid
> namespace
> http://ns.adobe.com/air/application/4.6
>
> I have tried 3.1, 4.0, 4.6, 20, and 21.  No luck.  Any ideas?
>
> Thank you!
>
>
>
> --
> View this message in context:
> http://apache-flex-development.247.n4.nabble.com/iOS-This-build-is-invalid-tp51612p51774.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


Re: Flex Issue : AS3 FLEX MOBILE APP CRASHING WHEN SCALING IMAGE

2016-05-31 Thread Clint M
Hmmm... if it just crashes you might be hitting the max bitmap data size of
the operating system that the app is running on.

"Starting with AIR 3 and Flash player 11, the size limits for a BitmapData
object have been removed. The maximum size of a bitmap is now dependent on
the operating system."
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapData.html

On Tue, May 31, 2016 at 6:42 AM, Paul Moreau  wrote:

> Thanks for the reply Clint but the crash happens while the user is zooming
> on the image, so I cannot call the dispose function as the image needs to
> remain onscreen while the user pan zooms.
>
> Paul
>
> On Thu, May 26, 2016 at 5:40 PM, Clint M  wrote:
>
> > My immediate reaction whenever I hear memory problems with images is
> > somewhere some code is forgetting to call bitmapdata.dispose() before a
> > bitmapdata object is discarded.
> >
> > In situations like this Adobe Scout is your friend.
> > https://www.adobe.com/products/scout.html
> > It let's your profile memory (and other things). Although I think you
> need
> > to compile it with Flash Builder 4.7 so you can use the advanced
> telemetry
> > compiler option.  Although I'm not sure that's required either to do
> memory
> > profiling.
> >
> > On Thu, May 26, 2016 at 9:14 AM, Paul Moreau 
> > wrote:
> >
> > > Hi folks,
> > >
> > > Apologies if this is the wrong place to be posting this kind of thing,
> > Ive
> > > also posted on StackOverflow but thought I'd post here as I know there
> > are
> > > some Flex experts in this forum and haven't had huge feedback on
> > > StackOverflow on Flex/AIR issues in the past.
> > >
> > > AS3 FLEX MOBILE APP CRASHING WHEN SCALING IMAGE
> > >
> > > *Problem:*
> > >
> > > Zooming in on image by scaling and moving using matrix causes the app
> to
> > > run out of memory and crash.
> > >
> > > *Additional Libraries used:*
> > >
> > > Gestouch - https://github.com/fljot/Gestouch
> > >
> > > *Description:*
> > >
> > > In my Flex Mobile app I have an Image inside a Group with pan/zoom
> > enabled
> > > using the Gestouch library. The zoom works to an extent but causes the
> > app
> > > to die (not freeze, just exit) with no error message after a certain
> zoom
> > > level.
> > >
> > > This would be managable except I can’t figure out how to implement a
> > > threshold to stop the zoom at, as it crashes at a different zoom level
> > > almost every time. I also use dynamic images so the source of the image
> > > could be any size or resolution.
> > >
> > > They are usually JPEGS ranging from about 800x600 - 9000x6000.
> > >
> > > As of the AS3 docs there is no longer a limit to the size of the
> > BitmapData
> > > object so that shouldn't be the issue.
> > >
> > > “Starting with AIR 3 and Flash player 11, the size limits for a
> > BitmapData
> > > object have been removed. The maximum size of a bitmap is now dependent
> > on
> > > the operating system.”
> > >
> > > The crash mainly happens on iPad Mini and older Android devices.
> > >
> > >
> > > *Things I have tried already tried:*
> > >
> > > Using Adobe Scout to pin point when the memory leak occurs.
> > >
> > > Debugging to find the exact height and width of the marker layer and
> > image
> > > at the time of crash.
> > >
> > > Setting a max zoom variable based on the size of the image.
> > >
> > > Cropping the image on zoom to only show the visible area. ( crashes on
> > > copyPixels  function and BitmapData.draw() function )
> > >
> > > Using imagemagick to make lower quality images ( small images still
> > crash )
> > >
> > > Using imagemagick to make  very low res image and make a grid of
> smaller
> > > images . Displaying in the mobile app using a List and Tile layout.
> > >
> > >
> > > Any suggestions would be appreciated.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Paul
> > >
> > > --
> > >
> > >
> > >
> > >
> > >
> > >
> > > *DISCLAIMER: This electronic message together with any attachments is
> > > confidential. If you are not the intended recipient, do not copy,
> > disclose
> > > or use the co

Re: Flash Builder borked

2016-07-13 Thread Clint M
Does a clean build fix it?
Does deleting the codemodel folder fix it?
Mine is at /Users/clint/Documents/Adobe Flash Builder
4.7/.metadata/.plugins/com.adobe.flexide.codemodel.bridge
Does a new workspace fix it? Sometimes eclipse workspaces become corrupt.

RE: instability
what is your Xmx set at in:
/Applications/Adobe Flash Builder 4.7/Adobe Flash Builder
4.7.app/Contents/MacOS/Adobe Flash Builder 4.7.ini

I run java 1.7 and FB 4.7 and it seems to work mostly ok for me.
Also… if you get an eclipse error for any reason (not a compile error)
reboot Flash Builder. Don't try to continue.

On Wed, Jul 13, 2016 at 2:50 PM, Harbs  wrote:

> Flash Builder 4.7 has been pretty unstable for me.
>
> I tried updating Java today hoping that it might help and everything went
> haywire. I can not get FB to build anything now. I think installing Java
> reset my default Java to 1.7, but I changed my symbolic link to point back
> to 1.6. Nothing seems to help and I keep getting the following error:
>
> java.lang.ClassCastException:
> org.apache.flex.compiler.parsing.IASToken$ASTokenKind cannot be cast to
> java.lang.String
> at
> flex2.tools.oem.Application.processMXMLCReport(Application.java:717)
> at flex2.tools.oem.Application.compile(Application.java:632)
> at
> flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.java:366)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$MyBuilder.mybuild(ASApplicationBuilder.java:309)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.build(ASApplicationBuilder.java:128)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuilder.java:203)
> at
> com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASItemBuilder.java:93)
> at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(FlexProjectBuilder.java:708)
> at
> com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:412)
> at
> com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)
> at
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
> at
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
> at
> org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
> at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
> at
> org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
> at
> org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432)
> at
> org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Here is my session data:
> eclipse.buildId=M20110909-1335
> java.version=1.6.0_65
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -keyring /Users/harbs/.eclipse_keyring -showlocation
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring
> /Users/harbs/.eclipse_keyring -consoleLog -showlocation
>
> Any suggestion on what I can do?


Apache Flex Docs/Examples on StackOverflow

2016-07-25 Thread Clint M
Noticed this today: http://stackoverflow.com/tour/documentation

If we get 2 more people to sign up we can start documenting apache flex
with examples on StackOverflow.
http://stackoverflow.com/documentation/flex/commit


Re: Apache Flex Docs/Examples on StackOverflow

2016-07-26 Thread Clint M
Thanks to the 2 people that signed up now we can add examples on SO.
http://stackoverflow.com/documentation/flex

@Christofer I don't think it's meant to be a place to hold "All the flex
documentation".

StackOverflow documentation is designed to fill a gap in it's model.
It was difficult to publish examples before in a stack overflow answer.
The typical solution was to create an example... upload it somewhere and
link to it.
Over time these links may die. (e.g. Blog post where the domain name
expires.)
Now you can publish examples to StackOverflow and link to those examples
from answers.
Here's an example page for the tag actionscript-3
http://stackoverflow.com/documentation/actionscript-3

@Justin RE: licensing
I think CC Attribution Share Alike works for it's intended use described
above. Do you feel differently?




On Tue, Jul 26, 2016 at 1:21 AM, Christofer Dutz 
wrote:

> But I would also like documentation to be created at our Wiki and not have
> it spread everywhere. Would it be possible to copy content added there to
> our Wiki?
>
>
> More documentation is always better than less ;-)
>
>
> Chris
>
> 
> Von: Justin Mclean 
> Gesendet: Dienstag, 26. Juli 2016 07:44:47
> An: dev@flex.apache.org
> Betreff: Re: Apache Flex Docs/Examples on StackOverflow
>
> HI,
>
> > Noticed this today: http://stackoverflow.com/tour/documentation
>
> Not necessarily an issue but would be happy with the terms of service here
> [1], in particular:
> "You agree that all Subscriber Content that You contribute to the Network
> is perpetually and irrevocably licensed to Stack Exchange under the
> Creative Commons Attribution Share Alike license."
>
> Thanks,
> Justin
>
> 1. http://stackexchange.com/legal/terms-of-service#3SubscriberContent
>


Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
Getting this error:

Installer version 3.2.0 (mac)
Using Locale: en_US
Fetched the SDK download mirror URL from the CGI.
Error #2031
Installation aborted

Here's the raw request/response in Charles:

Request:
-

GET /single-mirror-url--xml.cgi HTTP/1.1
Host: flex.apache.org
Cookie:
x-flash-version: 22,0,0,175
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en)
AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/22.0
Accept-Language: en-us
Referer: app:/InstallApacheFlex.swf
Accept-Encoding: gzip, deflate

Response:
-

HTTP/1.1 200 OK
Date: Thu, 01 Sep 2016 13:13:18 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 34
Keep-Alive: timeout=30, max=99
Connection: Keep-Alive
Content-Type: text/xml

http://apache.mirrors.ionfish.org/

-

It seems like the content type is set to text/xml but it's sending the url
as plain text?


Re: Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
Not seeing any redirects in Charles.

It manifests after you click the next button on the initial screen in the
installer.

I think I found the request in the sdk-installer-config-4.0.xml request.
http://flex.apache.org/installer/sdk-installer-config-4.0.xml






On Thu, Sep 1, 2016 at 8:11 AM, Alex Harui  wrote:

> AFAICT, the installer code does not request single-mirror-url--xml.cgi, it
> only requests single-mirror-url.cgi.  Do you see any sort of redirect
> prior to the failing request?  The installer started up just fine for me
> on my Mac OSX.
>
> Thanks,
> -Alex
>
> On 9/1/16, 6:20 AM, "Clint M"  wrote:
>
> >Getting this error:
> >
> >Installer version 3.2.0 (mac)
> >Using Locale: en_US
> >Fetched the SDK download mirror URL from the CGI.
> >Error #2031
> >Installation aborted
> >
> >Here's the raw request/response in Charles:
> >
> >Request:
> >-
> >
> >GET /single-mirror-url--xml.cgi HTTP/1.1
> >Host: flex.apache.org
> >Cookie:
> >x-flash-version: 22,0,0,175
> >Connection: keep-alive
> >Accept: */*
> >User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en)
> >AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/22.0
> >Accept-Language: en-us
> >Referer: app:/InstallApacheFlex.swf
> >Accept-Encoding: gzip, deflate
> >
> >Response:
> >-
> >
> >HTTP/1.1 200 OK
> >Date: Thu, 01 Sep 2016 13:13:18 GMT
> >Server: Apache/2.4.7 (Ubuntu)
> >Content-Length: 34
> >Keep-Alive: timeout=30, max=99
> >Connection: Keep-Alive
> >Content-Type: text/xml
> >
> >http://apache.mirrors.ionfish.org/
> >
> >-
> >
> >It seems like the content type is set to text/xml but it's sending the url
> >as plain text?
>
>


Re: Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
I was able to work around it by using Charles to map the cgi request to a
local file with just the mirror url in it.



On Thu, Sep 1, 2016 at 8:25 AM, Clint M  wrote:

> Not seeing any redirects in Charles.
>
> It manifests after you click the next button on the initial screen in the
> installer.
>
> I think I found the request in the sdk-installer-config-4.0.xml request.
> http://flex.apache.org/installer/sdk-installer-config-4.0.xml
>
> 
> 
>
>
>
> On Thu, Sep 1, 2016 at 8:11 AM, Alex Harui  wrote:
>
>> AFAICT, the installer code does not request single-mirror-url--xml.cgi, it
>> only requests single-mirror-url.cgi.  Do you see any sort of redirect
>> prior to the failing request?  The installer started up just fine for me
>> on my Mac OSX.
>>
>> Thanks,
>> -Alex
>>
>> On 9/1/16, 6:20 AM, "Clint M"  wrote:
>>
>> >Getting this error:
>> >
>> >Installer version 3.2.0 (mac)
>> >Using Locale: en_US
>> >Fetched the SDK download mirror URL from the CGI.
>> >Error #2031
>> >Installation aborted
>> >
>> >Here's the raw request/response in Charles:
>> >
>> >Request:
>> >-
>> >
>> >GET /single-mirror-url--xml.cgi HTTP/1.1
>> >Host: flex.apache.org
>> >Cookie:
>> >x-flash-version: 22,0,0,175
>> >Connection: keep-alive
>> >Accept: */*
>> >User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en)
>> >AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/22.0
>> >Accept-Language: en-us
>> >Referer: app:/InstallApacheFlex.swf
>> >Accept-Encoding: gzip, deflate
>> >
>> >Response:
>> >-
>> >
>> >HTTP/1.1 200 OK
>> >Date: Thu, 01 Sep 2016 13:13:18 GMT
>> >Server: Apache/2.4.7 (Ubuntu)
>> >Content-Length: 34
>> >Keep-Alive: timeout=30, max=99
>> >Connection: Keep-Alive
>> >Content-Type: text/xml
>> >
>> >http://apache.mirrors.ionfish.org/
>> >
>> >-
>> >
>> >It seems like the content type is set to text/xml but it's sending the
>> url
>> >as plain text?
>>
>>
>


Re: Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
Because my workaround worked… I'm guessing the config file (
http://flex.apache.org/installer/sdk-installer-config-4.0.xml) should be
updated from:
https://flex.apache.org/single-mirror-url--xml.cgi
to:
https://flex.apache.org/single-mirror-url.cgi

It seems like the installer isn't actually expecting an xml response and
plain text just works.

I think most browsers and AIR for the flex sdk installer are respecting the
content type that's set to xml but the actual response is just plain text
with no xml content.

On Thu, Sep 1, 2016 at 2:01 PM, Alex Harui  wrote:

>
> On 9/1/16, 8:35 AM, "Clint M"  wrote:
>
> >I was able to work around it by using Charles to map the cgi request to a
> >local file with just the mirror url in it.
> >
>
> Clever workaround.
>
> I am unable to reproduce the problem.  My installer seems to be working ok.
>
> If you pull up Terminal and do:
>
>  curl https://flex.apache.org/single-mirror-url--xml.cgi
>
>
> Do you get an url back?  The response definitely doesn't look good in a
> browser client but looks ok in Terminal.  The internet says error #2031 is
> a "Socket Error".  Maybe the encoding is incorrect, but should that cause
> a Socket Error?
>
> Thoughts?
> -Alex
>
>


Re: Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
Hmh… strange… I'm unable to reproduce the problem now as well.

On Thu, Sep 1, 2016 at 2:01 PM, Alex Harui  wrote:

>
> On 9/1/16, 8:35 AM, "Clint M"  wrote:
>
> >I was able to work around it by using Charles to map the cgi request to a
> >local file with just the mirror url in it.
> >
>
> Clever workaround.
>
> I am unable to reproduce the problem.  My installer seems to be working ok.
>
> If you pull up Terminal and do:
>
>  curl https://flex.apache.org/single-mirror-url--xml.cgi
>
>
> Do you get an url back?  The response definitely doesn't look good in a
> browser client but looks ok in Terminal.  The internet says error #2031 is
> a "Socket Error".  Maybe the encoding is incorrect, but should that cause
> a Socket Error?
>
> Thoughts?
> -Alex
>
>


Re: Apache Flex SDK Installer Broken

2016-09-01 Thread Clint M
Even on a fresh install?! Inconceivable!?!

On Thu, Sep 1, 2016 at 4:51 PM, Clint M  wrote:

> Hmh… strange… I'm unable to reproduce the problem now as well.
>
> On Thu, Sep 1, 2016 at 2:01 PM, Alex Harui  wrote:
>
>>
>> On 9/1/16, 8:35 AM, "Clint M"  wrote:
>>
>> >I was able to work around it by using Charles to map the cgi request to a
>> >local file with just the mirror url in it.
>> >
>>
>> Clever workaround.
>>
>> I am unable to reproduce the problem.  My installer seems to be working
>> ok.
>>
>> If you pull up Terminal and do:
>>
>>  curl https://flex.apache.org/single-mirror-url--xml.cgi
>>
>>
>> Do you get an url back?  The response definitely doesn't look good in a
>> browser client but looks ok in Terminal.  The internet says error #2031 is
>> a "Socket Error".  Maybe the encoding is incorrect, but should that cause
>> a Socket Error?
>>
>> Thoughts?
>> -Alex
>>
>>
>


Re: Flex SDK Installer in macOS Sierra

2016-09-23 Thread Clint M
There is an option to install from "Mac App Store and identified
developers".

Does that work?

I'm think the installer is code signed so it should.

On Thu, Sep 22, 2016 at 2:35 AM, Carlos Rovira 
wrote:

> Hi,
>
> In macOS Sierra there's no more "Anywhere" option to allow install
> applications downloaded (Security & Privacy Pref Pane). I tried to install
> the Apache Flex Installer and run with no luck. I only could get it running
> after reenabling it with this [*]:
>
> sudo spctl --master-disable
>
> But I had to reinstall again after doing this, since running the app was
> failing silently.
>
> To reenable:
>
> sudo spctl --master-enable
>
>
> If others have the same issue, it would be good to modify instructions [**]
>
> Thanks
>
> [*]
> http://apple.stackexchange.com/questions/243687/allow-
> applications-downloaded-from-anywhere-in-macos-sierra
> [**] http://flex.apache.org/installer.html
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


Unable to download 4.14.1 SDK using the Apache Flex SDK Installer

2016-10-03 Thread Clint M
Bit of a strange one... I just tried to download 4.14.1 and AIR 17 and the
agreements screen comes up blank. When I click continue the install fails.

I was able to download 4.15 and AIR 20 without any problems.

The install log has this in it:

Installer version 3.2.0 (mac)
Using Locale: en_US
Fetched the SDK download mirror URL from the CGI.
SDK version Apache Flex SDK 4.14.1
AIR version 17.0
Flash Player version 17.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://mirror.olnevhost.net/pub/apache/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.tar.gz
Unable to download Apache Flex SDK
Installation aborted

Getting a 404 when browsing to
http://mirror.olnevhost.net/pub/apache/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.tar.gz

Incidentally I noticed the installer version is 3.2.0 and the sdk config
that it's requesting is from
http://flex.apache.org/installer/sdk-installer-config-4.0.xml. Not sure if
those versions are supposed to match.

Attaching a screenshot of the blank license agreements screen which seems
weird.

[image: Inline image 1]


Re: Unable to download 4.14.1 SDK using the Apache Flex SDK Installer

2016-10-04 Thread Clint M
Yep... works. Thank you.

On Mon, Oct 3, 2016 at 11:37 PM, Alex Harui  wrote:

>
>
> On 10/3/16, 4:14 PM, "Justin Mclean"  wrote:
>
> >Hi,
> >
> >> Bit of a strange one... I just tried to download 4.14.1 and AIR 17 and
> >>the agreements screen comes up blank. When I click continue the install
> >>fails.
> >
> >Maybe that it’s not looking in the archive area but the release area.
> >Looking at the installer config that looks to be case [1]  (see the
> >commented out 4.14.1 line).
>
> Interesting.  And 4.14.0 wasn't listed at all.  Should it be?  They should
> both be available now.
>
> -Alex
>
>