This problem is driving me crazy!
I have an edited version of the "journal.xml", which works fine in *every* respect - unless I change its name to "journalsmall.xml" and give it a screen name like "SCREEN_JOURNAL_SMALL". When I do, the XML still works ... apart from the fact that buttons clicked on do NOT revert back to "normal" when clicked on another button. The last button clicked remains as if still clicked!
In other words, the problem occurs with the same XML code when I call it this way:-
DisplayGuiScreen(oPlayer, "SCREEN_JOURNAL_SMALL", FALSE, "journalsmall.xml");instead of calling it this way:-
DisplayGuiScreen(oPlayer, "SCREEN_JOURNAL", FALSE);
The XML code (apart from editing the SCREEN NAME and the file name between testing) is unchanged!
Effectively, the following elements are not being observed when the button they are attached to has returned back to its "UP" state in the renamed file:-
<UIFrame state=up fill="b_g_lg01_normal.tga" /> <UIFrame state=down fill="b_g_lg01_pressed.tga" /> <UIFrame state=focused fill="b_g_lg01_pressed.tga" /> <UIFrame state=hilited fill="b_g_lg01_normal.tga" /> <UIFrame state=hifocus fill="b_g_lg01_pressed.tga" /> <UIFrame state=disabled fill="b_g_lg01_normal.tga" />Has anybody any idea how to get around this problem?
Thanks in advance,
Lance.





Retour en haut








