all groups > macromedia flash sitedesign > october 2007 >
You're in the

macromedia flash sitedesign

group:

Website Help


Website Help Tripage
10/6/2007 4:50:57 PM
macromedia flash sitedesign:
I'm creating a Flash website. I want to have fade in/out transitions between
pages, however I have a problem.

Here's a link to my site www.shiningmangod.com/creole.html

How do I tell my menu buttons to play the latter half of a menu clip, and then
go to the clip it's referencing? Example: Click on the About page, the home
page fades out, and then the about page fades in. Is there a way to action
script this? Play "home" at frame 15 then play About at frame 1.

This is a simple problem, but I can't find anything on it, and I don't really
know the right questions to ask. Any help would be greatly appreciated.
Re: Website Help Sketchsta
10/7/2007 12:00:00 AM
I've always wondered how I could get transitions with pages myself.
The only way i've come up with, is to include all the windows (pages) in one
function for the FADEOUT effect, then for each button have the corresponding
page FADEIN effect.

eg...

homeBtn.onRelease = function(){
fadeOutFunction();
fadeInFunction(homePage);
}

so essentially you are calling fadeOutFunction() on every button press, then
calling fadeIn() function for the appropriate page.

I hope thats clear enough to follow.. If not, let me know and i'll explain
again.
AddThis Social Bookmark Button