Search…

X3 Photo Gallery Support Forums

Search…
 
lipapa
Topic Author
Posts: 15
Joined: 08 Oct 2008, 04:47

Integration of a full screen buton in a textpage

23 Oct 2008, 10:32

Hi,

for my presentation page I would like to invit my guest to clic on a link wich will turn the website in full screen mode, does anyone have a tips for that ?

Thank's

lipapa
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

25 Oct 2008, 01:45

lipapa wrote:for my presentation page I would like to invit my guest to clic on a link wich will turn the website in full screen mode, does anyone have a tips for that ?
You mean apart from the "fullscreen" button that is already in the maincontrols?

Unfortunately, you won't be able to add such a function to a normal text link in a textpage in any way. You could create your own button.swf, and embed it into your textpage. Just set the button to trigger the following command:
Code
_root.togglefullscreenfunc();
Export AS2.0
 
lipapa
Topic Author
Posts: 15
Joined: 08 Oct 2008, 04:47

27 Oct 2008, 07:41

Thank's for your answer Karl,

can you give me the code to add a flash button in to a textpage?

thank's again
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Oct 2008, 04:49

Taken into consideration you have created the SWF with the code above that acts as a button, you can integrate the SWF in your textfield something like this:
Code
<img src="yourswf.swf" width="50" height="29" />
 
MorningWood
Experienced
Posts: 60
Joined: 13 Nov 2008, 14:31

15 Nov 2008, 07:59

:?: Can this also be done by just using a link(or image) instead of a button in flash? :?:


This would really give maximum viewing pleasure for people with small screen resolution. Most people will not notice the button in image controls.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

21 Nov 2008, 03:44

MorningWood wrote::?: Can this also be done by just using a link(or image) instead of a button in flash? :?:


This would really give maximum viewing pleasure for people with small screen resolution. Most people will not notice the button in image controls.
I initially thought this was not possible, but then I did some research and found out otherwise. You can call certain functions from textlinks - For example you should be able to do this:
Code
<a href="asfunction:_root.togglefullscreenfunc">Click here</a>
More info:
http://kb.adobe.com/selfservice/viewCon ... &sliceId=2

Now I also have to mention that after the release of the filemod extension, you can also setup a startimage or photoblinds effect and use the click parameter to go fullscreen.
https://www.photo.gallery/v2docs/articles/filemod/
Last edited by mjau-mjau on 25 Nov 2008, 22:50, edited 1 time in total.
 
MorningWood
Experienced
Posts: 60
Joined: 13 Nov 2008, 14:31

24 Nov 2008, 04:41

Thank you for the time you invested in this. :D