First time here? First time here? Newsletter Signup Newsletter
651326 Members and growing! | Flash Jobs
Search tutorials
Author: Gonzalo Alustiza

Creating the Invisible Frame

You are asking yourself, Why use an invisible frame?. The answer is: it is not mandatory but, an invisible frame allows to keep the Flash Movie(s) in a single place and avoids the need to embed movies in every single web page that needs sound. Also, the invisible frame makes it easy to control the loading process for the sounds and eliminates the case when you load a sonified web page without the sounds ready to play, which leads in the best case to your users not being able to enjoy your sound work and in the worst case your users get ugly error messages.

Keep in mind that some problems arise when you use this method, for example, you have to be careful with the target property for your pages so your frame doesn't get overwritten and, if you are linking to pages outside your web site, you have to make sure that your frame does not ‘parasite’ them.

Both minor difficulties can be easily solved with a bit of JavaScript and examination of the HTML code.

To create an invisible frame you'll use HTML code like this:

<html>

<head></head>

<frameset framespacing="0" border="false" rows="2,*" frameborder="0">

<frame name="soundtown" src="soundtown.htm" scrolling="no" target="contents"> THIS IS THE SOUND PAGE = frames[0] (see below)

<frame name="webpages" src="YourWebPage.htm" target="main" scrolling="auto"> THESE ARE THE OTHER PAGES = frames[1] (see below)

<noframes>

<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>

</noframes>

</frameset>

<frameset>

<noframes>

<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>

</noframes>

</frameset>

</html>

Your actual code may vary but, what I am trying to show here is that you need to create a small (invisible) frame which will load a web page you'll be creating exclusively for sound purposes and a normal frame that will hold the other pages that make up the site.

» Level Intermediate

Added: 2001-02-20
Rating: 5.83 Votes: 30
(10 being the highest)
» Author
My name is Gonzalo Alustiza and I work as a chief developer at Soundtown Argentina. Soundtown is a ten year old music production company specializing in music for advertising and TV which started to develop sonification solutions for the Internet.
» 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: 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.