![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
Amy,
I had a look at your blog and it is kinda comforting to know that others too have floundered getting to grips with itemRenderers. As regards stepping through the Flex framework code, I have done that with the textInput property of the ComboBox and it's just everywhere in the ComboBase source.The textInput is in createChildren(), styleChanged(styleProp:String) - where no less than 5 eventListener methods are attached, updateDisplayList, setFocus, and isOurFocus(target isplayObject). I think there comes a pointwhere overriding is just too troublesome so it might be best to start over and learn the lessons from the Flex source. eg the dropdown is added via a PopUpManager.addPopUp() call. The itemRenderer remains a mystery I am afraid despite stepping through and into the code carefully as it seems to be there in both 'this' and in the dropdown it has. |
| Sponsored Links |
|
|||
|
"blipstation" <webforumsuser@macromedia.com> wrote in message news:gghuhu$gn0$1@forums.macromedia.com... > Amy, > > I had a look at your blog and it is kinda comforting to know that others > too > have floundered getting to grips with itemRenderers. > > As regards stepping through the Flex framework code, I have done that with > the > textInput property of the ComboBox and it's just everywhere in the > ComboBase > source.The textInput is in createChildren(), > styleChanged(styleProp:String) - > where no less than 5 eventListener methods are attached, > updateDisplayList, > setFocus, and isOurFocus(target isplayObject). I think there comes a> point > where overriding is just too troublesome so it might be best to start over > and > learn the lessons from the Flex source. eg the dropdown is added via a > PopUpManager.addPopUp() call. You missed my point. Depending on what the _type_ they used for the variable they refer to the textinput, you can simply delete it right after it's created and replace it with something that's more to your liking...which will then be acted on by all those other methods. If the type actually is TextInput, you're SOL, but if it starts with I, for example, that's an interface and there might be another object that implements the same interface that you could use to replace it. Hope this clarifies; Amy |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise