Jump to content

Updating A Static Image


Maccer.

Recommended Posts

So, I was making a button that changes images when clicked on, so I tried different methods.

The first method is basically a remote onClientClick, it's used for world purposes though. It updates, but clicking doesn't work anymore.

The second method attempts to update from onClientGUIClick, but it doesn't, but still functions.

The third method just fails to call because... well it doesn't matter.

What are the best methods of changing a static image?

Edit: Ah, forgot to mention I destroy the image-button element first and create a new one, assigning it to the same variable.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...