Hi all,
This time is about my project called "Manual Skin Changer" (attached below):
This is a manual skin changer project with no plugin. Only change/load some images to change the skin.
I used an .INI file to load image file and i used Image.SetVisible = true or false to change the image objects
like example below:
My Question is:
Is it possible to use an .INI file to change the showed BUTTON object with the new one like the script above?
if i use this INI file
so, whats the next action (scripts) to show/load the new button?
The point is when the image color (background) is changed, all objects on it will change too.
Sorry for my poor english
Many Thanks - arrigato - gracias - shukran - terimakasih
Regards,
S i R A Y
sierra india romeo alpha yahoo
NB:
Pls correct if you got wrong structure or some mistakes of scripts in this project, thanks.
This time is about my project called "Manual Skin Changer" (attached below):
This is a manual skin changer project with no plugin. Only change/load some images to change the skin.
I used an .INI file to load image file and i used Image.SetVisible = true or false to change the image objects
like example below:
greenimage = INIFile.GetValue("AutoPlay\\Docs\\skin.ini", "green", "image2");
Image.Load("ImageYellow", greenimage);
Button.SetVisible("ButtonYellow", false);
Button.SetVisible("ButtonRed", false);
Button.SetVisible("ButtonGreen", true);
Image.SetVisible("ImageYellow", true);
Image.Load("ImageYellow", greenimage);
Button.SetVisible("ButtonYellow", false);
Button.SetVisible("ButtonRed", false);
Button.SetVisible("ButtonGreen", true);
Image.SetVisible("ImageYellow", true);
My Question is:
Is it possible to use an .INI file to change the showed BUTTON object with the new one like the script above?
if i use this INI file
[Green Skin]
green=greenbutton.btn
green=greenbutton.btn
The point is when the image color (background) is changed, all objects on it will change too.
Sorry for my poor english
Many Thanks - arrigato - gracias - shukran - terimakasih
Regards,
S i R A Y
sierra india romeo alpha yahoo
NB:
Pls correct if you got wrong structure or some mistakes of scripts in this project, thanks.
Comment