Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When image files have changed on disk



Supposing you have an image.jpg file that has been loaded into your applet and displayed... if that file has changed on disk, how can you force a reload of it inside of the widget so that the new image is displayed? If the pathname to the file hasn't changed, it doesn't reload the image automatically, even if you empty the image.src property and then re-set it to the same value.

The same problem most likely happens with URLs from the web also, I haven't tested that though.

Brian


_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.