Page 1 of 1

SVG images bug?

Posted: Tue Feb 27, 2018 5:07 pm
by MEC
I've imported in SVG image in the skin editor. I've imported images for the "normal", "mouse over" and "selected" mode. When I generate my output the "selected" mode is not working. I've include my skin in attached zipped file, hope this helps.
Any help is welcome...

cheers,
Seger

Re: SVG images bug?

Posted: Tue Feb 27, 2018 8:32 pm
by Hopki
Hi Seger,
The three states work like this.
• normal is the default image
• mouse over, this image only shows when you mouse over the button
• selected, this only shows when the mouse is down

On mouse release the mouse over state will show as your still hovering over the button and then the normal state when you move the mouse away from the button.
By the looks of it your mouse over and selected states are the same graphic, so you wont see any change when you click.
Regards,
Hopki

Re: SVG images bug?

Posted: Wed Feb 28, 2018 11:29 am
by MEC
Thanks Hopki,

Correct, mouse over and selected state are the same graphic. I was under the impression that the selected state would be visible also after the mouse is down....until clicked again.

The numbers (buttons) are indicating a floor level linked to a map image including hotspots.
This is what I try to achieve: I want to indicate the selected floor level after clicking on it. I would like to keep the floor level button popping up as long as my selected pano is on screen. So, the button is indicating on which floor level the pano in view is positioned.

Any suggestions?
Thanks in advance.

Regards,
Seger

Re: SVG images bug?

Posted: Wed Feb 28, 2018 3:35 pm
by Hopki
Hi Seger,
You can stack two button graphics.
I would use a variable true/false.
The idea is the button would have normal and mouse over states.
Then on click the button would hide using the logic block and the active button would then show.
Please project attached.
Regards,

Re: SVG images bug?

Posted: Wed Feb 28, 2018 6:17 pm
by MEC
perfect! many thanks Hopki.

regards,
Seger