Hey

Straight after you set the URL of the image....remove the listener.

:)

On Oct 2, 11:04 pm, D L H <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I'm trying to create an Image LoadListener that will remove itself
> from the image once the image is finished loading. I tried using
> image.removeLoadListener(this); but that gave me a
> ConcurrentModificationException. Then I tried making the LoadListener
> a final and using image.removeLoadListener(myLoadListener); but
> myLoadListener was not yet initialized since it was called from inside
> it's own onLoad method. I also played around with DeferredCommand a
> bit, but I'm not sure how to get that to work.
>
> Thanks in advance for your help.
>
> -DLH
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to