[flexcoders] XML performance and getting sensible / useable Profiler information

2009-05-05 Thread Nigel Magnay
Hello I have a flex project that is consuming XML data from a web service; (the detail of which is that it's coming across in an XStream serialised form). In flex, I can parse this, and convert it into native objects (with effectively an ActionScript implementation of XStream). Unfortunately, th

[flexcoders] Popup focus issue, seems very broken

2010-03-09 Thread Nigel Magnay
I have a very odd issue in my Flex3 app. I have a popup that is an mx:TitleWindow, instantiated with the popupManager in the normal way. It has a number of buttons, and a canvas. On creationComplete, an additional control is dynamically added to the canvas using childCanvas.addChild(). Everything

[flexcoders] Flex4 Tile performance very slow?

2010-03-31 Thread Nigel Magnay
Hi We have a flex3 app, part of which has a dialog box from which the user can pick a particular "graph"-type component to add to their display. Internally, this is generated with an list, where the dynamic list of children is created then addChild()-ed to the tile. This seems fine - but in cer

Re: [flexcoders] Re: Performance feedback PLEASE

2010-04-09 Thread Nigel Magnay
Some figures: Mac Pro 2008, 8 cores @ 2.8Ghz; NVidia 8800 GT. Under flash 10.0 : ~23fps Under flash 10.1 : ~46fps Here's the kicker On the same machine, running Windows in VMWare fusion in a window : Under flash 10.0 : ~64fps Yep. That's right. It's much quicker in a Windows VM. Little wonde

[flexcoders] Stupid issue with Error #2173: Unable to read object in stream.

2011-08-08 Thread Nigel Magnay
Business objects defined in SWC; linked as RSL. All classes included. Occasional errors, of this form: ArgumentError: Error #2173: Unable to read object in stream. The class my.klass.MyClass does not implement flash.utils.IExternalizable but is aliased to an externalizable class. I know I can

[flexcoders] 3rd party RSLs ?

2011-11-02 Thread Nigel Magnay
Would I be correct in saying that any RSLs that my SWF uses must be compiled with (exactly) the same version of the SDK ? I have an SWC that I'm using as an RSL rather than linking directly, and it's bombing out with VerifyError: Error #1053: Illegal override of getPollSyncMessageResponder in mx.

[flexcoders] Diagnosing a TypeError #1034 with RSLs

2011-11-02 Thread Nigel Magnay
I've just been updating our build to use the latest Flexmojos 4.1-beta, and to use RSL versions of the 4.5.1 flex framework. To do this, I've included all the dependencies in a manual, correct order, so that the RSL load order is correct. I've even manually added entries to get the correct default

Re: [flexcoders] Diagnosing a TypeError #1034 with RSLs

2011-11-02 Thread Nigel Magnay
't understand.. On Wed, Nov 2, 2011 at 8:06 PM, Alex Harui wrote: > ** > > > What is the code doing? If it is trying to find a class definition by > name and can’t that might be the issue. > > > > On 11/2/11 12:21 PM, "Nigel Magnay" wrote: > > &g

[flexcoders] Flex, updateDisplayList and clipping.

2011-12-07 Thread Nigel Magnay
Hi. I have a component that uses the Graphics primitives in the updateDisplayList. It does lots of text outputting, so it uses the technique of having a single UITextField, getting the bitmap data and bitmapFill-ing it to the canvas. Adding multiple first-class components to the canvas is just way

Re: [flexcoders] Re: Flex alternatives

2012-12-17 Thread Nigel Magnay
> > Adobe’s focus for FlashBuilder is on building ActionScript gaming and > premium video projects that run on the Flash player. > I think many people assumed that the driver was "legacy" in-browser flex apps, plus AIR apps for mobile devices. That the older, legacy support had been farmed out to A

[flexcoders] Frustrations with the profiler - analyzing memory usage.

2013-02-05 Thread Nigel Magnay
We have an application that is leaking memory. Sadly, trying to diagnose this with the flex profiler (4.6, 4.7) is proving to be a frustrating experience. I've picked on one object class to try and understand what is going on. We have a wizard-style dialog box with a sidebar control 'wizardlinks'

Re: [flexcoders] Frustrations with the profiler - analyzing memory usage.

2013-02-06 Thread Nigel Magnay
cally, the profiler has shown a dependency on the version of the > Flash Player. Whatever version of Flash Player is recommended for the > default SDK in your version of Flash Builder should be the one to use when > profiling. Newer and older versions may report memory slightly different

[flexcoders] Equivalent of editorUsesEnterKey in spark

2013-02-14 Thread Nigel Magnay
In mx:Datagrid, you can easily declare that a column uses the enter key, so you can enter multiline text into it. Basically, exactly this: http://blog.flexexamples.com/2007/09/30/using-a-flex-textarea-control-as-a-drop-in-item-editor/ (see how you can hit enter in the grid cell, and enter multili

[flexcoders] Automation and Application Domains

2013-09-27 Thread Nigel Magnay
We are using RIAtest, which uses flex automation to test some applications. Reading the flex documentation, it contains the following: Testing applications that load external libraries ... A library that is loaded at run time (including run-time shared libraries (RSLs)) must be loaded into the A

Re: [flexcoders] Automation and Application Domains

2013-10-01 Thread Nigel Magnay
es.. On Fri, Sep 27, 2013 at 7:25 PM, Alex Harui wrote: > ** > > > Did you actually try it and found that it fails? I would think it should > be able to introspect child appdomains. > > From: Nigel Magnay > Reply-To: "flexcoders@yahoogroups.com" >

Re: [flexcoders] Automation and Application Domains

2013-10-03 Thread Nigel Magnay
licts if you have more > than one definition of a class you are trying to "shim" into the main > applicationdomain. > > But if you can guarantee there isn't conflicts for a particular test > scenario, then maybe you can test by loading into the main app dom