You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/10/30 09:15:07 UTC
[GitHub] Harbs commented on issue #60: Image not removed when src set to null
Harbs commented on issue #60: Image not removed when src set to null
URL: https://github.com/apache/royale-asjs/issues/60#issuecomment-340385581
There's no way to set an image have no source in HTML. If the src is empty, it shows as a broken image.
The best you can do is set it to a tiny transparent image:
https://stackoverflow.com/questions/19126185/setting-an-image-src-to-empty
So there's no good way of fixing this on the framework level that I know of. You can probably set visibility to false and use a load event listener to make it show again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services