[flexcoders] Re: Find the middel of the screen

2009-03-12 Thread bartman279
Very cool, Sam. Thanks!! --- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote: You can get the screen resolution from the Capabilities object - see here http://www.thedesilva.com/2008/06/finding-client-machine-capabilities-using-flex-flash/. From that you can work out the middle

[flexcoders] Re: Find the middel of the screen

2009-03-11 Thread bartman279
Of the screen? No, at least not any way that I am aware. You can determine the center of your flex application: private function findCenter() : void { var centerX:int = Application.application.width/2; var centerY:int =

[flexcoders] Re: Datagrid : mouse over item

2009-03-08 Thread bartman279
Dispatch the DataGrid's itemRollOver event. That event contains a rowIndex of the rolled over item. Your listener could then be something like: private function PreviewRow( e: ListEvent ) : void { var evt:ListEvent = e as ListEvent; preview.text =