[flexcoders] Preventing DataGrid Scroll on XMLListCollection Data Refresh

2008-05-19 Thread Thind, Aman
Hello, I have an XMLListCollection bound to a DataGrid. I have to periodically update the data in the list and call refresh on it but everytime I do that, the grid scrolls. Is there any way by which I could prevent the scrolling on refresh. Many Thanks, Aman - - - - - - - - - - - - - - - - -

[flexcoders] crossdomain for socket connection not working: http://my.site.com:8161/MyProject.swf cannot load data from my.site.com:61613

2008-05-09 Thread Thind, Aman
Hello, I am trying to open a socket connection to my.site.com:61613 and the location to swf is http://my.site.com:8161/MyProject.swf. I am using Flash version 9.0.124.0 and due to the new security restrictions, I included a crossdomain.xml to explicitly allow connection to the port. Opening

[flexcoders] Apache ActiveMQ and Flash crossdomain.xml files

2008-05-06 Thread Thind, Aman
Hello, My flex application uses Apache ActiveMQ / Stomp to implement a Publish / Subscribe mechanism. To use it, I need to be able to plant a crossdomain.xml file on my ActiveMQ 5.1 as it is running on a different server than where my flex application is hosted. Does anyone know the location

RE: [flexcoders] Processing a filtered XMLListCollection as a complete list

2008-05-01 Thread Thind, Aman
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thind, Aman Sent: Wednesday, April 30, 2008 10:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Processing a filtered XMLListCollection as a complete list Hello, I have an xmllistcollection bound

[flexcoders] Processing a filtered XMLListCollection as a complete list

2008-04-30 Thread Thind, Aman
Hello, I have an xmllistcollection bound to a datagrid that can be filtered by the user. When certain external events occur, I have to process this collection by adding / deleting values from it. However, when the user has the collection filtered, I can access only the filtered list and not

[flexcoders] For an Accordion's Child, visible=false doesn't make it disappear

2007-05-30 Thread Thind, Aman
Hi, I have an accordion with 3 Canvas childs: mx:Accordion id=restricts mx:Canvas label=Observables /mx:Canvas mx:Canvas label=States /mx:Canvas mx:Canvas label=Risk Type visible={model.isrisk} includeInLayout={model.isrisk} /mx:Canvas

[flexcoders] Flash not detected by IE when running through wrapper html

2007-05-29 Thread Thind, Aman
Hi, I have flash player correctly installed on my machine. I can even double click on an .swf and see it play. But suddenly things stopped working for me for the situation when I invoke the swf through its html wrapper (by doing Run in FlexBuilder). I get the msg : Alternate HTML content

RE: [flexcoders] Feel the RIA flex components!!!!

2007-05-25 Thread Thind, Aman
Very Impressive! All the 3 demos available are awe inspiring. Got to ramp up my flex skills before boss sees this demo and asks me to replicate the same! :D Great work! Cheers, Aman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-24 Thread Thind, Aman
/single-itemrenderer-for-multiple .html http://flex-apollo.blogspot.com/2007/05/single-itemrenderer-for-multipl e.html On May 24, 2007, at 11:22 AM, Thind, Aman wrote: Hi Flexing, Thanks for the reply! Yes I already set my itemrenderers in actionscript using: column.itemRenderer = new

[flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Thind, Aman
Hello, I have many columns in my DataGrid that have similar values and I need to render them in a similar manner. So I wish to write just one itemRenderer component and set that as the renderer of all these columns. So I believe each column will invoke my renderer when my grid shows up.

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Thind, Aman
}; column1.itemRenderer = colRendererFactory var colRendererFactory2:ClassFactory = new ClassFactory(columnRenderer); colRendererFactory2.properties = {columnName:mycol2}; column2.itemRenderer = colRendererFactory2; Hope this helps. On May 24, 2007, at 10:40 AM, Thind, Aman wrote

RE: [flexcoders] Navigating away from a Tab

2007-05-21 Thread Thind, Aman
This is how I would do it using Cairngorm: I would have the following in my Model :- 1) static vars representing my viewstate -- public static var VIEWING_RUN_SCENARIOS:uint = 0; public static var VIEWING_DEC:uint = 1; public static var VIEWING_MONITOR_RESULTS:uint = 2; public static

RE: [flexcoders] tree event using cairngorm

2007-05-17 Thread Thind, Aman
Hey Adam, Maintain the state of the tree in your model and map this state to the tree in your View using Data Binding. The command changes the state and the bindings refresh your view. You don't need to explicitly call methods on the tree. Cheers, Aman

RE: [flexcoders] Saving client data to local drive on user demand.

2007-05-17 Thread Thind, Aman
You can copy data to your clipboard and then paste it into a file. I don't think you can step out of the flash sandbox and create files on the local disk due to security constraints. System.setClipboard(YourXMLObject.toXMLString()) Cheers, Aman From: