RE: [Flashcoders] combo box problem

2007-06-01 Thread Randy Tinfow
Don't use getNextHighestDepth() when using the v2 component framework. Use the DepthManager. Tried following the DepthManager syntax from the help, but can't get it to work. Can't find any references to more assitance via Google. Do you have any links to useful documentation for the

Re: [Flashcoders] combo box problem

2007-06-01 Thread Muzak
: Friday, June 01, 2007 4:50 PM Subject: RE: [Flashcoders] combo box problem Don't use getNextHighestDepth() when using the v2 component framework. Use the DepthManager. Tried following the DepthManager syntax from the help, but can't get it to work. Can't find any references to more assitance

RE: [Flashcoders] combo box problem

2007-06-01 Thread Randy Tinfow
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Friday, June 01, 2007 12:36 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] combo box problem import mx.managers.DepthManager; import mx.controls.ComboBox; var

Re: [Flashcoders] combo box problem

2007-06-01 Thread Hans Wichman
PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] combo box problem import mx.managers.DepthManager; import mx.controls.ComboBox; var _cb:ComboBox = ComboBox(createClassChildAtDepth(ComboBox, DepthManager.kTop)); trace(_cb.getDepth()); regards, Muzak - Original

RE: [Flashcoders] combo box problem

2007-06-01 Thread Randy Tinfow
Then the REAL problem is that we can't read well! Thanks, RT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Friday, June 01, 2007 4:35 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] combo box problem

Re: [Flashcoders] combo box problem

2007-05-31 Thread Hans Wichman
: Explain your setup and maybe show us some code. The combobox should just work. - Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem

RE: [Flashcoders] combo box problem

2007-05-31 Thread Randy Tinfow
@randy: define not working? The combobox is being placed initially like this: this._lockroot = true; _cbCategory = ComboBox(createClassObject(ComboBox, _cbCategory, this.getNextHighestDepth())); _cbCategory.addEventListener(change, objComboListen); _cbCategory.setStyle(embedFonts, true);

Re: [Flashcoders] combo box problem

2007-05-31 Thread Hans Wichman
Hi, have you checked with xray if there is something in the way? Or commented out some of the stuff that gets created in order to pinpoint the problem? regards, JC On 5/31/07, Randy Tinfow [EMAIL PROTECTED] wrote: @randy: define not working? The combobox is being placed initially like this:

RE: [Flashcoders] combo box problem

2007-05-31 Thread Randy Tinfow
have you checked with xray if there is something in the way? Or commented out some of the stuff that gets created in order to pinpoint the problem? Just checked with xray, it seems that after 2 selections in that combobox, it loses its reference to the __dropdown property, which is a List

Re: [Flashcoders] combo box problem

2007-05-31 Thread Hans Wichman
Hi Randy, this any help: http://www.5etdemi.com/blog/archives/2005/06/careful-with-_rootgetnexthighestdepth-and-other-fun-ways-of-breaking-combo-boxes/ greetz JC On 5/31/07, Randy Tinfow [EMAIL PROTECTED] wrote: have you checked with xray if there is something in the way? Or commented out

RE: [Flashcoders] combo box problem

2007-05-31 Thread Randy Tinfow
: RE: [Flashcoders] combo box problem have you checked with xray if there is something in the way? Or commented out some of the stuff that gets created in order to pinpoint the problem? Just checked with xray, it seems that after 2 selections in that combobox, it loses its reference

RE: [Flashcoders] combo box problem

2007-05-31 Thread Randy Tinfow
/2007 11:56 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] combo box problem I read that article yesterday, didn't help much. I'm half way to a solution right now. private function onComboOpen(objEvent:Object) { var nDepth:Number = this.getNextHighestDepth

Re: [Flashcoders] combo box problem

2007-05-31 Thread Muzak
- Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, May 31, 2007 6:34 PM Subject: RE: [Flashcoders] combo box problem more that I found out: var nDepth:Number = this.getNextHighestDepth(); trace (this.getNextHighestDepth()); trace

[Flashcoders] combo box problem

2007-05-30 Thread Randy Tinfow
We're 6 weeks into our last AS2 project, with about a week left for development. Now we hit what seems like a brick wall. We select an item from the dropdown and it works fine the first time. The second time it works okay. The third time it just stops working. There is apparently a

Re: [Flashcoders] combo box problem

2007-05-30 Thread Muzak
Explain your setup and maybe show us some code. The combobox should just work. - Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem We're 6 weeks into our last

Re: [Flashcoders] combo box problem

2007-05-30 Thread Carl Welch
some code. The combobox should just work. - Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem We're 6 weeks into our last AS2 project, with about a week left

Re: [Flashcoders] combo box problem

2007-05-30 Thread Andy Herrman
. The combobox should just work. - Original Message - From: Randy Tinfow [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 6:29 PM Subject: [Flashcoders] combo box problem We're 6 weeks into our last AS2 project, with about a week left

Re: [Flashcoders] combo box problem

2007-05-30 Thread Carl Welch
: [Flashcoders] combo box problem We're 6 weeks into our last AS2 project, with about a week left for development. Now we hit what seems like a brick wall. We select an item from the dropdown and it works fine the first time. The second time it works okay. The third time it just stops