RE: [flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-08-29 Thread Alex Harui
Had to go change a diaper (not mine). I'll also add that I think of network I/O as asynchronous and non-blocking. Some folks say that network requests don't actually go out until your code stops running. To me, it doesn't really matter when they go out, because the results will not come back

RE: [flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-08-29 Thread Alex Harui
I doubt we'd document the exact behavior of some of these calls. First, we'd want to reserve the right to change them as the underlying platforms change, and further, the implementation of some things depend on the platform and the goal of the player is to abstract them from you. Your only hoo

[flexcoders] swf z-index overlay cant click swf buttons

2009-08-29 Thread advancedonsite
I have a swf which has buttons and I'm loading it using but the swf buttons cant be clicked it's like theres an invisible layer over them? any ideas what might be causing this?

RE: [flexcoders] use combobox itemrenderer in stead of textinput

2009-08-29 Thread Tracy Spratt
Yes. But if you do decide to create a custom renderer, do not start from scratch. Find an example and modify it. Renderers are tightly integrated with the Flex framework to optimize performance. This means you have to know what you are doing to create one correctly. Tracy Spratt, Lariat

RE: [flexcoders] Re: Is there a way to get the original array index of a selection in a datagrid?

2009-08-29 Thread Tracy Spratt
Yes, do not use Array (or XMLList) as a dataProvider if you need to update it at run time. Neither of those dispatches the necessary events to update the visual controls. Use a collection. You cannot use an associative array (Object) as a dataProvider. Tracy Spratt, Lariat Services, deve

RE: [flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-08-29 Thread Tracy Spratt
Yes, Gordon and Alex have agreed with this, that async methods are handled in different threads. But the original poster's concern was regarding developer code within the AVM: "If A' starts executing before B', will it run to completion before B' starts executing, or could their execution be

RE: [flexcoders] Re: Apply filterFunction to datagrid XMLListCollection dataprovider question

2009-08-29 Thread Tracy Spratt
This returns ans XMLList: "lstRepRankDrill[0].record" You need a collection to use filter. Assign that XMLList to an XMLListCollection and use that as the data provider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexc

RE: [flexcoders] DatagridColumn dataField question

2009-08-29 Thread Tracy Spratt
Yes, as Beau says. One general clarification, the dataField property will only accept a string, never an expression (array1[0] is an expression). Similarly, you cannot "dot.down" in a dataField, like "myVO.myProperty" that is also an expression. To use the dataField, yu must be able to prov

[flexcoders]: Automation framework for AS3 project

2009-08-29 Thread sachin sharma
Hi Matt,   Please suggest me that how can I develop Automation Framework for AS3 project in Flex3. For Flex project there is 2-3 automation tools are available but not a single one for AS3 project. It would be great help if you suggest some idea/hint to implement automation framework for AS3 pro

[flexcoders] Re: Race conditions when event handlers triggered from different targets

2009-08-29 Thread mike_slinn
> Yes, the Player has multiple threads. But the ActionScript Virtual Machine > executes in only one of them. According to the Flash Player engineers that I have spoken to, some ActionScript method calls are handed off to other threads, for example URLLoader.load(). It would be helpful to read a