RE: [flexcoders] Problem with image and cache

2006-02-01 Thread Matt Chotin
Hmm, make sure that the complete event is firing on the Image and see if the 
source is right when that event fires?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Barrau 
Antoine
Sent: Monday, January 30, 2006 10:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with image and cache

Hi,
we are currently exeperiencing a strange issue, and i
want to know if anyone have a clue on this.
We're doing a store application in Flex 1.5, and we
use a simple mx:image tag to display a product image.
To display the image, we use a binding on a global
object called selectedItem.(very basic for the
moment).
so we have : 


Things are very simple here, but we have the following
issue : 
if i display the product several time, we don't get
the same image each time!
The weird thing is that if i add a Dumper.trace("Image
source="+largeImage.source) on a mouseDown event on
the image, we have each time the same source (so
there's no mistake on the selectedItem).

I think it's may be a cache problem, but i want to
know if anyone  has already experienced that?

Thanks a lot,
Antoine

R.I.A Consultant
Unilog








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


--
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



 




--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Problem with image and cache

2006-01-30 Thread Barrau Antoine
Hi,
we are currently exeperiencing a strange issue, and i
want to know if anyone have a clue on this.
We're doing a store application in Flex 1.5, and we
use a simple mx:image tag to display a product image.
To display the image, we use a binding on a global
object called selectedItem.(very basic for the
moment).
so we have : 


Things are very simple here, but we have the following
issue : 
if i display the product several time, we don't get
the same image each time!
The weird thing is that if i add a Dumper.trace("Image
source="+largeImage.source) on a mouseDown event on
the image, we have each time the same source (so
there's no mistake on the selectedItem).

I think it's may be a cache problem, but i want to
know if anyone  has already experienced that?

Thanks a lot,
Antoine

R.I.A Consultant
Unilog








___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/