You are on the right track here. The mxml
will compile itself into the swf when referenced properly. Remember to add any
package names to the reference to the itemRenderer. Here is an example Package: Com.blah.blah Class: ItemRenderer.mxml HorizontalList: <mx:HorizontalList itemRenderer=”com.blah.blah.ItemRenderer”
/> P.S. from your example, remember to set
the width=”100%”and height=”100%’ on the vbox in the
ItemRenderer file. You may not need to do this, but it definitely shouldn’t
hurt J Also the ItemRenderer=”MYITEMRENDERER” is
case-sensitive. Unless your ItemRenderer.mxml file is all caps, that won’t
work. From: Setting repeatCount="0" gave me
the effect I has hoping for. The other Issue I am having is that the items in my
HorizontalList are Images and I want the Image to occupy 100% of the List
having a columnCount= <?xml
version="1.0"?>
<mx:VBox xmlns:mx="http://www.adobe.
horizontalAlign="center"
verticalGap="0" borderStyle="none">
<mx:Image id="image" width="100%"
height="100%" source="{data.image}"/> </mx:VBox> but
cannot get it to work when I supply the
itemRenderer=”MYITEMRENDERER” property of the HorizontalList.
Does the mxml file need to be complied? How do additional mxml files get
compiled when running the main application? From: I need each item to rotate one after the other like 1,2,3,4,1,2, From: Do you need to only have one rotating at a time, rotating after one
another and then starting again, or do they all need to rotate at once?
What is the exact behavior you want to see? One thing you can try is
setting the repeatCount on your sequence effect. That should make the
sequence start again, but I am not sure if that’s exactly what you are
looking for. From: Is it possible
to rotate the items in a HorizontalList? I have used -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcoders] Rotate Items in HorizontalList bulldog65mustang
- RE: [flexcoders] Rotate Items in HorizontalList Dustin Mercer
- RE: [flexcoders] Rotate Items in HorizontalList Jeremy Crane
- RE: [flexcoders] Rotate Items in HorizontalL... Jeremy Crane
- RE: [flexcoders] Rotate Items in HorizontalList Dustin Mercer
- RE: [flexcoders] Rotate Items in HorizontalList Dustin Mercer
- RE: [flexcoders] Rotate Items in HorizontalList Jeremy Crane