Making the Object’s Picture persistent



I need some help here. Object A is a pop up menu that changes the picture of Object B. It works fine. I export it as a gadget and test it out. I close and then re-open the gadget and the picture changes back to the original one! I have changed text, hue, and other properties and they all "stay" the way I want them to after closing and re-opening. They do not revert back to the original state. Can anyone help me?! I’ve tried everything I can think of and I’m all out of ideas. Is there any detail I should consider? Any suggestions? Any help is greatly appreciated. Thank you.
2,730 views 3 replies
Reply #1 Top
Any suggestions?
Reply #2 Top
Have you tried storing the new picture in persistent storage. That is as Object.LocalStorage or Object.PersistStorage. I believe these properties exist for that very reason, although I haven't worked with them yet, it's what's indicated about them in the documentation. Once your picture is stored in the object you would then set the new (changed) initial image from Object_OnScriptEnter subroutine. I hope that helps.
Reply #3 Top
Thanks for the reply,

That is exactly what I used before.(I use persiststorage ALOT) I exported the whole thing as a gadget and it did not work.

I then tried exporting as a widget later and it finally worked.
That's one problem solved and several more to go. Thanks again.