07-13-2009, 03:06 PM
To my knowledge calling .dispose is the only way when you are deleting the window together with the image in it.
If you only want to make them temporarily disappear, you can use the visible attribute and link the image's one to the window's one with a piece of code similar to this one:
though it might be different depending on the cases.
If you only want to make them temporarily disappear, you can use the visible attribute and link the image's one to the window's one with a piece of code similar to this one:
Code:
class Window_Map < Window_Base
def visible=(value)
@visible=value
@Map_Image.visible=value
end
end
though it might be different depending on the cases.