Editor's Note
02.23.01

John, from Wyka-Warzecha Enterprises, wrote an article for us
several months ago which dealt with creating Java applets quickly.
It was very popular among WebPro readers. Today more and more web
site builders are using Flash and Java. While it may be fun to watch
the creativity of our world-wide neighbors, the time it takes to
download many of these pages is far from fun. For those of you who
have elected to use these technologies and want to reduce your
download speed, this Bud...I mean..this issue's for you.

I hope that you enjoy it.

Pete

For ad rates and info:  Click Here


bgcolor="#003366" face="Arial, verdana" size="4">Java, Flash and all that Jazz - AND 50% Faster!

So you want to create online video animations, stunning special
effects, great interactivity, sharp and beautiful graphics.

BUT... You want it to load FAST! So how do you do that?

In this article, I will show you, step by step, how you can use the
quality special effects that Java, Flash and wonderful graphics
offer for your site, without sacrificing quality, content or speed!

Java

Java adds great interactivity and additional functionality to your
websites. There are numerous chatrooms, special scripts (such as
special effects menus), sound effects and more that you can either
download or purchase for your website. BUT -- in many cases when
you put it on your site, you can speed it up even *further* by
doing the following!

Practically all browsers support something called a 'jar' file,
which allows you to 'compress' your files usually by 50% or more
(thus 50% faster!). However, not many people know how to do so.
Here is an easy method.

JAR files are essentially a '.zip' file. So what you do is 'ZIP'
all your .class files together (and call it, say, 'javafiles.zip').
Then, simply change the 'extension' (the .zip) to '.jar'. (Click on
the file name with your right mouse button, then click on 'rename',
and then rename the file (in this example) to 'javafiles.jar').

Then, you simply add this code "archive=javafiles.jar" into your
applet tag. I.e.,

<applet archive=javafiles.jar code=mainfile.class>
</applet>

And now -- it will load much faster depending on the compression,
which is usually 50-75% faster!

Flash

Flash is another great way of adding animations to your website
(which is used more for demo 'movies' or an 'intro' to your website).

There's nothing worse than having a 500K or more flash animation
(which can take 2 minutes or more on a slow modem!). Thing is --
a lot of people make the same mistake over and over again, which
could be easily avoided.

A large flash file is usually due to large music files. Instead of
including 1 minute of recorded music, take an 'important chunk' of
it, and replay it over and over (say a 5 second sound bite that
sounds good). (You can usually find any good sound editor off the
net, and cut the 'good' segment, and then easily 'loop' it which can
be controlled in Flash!)

This is what a lot of 'techno' songs do (they have 2 or 3 different
beats overlayed, and keep playing over and over).

And thus, yet another 50% or more in saved downloading time!

Graphics

GIF Images
----------

There are two main file formats. JPEGs (which supports over 16
million colors) and GIFs (which supports 256 colors).

The advantage of GIFs is that you can create animated movies
(in some ways like flash, except small GIF animations are usually
faster), and banner ads. If you want GIFs to load faster, you can
use something called a 'GIF Optimizer' -- which simply means that
the series of images are made as small as possible so you do not
waste a lot of time downloading it!

With complex animations you can usually get 50% or more compression!

Another cool thing you can do is reusing images. So say for example,
you wanted to have a pattern of 'circles' for your header. (Say
10 circles, just for the sake of this example). Rather than have
one *large* image of 10 circles (which might be 10,000 bytes), simply
create *one* image of *one* circle, and include the text for the
circle image 10 times! (which is only about 2,500 bytes -- your HTML
code and the 1 image!) And thus you just saved about 75% in loading
time!

JPEG Images
----------

JPEGs are great for photographic images, and have something called
a 'compression factor'. Due to the way the picture is stored, you can
choose what quality you want.

Lower compression means higher quality (because you aren't
'compressing out' any information). Usually, with 15% compression
you do *not* notice any difference, but depending on the picture
you can even choose 50% compression and have it still look good!

Conclusions:

Following these easy and simple steps will allow you to include these
great interactive components to your website, and have people tell you
and friends at how wonderful and fast your website is!


Article written by John, from Wyka-Warzecha Enterprises,
http://www.wyka-warzecha.com, a company devoted to creating
amazing free and commercial java and flash software.

We at the Editorial Team would like to thank all our readers for reading WebProNews. We hope you find this information useful.

Peter Thiruselvam
Editor

The WebProNews Team


Expert in your field? We're looking for ARTICLES on web site design and development, promotion, positioning, and e-commerce. Articles should be in the 700 to 800 word range and include a 2 line promotion of the author's site. Send submissions to: Pete@WebProNews

  
Subscribe to WebProNews

Send me relevant information

Get Your Site Submitted for Free in the World's Largest B2B Directory!

*Indicates Mandatory Field
* *


Terms & Conditions


Advertising
Have your ad reach 500,000 webmasters and website owners. contact: Susan@WebProNews.com

Biz Development
Do you have a visitor database or a newsletter? iEntry is interested in exploring partnership opportunities: Business@iEntry.com

Archives
Check out the past issues of WebProNews
Click here


Feedback
Have a gripe, comment, or idea? Let us know about it.
Click here


Free newsletters
Get the latest webmaster info, humor, business, and other internet related newsletters delivered FREE to your mailbox.
Click here


The iEntry network

iEntry.com

Jayde.com

WebProNews.com

WebSiteNotes.com

ActivePro.com

ClicksToday.com

MacProNews.com

WebmasterFree.com

MacWebmasterFree.com

DailyComix.com

 

Advertise to 500,000+ internet webmasters, website owners and more! For ad details and prices, contact... Susan@WebProNews.com

WebProNews is an iEntry, Inc. publication
 © 2001 iEntry.com All Rights Reserved