<font color="red">New build : You can now specify the width/height of the container when loading the image. The refresh should also work better. The demo is updated !
Plugin : http://dl.dropbox.com/u/1412774/InjectImage/pode_injectImage.0.2.zip
.capx : http://dl.dropbox.com/u/1412774/InjectImage/InjectImage.0.2.capx
</font>
<font color="blue">Edit : added this info : you can also directly inject the URL of an image, instead of a base64 string !</font>
Since you can extract current Image (http://www.scirra.com/forum/behavior-extract-sprite-to-base64-string_topic50577.html), why not inject Image ? <img src="smileys/smiley1.gif" border="0" align="middle">
<img src="http://dl.dropbox.com/u/1412774/InjectImage/demo.png" border="0">
http://dl.dropbox.com/u/1412774/InjectImage/index.html
For the moment, you can inject base64 string, and it's going to replace the current Sprite image's texture.
.capx : http://dl.dropbox.com/u/1412774/InjectImage/InjectImage.capx
Plugin : http://dl.dropbox.com/u/1412774/InjectImage/pode_injectImage.0.1.zip
<font color="red">BEWARE !! The collision polygon used is stilll the one from the first Sprite ! So for the moment, if you use collisions, and want that everything goes smooth, keep injecting images of roughly the same shape !</font>
<font color="blue">If you don't use collisions, you don't care about that anyway <img src="smileys/smiley2.gif" border="0" align="middle"></font>
I'm going to provide a way to specify a new polygon in a new release...