Adobe Dreamweaver Forums



Last 10 THreads :         Variable for Loader Content (Last Post : Sea Crystal - Replies : 0 - Views : 1 )           »          left join won't work in query of query? (Last Post : Dan Bracuk - Replies : 5 - Views : 6 )           »          fireworks exports hundreds of files (Last Post : Rob Miller - Replies : 0 - Views : 1 )           »          Fireworks Color Selection Bug (Last Post : Linda Rathgeber - Replies : 3 - Views : 4 )           »          DIV in Table not working. (Last Post : Jay Jay - Replies : 12 - Views : 13 )           »          Library is missing names from splitter bar (Last Post : Mad Dog - Replies : 11 - Views : 12 )           »          pop up blocker jacking my login (Last Post : Jay Jay - Replies : 5 - Views : 6 )           »          Can Anyone Help With Sub Menus (Last Post : drafted - Replies : 7 - Views : 8 )           »          Why is this not working!!! (Last Post : Boxing Boom - Replies : 11 - Views : 12 )           »          CF8 Enterprise gives 500 errors (Last Post : BJFranz - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #11 (permalink)  
Old 11-25-2008, 10:42 PM
blipstation
 
Posts: n/a
Diggs:
Default Re: {object object] in ComboBox + ListEvent.CHANGEitemRenderer always null

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(targetisplayObject). 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.

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.

Reply With Quote
Sponsored Links
  #12 (permalink)  
Old 11-26-2008, 03:33 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: {object object] in ComboBox + ListEvent.CHANGE itemRenderer always null


"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(targetisplayObject). 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


Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk