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
Hi, @randy: define not working? Does it no longer dropdown and show a weird show button thats disabled, or does it no longer fire events or is it no longer visible? regards JC On 5/31/07, Carl Welch [EMAIL PROTECTED] wrote: No, I'm not loading any external swfs. On 5/30/07, Andy Herrman

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

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
I have the same situation. In mine, I am dynamically generating each screen as the user navigates. It will work on the first screen that a series of comboboxes appear, then on the next screen they show up but don't work. I am completely deleting the movieclip that contains them. Then I build a

Re: [Flashcoders] combo box problem

2007-05-30 Thread Andy Herrman
Any chance you're loading child SWFs and then trying to attach the combo boxes there? I'm running into some very strange behavior when doing that (will be posting about it in the next day or so once I narrow it down some more). -Andy On 5/30/07, Carl Welch [EMAIL PROTECTED] wrote: I have

Re: [Flashcoders] combo box problem

2007-05-30 Thread Carl Welch
No, I'm not loading any external swfs. On 5/30/07, Andy Herrman [EMAIL PROTECTED] wrote: Any chance you're loading child SWFs and then trying to attach the combo boxes there? I'm running into some very strange behavior when doing that (will be posting about it in the next day or so once I