Hi all
Is there a solution for a changing button grafic (toggle button) like:
- Fullscreen on/off
- Sound on/off
- Rotation on/off
peter
changing button grafic
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi
This can be done by placing one image on top of another. The top image is the up state, say an auto rotate button. Set the action on click toggle alpha = 0.01, $self, also on click toggle auto rotate.
So, on click the top image turns transparent showing the bottom image which could be the auto rotate button with a red line going through it.
Hope this helps
Hopki
This can be done by placing one image on top of another. The top image is the up state, say an auto rotate button. Set the action on click toggle alpha = 0.01, $self, also on click toggle auto rotate.
So, on click the top image turns transparent showing the bottom image which could be the auto rotate button with a red line going through it.
Hope this helps
Hopki
Last edited by Hopki on Mon Jan 12, 2009 1:15 pm, edited 2 times in total.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 470
- Joined: Sat Sep 09, 2006 10:51 am
- Contact:
The structure of this kind of button can become pretty complex if you want a fancy one.
Here's a screenshot of one of mine that still needs some tidying up : )
And this is roughly how it looks on screen
You can 'see it in action' here: http://tinyurl.com/CasoniForest-01-LARGE (4.9MB!)
(choose the Flash version if DevalVR is selected automatically)
Here's a screenshot of one of mine that still needs some tidying up : )
And this is roughly how it looks on screen
You can 'see it in action' here: http://tinyurl.com/CasoniForest-01-LARGE (4.9MB!)
(choose the Flash version if DevalVR is selected automatically)
Last edited by erik leeman on Mon Jan 05, 2009 1:44 pm, edited 1 time in total.
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Erik
Like you button,
The only problem with a full screen button that has a up and down state is that in flash the first thing you are shown is text telling you to hit Esc to exit full screen mode.
This by-passes all the toggling and you end up with returning to normal view with the button still showing that you are in full screen mode. The disable mouse keyboard tick box does not stop the Esc button working either.
Over to Thomas
Cheers Hopki
Like you button,
The only problem with a full screen button that has a up and down state is that in flash the first thing you are shown is text telling you to hit Esc to exit full screen mode.
This by-passes all the toggling and you end up with returning to normal view with the button still showing that you are in full screen mode. The disable mouse keyboard tick box does not stop the Esc button working either.
Over to Thomas
Cheers Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 470
- Joined: Sat Sep 09, 2006 10:51 am
- Contact:
Yep, that's a problem with fullscreen buttons.
These buttons also 'break' if you have hotspot links to external webpages with a _blank target.
When that external page opens, the fullscreen pano is forced back to non-fullscreen, but the button graphic doesn't change.
Not a major pain, but irritating non the less.
These buttons also 'break' if you have hotspot links to external webpages with a _blank target.
When that external page opens, the fullscreen pano is forced back to non-fullscreen, but the button graphic doesn't change.
Not a major pain, but irritating non the less.