Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Animation and Effects

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 11-23-2004, 07:36 AM   #1
harryz
Registered User
 
Join Date: Nov 2004
Posts: 2
Default actionscript fade in/out effect

i just need a simple snippet of code to fade a movie clip and then a snippet to fade it out. i'v searched all over and it doesnt seem to be working. im using MX not 2004.

heres the little code i have, i first set the _alpha to 10, which seems to work and then i wanted to fade it, but it just directly jumps to that alpha.

Code:
		function fadeIn(MC){
		with (MC){
		_alpha += _alpha/2;
		}
	}
	loadMovie( somemovie.swf, "mcImage" );
		mcImage._alpha= 10;
		fadeIn(mcImage);{
hope someone can help
harryz is offline   Reply With Quote
 


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 11:32 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.