Greetings all,
I'm currently working on a project where i have created some custom images for use as buttons.
I have created one button to serve to indicate that a button is unselected, and another image of a different colour to be used when the user clicks the button to indicate that it is selected. I know how to switch between the images, but the only way i can do it at the moment is to specify the full path to the image i want to change to. This works fine for the moment, but i want to be able to export the project/set it up on other computers etc, so is there a way to setup relative paths to accomplish this??? I have created a 'Buttons' directory inside my project folder, is there some way in which i can point to the image i wish to change to using a relative path, e.g. "/buttons/lineSelected.jpg"???
Any help muchly appreciated,
- perps.
I'm currently working on a project where i have created some custom images for use as buttons.
I have created one button to serve to indicate that a button is unselected, and another image of a different colour to be used when the user clicks the button to indicate that it is selected. I know how to switch between the images, but the only way i can do it at the moment is to specify the full path to the image i want to change to. This works fine for the moment, but i want to be able to export the project/set it up on other computers etc, so is there a way to setup relative paths to accomplish this??? I have created a 'Buttons' directory inside my project folder, is there some way in which i can point to the image i wish to change to using a relative path, e.g. "/buttons/lineSelected.jpg"???
Any help muchly appreciated,
- perps.
Last edited: