Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
allnicksalreadytaken #1
TileList images disappear on scroll possible bug?
Hello, i've build a TileList (also noticed on HorizontalList) filled with
<mx:Image> tags as itemrenderer, the source properties of the images are Bitmap
Objects just like here:
[url]http://blog.flexexamples.com/2007/08/03/duplicating-images-using-the-bitmap-and-[/url]
bitmapdata-classes/
please look at the comment from betehes (May 8th 2008), i'm having the exact
same problem:
if i scroll around some images disappear ( on the example above this happens
when there are around 30 images in the list and i'm scrolling fast)
is there a workaround for this problem?
allnicksalreadytaken Guest
-
Dynamic TileList + Images
Hi all I made a tile list inside tab navigator both dynamically.. now I want Images whose URL is in XML to displayed according to tab change.... -
Add Tags and Images disappear
When tagging a document to be accessible to the visually impaired (using Add Tags to Document), some of my images disappear. Poof. I can manually... -
Could XML tags cause portions of images to disappear in PDFs?
An question with some unknown variables ... but here goes ... We have recently discovered portions of certain images lose elements when PDFd and... -
Scroll bar for images + text
Hi, is it posible to make a scroll bar for dynamic text box and a picture (picture holder) toghatter? or maybe it is posible to view a html (or... -
scroll text and images together
Here's another article "Scrolling text with Graphics" http://director-online.com/buildArticle.php?id=465 Although it might be more about... -
allnicksalreadytaken #2
Re: TileList images disappear on scroll, possible bug?
in case anyone is interested i found the solution:
instead of using:
<mx:Image source="{data.image}" />
in the itemrenderer use this, and set display namespace to: "flash.display.*"
<mx:Image>
<mx:source>
<display:Bitmap bitmapData="{data.image.bitmapData}">
</display:Bitmap>
</mx:source>
</mx:Image>
i dunno what flash is doing different then, but that helps
best regards
Martin
allnicksalreadytaken Guest
-
Bryan Dresselhaus #3
Re: TileList images disappear on scroll, possible bug?
You can also set your image source to data.image in the commitProperties
function of the itemRenderer. That way when it scrolls or you drag the items
the image source stays the same.
protected override function commitProperties():void {
image.source = data.image;
}
Bryan Dresselhaus Guest
-
Unregistered #4
Re: TileList images disappear on scroll possible bug?
"<mx:Image>
<mx:source>
<display:Bitmap bitmapData="{data.image.bitmapData}">
</display:Bitmap>
</mx:source>
</mx:Image>
"
Nice tip! It helps !Unregistered Guest
-



Reply With Quote

