I've got stucked with my project. I want to create inventory, where player would be able to pick items, and their graphic representations will be shown in inventory.
I created placeholders for items, they are all the same sprite (inventory_slot) but with different names (slot1, slot2 etc.). I've got fucntion that selects slot to put item and then puts it into that slot. Problem shows when I try to load image from given url - it loads image to all instances of inventory_slot. Here's a screen how it looks:
<img src="http://screenshooter.net/data/uploads/ai/eu/tqbj.jpg" border="0" />
<img src="http://screenshooter.net/data/uploads/by/fg/kjxv.jpg" border="0" />
Can I load image to one instance of sprite only? If not, maybe there is another way to create items in inventory dynamically?