[flexcoders] Re: Index of an itemRenderer
Thank you FlashCanon. I added the rollOver="trace(event.currentTarget.parent.getChildIndex(event.currentTarget))" to my custom itemRenderer and that is tracing out an index value. Now the only problems lies in what Tracy had said in her first response about how only 5 items exist at once in a 10 item list. My list displays four items at a time but has 6 total. Therefore if I scroll over to item 6 and rollOver it, the index shows up as four, because it is now the 4th item in the list. Not sure what I am going to do about that one.
[flexcoders] Re: Index of an itemRenderer
I've got a repeater which is creating objects based on how many items are in the HorizontalList. For the sake of this example lets say there are 6 items. When I roll over an itemRenderer in the list I am passing data to that object based on which itemRenderer you are rolled over using event.itemRenderer.data. That works fine if I am only passing it to repeated object number 1 from every single item in the list. But I would like to pass the appropriate data to each appropriate object based on which itemRenderer you are over. So if you are rolled over itemRenderer 4, pass data to object 4. Does this make sense? Any ideas?
[flexcoders] Re: Usergroup in Minneapolis?
Yes. There are two flash/flex user groups in Minneapolis. One is more of a lecture based/QA user group for all levels of skills called FlashMN (http://www.flashmn.com/). And is an open invitation for anyone. The other is in a discussion format where a new topic is brought to the table for each meeting and we all talk about our opinions, experiences, etc. That one is called MN.SWF (http://groups.google.com/group/mnswf?hl=en) and is intended for advanced users. In order to come to these meetings you must be approved to join the group on this google groups link. Hope to see you around dorkie dork from dorktown. :)
[flexcoders] Index of an itemRenderer
Is there a way to get the index number of an itemRenderer in a HorizontalList component onRollOver?
[flexcoders] HorizontalList over item?
How the heck to I figure out the specific item in a HorizontalList that is being rolled over? What event do I have to listen for? I am trying to pull an index number of the itemRenderer in the list that is rolled over, but I can only seem to get the one that is selected. Please help.
[flexcoders] ScrollBar with easing?
Does anyone know how one might go about applying easing to a scrollbar in Flex?
[flexcoders] Reposition Button label when embedding a font?
I'm trying to create an Actionscript class that extends Button. Everything works great except for when a different font is embedded the label moves up a few pixels. How can I reposition the label inside the button so that it is centered again? Do I really have to extend UIComponent instead of Button just because of label positioning?
[flexcoders] Reposition label inside button component
I'm trying to create an Actionscript class that extends Button. Everything works great except for when a different font is embedded the label moves up a few pixels. How can I reposition the label inside the button so that it is centered again?
[flexcoders] Embedded Fonts & Filters Issue
I'm wondering if anyone else has come across this one. I am embedding a font in Flex using FlashType for use on a button component. onRollOver of this button I am using a Glow effect. When the glow filter is applied the font changes to having no anti-aliasing. onRollOut, when the filter is removed the font goes back to normal. Anyone seen this before and have a solution?