Page 1 of 1

Integration of a full screen buton in a textpage

Posted: 23 Oct 2008, 10:32
by lipapa
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

Posted: 25 Oct 2008, 01:45
by mjau-mjau
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

Posted: 27 Oct 2008, 07:41
by lipapa
Thank's for your answer Karl,

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

thank's again

Posted: 29 Oct 2008, 04:49
by mjau-mjau
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" />

Posted: 15 Nov 2008, 07:59
by MorningWood
:?: 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.

Posted: 21 Nov 2008, 03:44
by mjau-mjau
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/

Posted: 24 Nov 2008, 04:41
by MorningWood
Thank you for the time you invested in this. :D