Skip to Content

How to make a smooth transition preloader

Author: Bill Trikojus

This example shows you how to smoothly cover the current page content on a Flash website, preload the new content and smoothly show it when ready. 

 

1

Document

 


Download Source

bulletBack


Share

Like this? Click a link below to share it...


Subscribe and Download

Subscribe to the Swinburne Faculty of Design Podcasts

Comments

2009-03-06: chris said:
how do i make so the pre-loader automatically loads swf1 on entering the the page without having to press btn1 first.

2009-03-06: Bill Trikojus said:
WELL YOU SHOULD JUST BE ABLE TO PUT THIS AT THE BOTTOM OF THE CODE

nextMovie="content1.swf";
cover.gotoAndPlay("close");

but there is a bit of a bug in flash where the stop action at the start of the cover movieclip will actually override the gotoAndPlay, so you need to delay the running of those 2 lines a bit

put this at the bottom of the code


function triggerStart(){
clearInterval(startID)
nextMovie="content1.swf";
cover.gotoAndPlay("close");

}

startID=setInterval(triggerStart,200)

cheers

2009-03-06: chris said:
THANX IT WORKS AMAZING!

2009-06-05: Michael said:
thanks a bunch.

essential in helping me create my brief02 folio site.



2010-02-06: gala said:
Hello Bill,
One more question please.
When you publish this slide show on the website do you need to combine all swf files in one?

Thank you

2010-02-06: Bill Trikojus said:
I'm not sure what you mean but there is a link to download the source files.

2010-06-01: Dewey said:
I would to ask on how to create a preloader that will load all of the files (external swf files), so that there would be only one preloader on my web... thanks in advance...

2010-06-01: Bill Trikojus said:
for as3 check out bulk loader

http://code.google.com/p/bulk-loader/

Post a comment

Garbage posts and SPAM will be deleted.

* Name:
* Email: (will not be made public)
* Comment:
* Reply Notification: