Here u go. <img src="smileys/smiley20.gif" border="0" align="middle">
Dropbox Image Example
All the logic is in the capx.
If there are any questions i'l help gladly.
Ps: In the Capx The Sprite has a variable called Name.
That is important if u want to save images under different names for different sprites or sprite instances.
This way u get a nice list in the webstorage easy to retrieve.
The image variable in the webstorage is always saved as "custom image".
But saved under the name of the sprite.
So u could have;
Sprite name = John
Webstorage = John & "custom Image"
Sprite name = Pete
Webstorage = Pete & "Custom Image"
In the end your dropbox will have a .txt file with the complete webstorage in it, including the images.
This makes it super for games with user content.
The nice thing about the dropbox plugin, is that when your app is approved by dropbox.
The player of the game uses their own dropbox to save the data!
The plugin just uses your dropbox secrect, letting dropbox know its your app that has connected with the players own dropbox.