Hello everybody!!!
My english isn't very good, but I'll try to explain my problem with the ListBox the best I can.
-------------------------------------------
I have a ListBox... imagine that it's in the _root. It has "myListBox" instance name. And on the frame there is this code:
myListBox.setChangeHandler("generate")
function generate(obj){
myListBox.setEnabled(false)
}
To apply the rollOver on it, I replace the script located in:
+ Flash UI Components
+ Core Assets - Developer Only
+ FUIComponent Class Tree
+ FUIComponent SubClasses
> FSelectableItem
Between the lines 65 to 77 (of the label script) appears this code:
65- this.highlight_mc.onPress = function()
66- {
67- if (this.controller.enable) {
68- this.controller.controller.clickHandler(this.contr oller.itemNum);
69-
70- }
71- }
72- this.highlight_mc.onDragOver = function()
73- {
74- if (this.controller.controller.focused) {
75- this.onPress();
76- }
77- }
... AND I replace this code to this one:
65- this.highlight_mc.onRollOver = function()
66- {
67- if (this.controller.enable) {
68- this.controller.controller.clickHandler(this.contr oller.itemNum);
69-
70- }
71- }
72- this.highlight_mc.onDragOver = function()
73- {
74- if (this.controller.controller.focused) {
75- this.onRollOver();
76- }
77- }
The thing is that there are a mistake when my Items in the List aren't more in height than the height of the ListBox. I click one of the Items and the ListBox now is disabled. But I move the cursor over the ListBox, from downside to upside, and the first Item turns on and I can click it again.
So, my question is: Can a add something for total disable of the listbox???
I try to put in the line 67- (replacing), something like:
if (this.controller.enable && myListBox.getEnabled(true)) {
But I have others ListBox that are disabled, and I setEnabled(true) them later. So the problem start again in "myListBox" when another ListBox is enabled.
Then I try to put this in the line 68-(continuing with the last replace), replacing this line with:
_root.myListBox.FListItemSymbol.FSelectableItemSym bol.controller.controller.clickHandler(this.contro ller.itemNum);
or
_root.myListBoxInstance.superClassAsset.itemAsset. controller.controller.clickHandler(this.controller .itemNum);
But it doesn´t work...

Any idea??? Thanks!!