Okay, after a several e-mail requests for a tutorial on how to create a fullscreen Flash HTML page here's my no-frills easy to follow version. Only 4 steps involved and as long as you know how to alter source code you should have no problems, basically everyone should be able to achieve this.........have fun.
[ul][li]Step 1[/li][/ul]
Put the following in a text editor and save as "main.html":
Create your link button (or frame action) in a flash movie and publish as a page called "linker.html".
The link-button (or frame action) to your fullscreen page must have the action:
[color green][ignore]
Get URL ("bottom.html", window="bottom")
[/ignore][/color]
Insert the following code into the <HEAD> of "linker.html" AFTER you have published it:
[color green][ignore]
<SCRIPT LANGUAGE="JavaScript"> var javascript_version = 1.0;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1"> javascript_version = 1.1;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var newwin;
function launchwin(winurl,winname,winfeatures)
{
newwin = window.open(winurl,winname,winfeatures);
if(javascript_version > 1.0)
{
setTimeout('newwin.focus();',250);
}
var bversion = parseInt(navigator.appVersion);
var bname = navigator.appName;
if(bname == "Netscape" && bversion == "4")
{
parent.frames[1].location.replace("blank.html");
}
else
{
parent.frames[1].history.back();
}
}
</SCRIPT>
[/ignore][/color]
[ul][li]Step 3[/li][/ul]
Put the following in a text editor and save as "blank.html", change the BGCOLOR to suit "linker.html":
[color green]REVISION A:[/color] I've just uploaded all of te required files to my server in zip format, including all html files and Flash fla's. A 'close window' button has been added, for an explanation of this see faq250-611 (step1). ok, the files and a sample for you to see are at:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.