First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: shockwave | Website: http://www22.brinkster.com/thedecknician

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(){            
fullWin=window.open('main2.html', 'fullWin', 'scrollbars=no, menubar=no, toolbar=no, status=no');
window.opener.location=('exit.html');
window.close();
}

function popWindow(){ popWin=window.open('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(){
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeight)
}
</script>



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!

Comments

  • 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: S.Saipriya
» Title: Flash Fire Effect
» Description: This tutorial explains about how to create Fire Effect in Flash of Actionscript 2.0.I hope this tutorial helps you!
Featured Sound Loops
Image for equalize

Audio Player

» Author: Aidan Crouzet-Pascal
» Title: Falling Star
» Description: This loop is a cool sounding, E minor loop.
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: Brandan Paulin
» Description: Epic sounding loop with Brass, Percussion, Strings and Winds. This is actually part of a Loop Pack called the Coming where you can download the rest of the loops that go with it FREE from my website.