I customized some hyperlinks colours but I can't see it on the web when I publish it. I have open the project several times, so I don't think it's a refresh problem...
Ammm.. help?
m4u
13 Aug 2013 15:31
Anyone knows how to fix this?
jaynabonne
13 Aug 2013 16:04
Can you give an example of how you customized the hyperlink colors?
m4u
13 Aug 2013 16:34
Yes, I go to the object, in the tab object, hyperlink options and change the color...
By the way, in internet explorer the hyperlinks appears underlined, even if i don't select the underline option in the game tab. It doesn't happen in the other browsers...
m4u
14 Aug 2013 04:13
Any idea how to solve it?
jaynabonne
14 Aug 2013 07:57
I haven't had time to go work up a sample that has the effect. If you could post some small file that shows the problem, it would help the answer come faster.
Unfortunately, it seems to be something buried deep down in the player. There is a function called "GetUIOptions" which is used to query things like whether to use the game font, link color, etc. I can only guess that it's returning different values in the web player (both IE and Chrome ignore the link attributes for me, using internal defaults instead).
Looking at the code I had pulled down for Quest, I get the idea that Alex is working on a way to be able to customize whether you use certain attributes, like these color and link styles. Perhaps something has been rolled out in the web player but the defaults aren't set properly (and we have no way to change them).
If you don't need individual link colors, you can set the global game link color, and that should work. If you do need individual link colors, etc, then you could probably make local copies of the relevant core functions and remove the calls to GetUIOptions so that you always get the colors and effects you want.
m4u
14 Aug 2013 16:54
"then you could probably make local copies of the relevant core functions and remove the calls to GetUIOptions so that you always get the colors and effects you want"
That's seems complicated. Can you give me an example?
jaynabonne
14 Aug 2013 17:14
Add the attached library to your project. It has some overrides for the relevant functions. All you need to do is add the library. See how it works.