I'm experiencing problems with the HorizontalList. Put up a HorizontalList and bind it to a XMLListCollection. In my case I'm showing some images.
1. Make it so that the list has horizontal scrollbars (e.g. by scaling the browser window)
2. Drag the scrollbar so that the _first_ tile disappears
3. scroll the _first_ tile into view again
4. click on any one of the tiles and...
Error: Invalid index: -1
at mx.collections::BaseListCollectionView/http://www.macromedia.com/2005/flex/mx/internal::getBookmark()
at mx.collections::BaseListCollectionViewCursor/get bookmark()
at mx.controls.listclasses::ListBase/selectItem()
at mx.controls.listclasses::ListBase/mouseDownHandler()
Anybody see this issue, and found a fix?? I'm really desperate...
Thank you for any help!!
-michael
****** app.mxml
<mx:HTTPService id="srv" url="" resultFormat="e4x" useProxy="false" result="resultHandler(event)" />
<mx:HorizontalList dataProvider="{mediaAssets}"
height="200"
width="400"
listItemRenderer="Thumbnail">
</mx:HorizontalList>
****** thumbnail.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.macromedia.com/2005/mxml"
borderStyle="solid"
width="141"
height="180"
verticalAlign="middle"
verticalGap="0"
vScrollPolicy="off"
hScrollPolicy="off">
<mx:Image source="./{dataObject.previewFile}"/>
<mx:Label text="file: {dataObject.previewFile}" />
</mx:VBox>
Anybody experiencing problems with the HorizontalList in flex2?
Here's my problem:
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.