First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: shockwave | Website:

Ok, that's the splash page coded up and ready to go. Next we'll make the 'screenchooser' page...

Take the 400 x 400 movie you made, and open it up in flash.
In turn right click each of the 3 buttons, choose actions, and select 'getURL' for each from the actions list.
In the space provided type:

    javascript:fullWindow()  >>>> for the fullscreen button
    javascript:popWindow() >>>> for the pop up button
    javascript:normWindow() >>>> for the normal button

Save and publish.

Then, open up the HTML page you have just created from this and drop it into your HTML editor
Inbetween the <HEAD> and </HEAD> tags write/copy this:
NOTE - javascript is caSeSenSItIve!! be carefull

<script language="javascript">
function fullWindow(){   'main2.html', 'fullWin', 'scrollbars=no, menubar=no, toolbar=no, status=no');

function popWindow(){'main.html', 'popWin', 'scrollbars=yes, menubar=yes, toolbar=yes, status=yes'); window.opener.location=('exit.html'); window.close(); }
function normalWindow (){ window.opener.location=('main.html'); window.close; } </script>

Finally open your main site, go to file, choose 'Save As', and call it 'main2' (or whatever you its allready called, but - 2) and click ok. This will make a duplicate of your site. Publish.
Drop 'main2' into your HTML editor and inbetween the and tags write/copy this:

<script language="javascript">
function fitscreen(){

Ok, thats it.

» Level Intermediate

Added: 2001-10-16
Rating: 6.85 Votes: 41
(10 being the highest)
» Author
No details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.