Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-11-2004, 09:11 AM   #1
Jojodi
Registered User
 
Join Date: Apr 2004
Location: SC, USA
Posts: 9
Send a message via ICQ to Jojodi Send a message via AIM to Jojodi Send a message via MSN to Jojodi
Red face Fading Clips Slowly

OK, first of all, HI! I love the forum... anyways...

I was working ona simple menu with buttons and I can't seam to figure out how to get the things to fade out.. its like this:

I have a button on the bottom that should fade out the text that is above (just a mc). But every time i try, it just quickly dissapears...

HELP ^_^

Here's what i have for the button:
Code:
function fadeAllOut() {
	count=95;
	while(count>0){
		setProperty("AboutInfoText",_alpha,count);
		updateAfterEvent();
	count = count - 1;
	}
Jojodi is offline   Reply With Quote
Old 04-11-2004, 02:41 PM   #2
prt1
FlashScape
 
Join Date: Mar 2004
Posts: 139
Default

You need to use the frame rate of the movie rather than the power of the PC.
The loop will take no time at all to run.
You could try setting a variable(var) in your function that is checked by the movie you are trying to fade, when set the movie alpha as before but this will then use the frame rate of the movie.

on Clipevent(enterframe) {
if(var == 1) {
this._alpha --;
}
}
Hope this helps
prt1 is offline   Reply With Quote
Old 04-11-2004, 03:16 PM   #3
Jojodi
Registered User
 
Join Date: Apr 2004
Location: SC, USA
Posts: 9
Send a message via ICQ to Jojodi Send a message via AIM to Jojodi Send a message via MSN to Jojodi
Default

I can not believe this is causing so many problems lol...
I will submit this example zip of the thing to see if anyone can fix it and explain it to me lol!
Attached Files
File Type: zip 1.zip (158.9 KB, 149 views)

Last edited by Jojodi; 04-11-2004 at 04:01 PM.
Jojodi 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


All times are GMT. The time now is 10:55 PM.

///
Follow actionscriptorg on Twitter

 


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