[flexcoders] TabNavigator and index out of bounds exception

2008-03-28 Thread Mark Bradley
Greetings, I am trying to figure out how to get the TabNavigator to create it's children so they are accessible after I add the TabNavigator to it's parent through addChild(). However, I am getting an index out of bounds error because the TabBar children have not been created yet. Does

Re: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread Mark Bradley
This seems to work: 1) Create a function called 'hello'. 2) Call it with a parameter. ExternalInterface.call( eval, window.hello = function( who ) { alert( who ); } ); ExternalInterface.call( hello, Mark ); -Mark On Feb 7, 2008, at 2:10 PM, vijay95052 wrote: Hello Is there any

[flexcoders] Flex3 and DataGridHeader hanging error

2008-01-24 Thread Mark Bradley
Hi, I upgraded from Flex2 to Flex3 and now I am seeing this error on my DataGrid controls when I mouse over between columns: Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at mx.core::UIComponent/get

Re: [flexcoders] Flex3 and DataGridHeader hanging error

2008-01-24 Thread Mark Bradley
, Sherif Abdou wrote: what exactly are you trying to do, when u mouseOver is there any code that gets executed? - Original Message From: Mark Bradley [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 24, 2008 11:55:08 AM Subject: [flexcoders] Flex3

Re: [flexcoders] Flex3 and DataGridHeader hanging error

2008-01-24 Thread Mark Bradley
it doesn’t have so many parents you can get around this for now. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bradley Sent: Thursday, January 24, 2008 9:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex3 and DataGridHeader hanging error Hi, I

Re: [flexcoders] DataGridColumn headerRenderer instance

2008-01-17 Thread Mark Bradley
, -Mark On Jan 17, 2008, at 1:06 PM, Sherif Abdou wrote: can;t u just do col.headerRenderer - Original Message From: Mark Bradley [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, January 17, 2008 1:01:41 PM Subject: [flexcoders] DataGridColumn headerRenderer instance

[flexcoders] DataGridColumn headerRenderer instance

2008-01-17 Thread Mark Bradley
Greetings all, Can anyone tell me how to access the visible headerRenderer instance given a DataGridColumn instance? public function getVisibleHeaderRenderer( col:DataGridColumn ): Object { var grid:DataGrid = this; // somehow get the header renderer (if it is visible) return ?? }

Re: [flexcoders] Re: DataGridColumn headerRenderer instance

2008-01-17 Thread Mark Bradley
, 2008, at 1:41 PM, ben.clinkinbeard wrote: Can you get dimensions via dgColumn.width and dg.headerHieght? --- In flexcoders@yahoogroups.com, Mark Bradley [EMAIL PROTECTED] wrote: Thanks for the reply, but no. headerRenderer on DataGridColumn is a class factory object, and in cases where I

[flexcoders] visible component and ViewStack

2008-01-17 Thread Mark Bradley
Hi, Does anyone know if there is an event I can listen to that will tell me when a deep UIComponent becomes visible on screen in a ViewStack? I know I can listen for a VISIBLE event on the containers of a ViewStack, but what about components inside the containers (namely a DataGrid)? I

Re: [flexcoders] Re: DataGridColumn headerRenderer instance

2008-01-17 Thread Mark Bradley
it is header.headerItems[i] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Bradley Sent: Thursday, January 17, 2008 11:52 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: DataGridColumn headerRenderer instance That is a great idea I can use for the height and width