Don't use getNextHighestDepth() when using the v2 component framework.
Use the DepthManager.

So I'd start by removing whatever hoops you're currently jumping through and 
replace all getNextHighestDepth() methods with 
DepthManager methods and see if it works as is.

regards,
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 (_cbCategory.getDepth());
_cbCategory.swapDepths(nDepth);
trace (_cbCategory.getDepth());

this is that same onComboOpen function I posted before, with one extra 
trace...noticed some interesting stuff here:

1st time:

2
1
2

2nd time:

19
2
19

3rd time:

36
19
19

So getNextHighestDepth is finding the next highest depth, its just the combobox 
won't take that depth.  Any ideas here?


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to