Hi Nattu,

Yes, the issue has been solved :D by adding a random number at the end
of the url as mentioned.

~Dolly

On Dec 18, 5:21 pm, "Nattu M" <[email protected]> wrote:
> Hi Dolly,
>
> Is your issue solved?
>
> Nattu
>
> On Sat, Dec 13, 2008 at 8:19 PM, dolly <[email protected]> wrote:
>
> > Hi,
>
> > well, the idea of adding a random number worked for me..  Only binding
> > the imagesource was not working previously , especially, when the path
> > was same but the image had changed..
>
> > Thanks,
> > Dolly
>
> > On Dec 12, 7:39 pm, "Nattu M" <[email protected]> wrote:
> > > Hi santhosh,
>
> > > Please use the code below:
>
> > > private var t:Number = getTimer();
>
> > > private var imageSource:String = "../images/noImage.jpg?"+t
>
> > > So everytime it will try to load a updated image
>
> > > Check it
>
> > > Nattu
>
> > > On Fri, Dec 12, 2008 at 1:44 PM, dolly <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I am trying to update an image after changing its path, i have turned
> > > > off the browser caching, also tried setting
>
> > > > cacheAsBitmap="false" cachePolicy="off"  for the image.
>
> > > > Yet, the image do not get refreshed immediately.
> > > > I have also tried img.load(newPath).
>
> > > > Does anyone know how can this problem be solved?
>
> > > > here's the code snippet
> > > >  <mx:Image id="img" source="{imageSource}"  width="100%" height="100%"
> > > > maintainAspectRatio="false" />
>
> > > > private var imageSource:String = "../images/noImage.jpg"
>
> > > > public function refreshImage(newPath):void
> > > > {
> > > >    imageSource = newPath;
> > > >    img.load(newPath);
> > > > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to