Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-30-2005, 01:08 PM   #1
Lavada
Just Me
 
Join Date: Nov 2005
Posts: 6
Default Movie Fade In / Out

Hey hey

I am new to flash so many of you will think im stupid But who cares, all were a newb once

I am making a whole flash site and i have 6 buttons in my menubar. What i want to get is when i click my buttons the current movie that is playing in my container fades out, and the new movie fades in after the old 1 is faded out.

For each of the 6 movies i have a seperate swf file and i load them in a containermovie on my main stage.

I use this code on the buttons,

on (release) {
containerMain.loadMovie("Home.swf");
}

Now when i press the buttons the movies are nicely loaded and they are in the correct place. They even fade in becouse i made a tween @ the start of the movie. But why ow why cant i get the current movie to fade out...

Plzzzzz help me with this i searched for like 3 days and found alot of stuff that is helpfull but this i couldnt find ....

Cheers Dominic @ Lavada
Lavada is offline   Reply With Quote
Old 12-01-2005, 02:37 PM   #2
ovydiu
Registered User
 
Join Date: Aug 2005
Posts: 91
Default

because your script tell flash to simply load the new movie.. the old movie is lost..

you cold try

on (release) {
containerMain.gotoAndPlay("fadeout");
}

this way, when you click the button, you tell the old movie to fade out
after that, call a function from the main file in the last frame of each loaded movie to tell flash to lead the next movie.. this is the easiest solution that comes to mind

Last edited by ovydiu; 12-01-2005 at 02:52 PM..
ovydiu is offline   Reply With Quote
Old 12-01-2005, 03:15 PM   #3
Lavada
Just Me
 
Join Date: Nov 2005
Posts: 6
Default

Hey tnx for your replay..

I think i know what u mean, but i really want to keep my load movie in there. This way it saves me alot of loading @ the start. I just dont want to get such a huge movie.
And this is the content of my website so this way i have all my movies in 1 big movieclip ...

I shall try it anyway but i have problems with functions, i am new to flash and i find this topic not easy to learn. But i will give it a shot m8 !

Tnx
Lavada is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple External Movie Loading and Stacking Saed ActionScript 1.0 (and below) 6 10-13-2005 03:52 AM
Dynamic Alpha Fade In/Out Movie VitiminD ActionScript 2.0 4 10-09-2005 11:53 PM
fade when dragging movie clip invisibleloop ActionScript 2.0 3 02-04-2005 09:56 AM
Movie clip to Movie clip, Fade in and out killerbarney ActionScript 2.0 2 09-10-2004 08:33 PM
loading movie fade visualstylee ActionScript 2.0 2 09-06-2004 10:08 AM


All times are GMT. The time now is 08:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.