How to Update Cached Images at Runtime
User Question :
If we modify an image (png) file underneath storyboard – does storyboard refresh its cached image? Can we force this?
Answer :
Cached images are not automatically refreshed, however they can be refreshed by dumping the current resource and reloading it, using gre.dump_resource and gre.load_image. If the image is on the current screen, it will not change until the screen is refreshed or the image is reset manually using gre.set_value.
Dump Resource: http://resources.cranksoftware.com/cranksoftware/v5.3.0/docs/webhelp/index.html#apas01s34.html
Load Image: http://resources.cranksoftware.com/cranksoftware/v5.3.0/docs/webhelp/index.html#apas01s36.html
0
Comments
Please sign in to leave a comment.