|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Image Alpha Fade
I know this is a simple question... I just make a tween between to images and then change the alpha right? are there any good tutorial on this?
__________________
--blissdev |
|
#2
|
||||
|
||||
|
You can use tweening, but actionscripting is a good method as well. This .fla demonstrates a gradual fade-in through the use of actionscripting.
Last edited by jmichels : January 10th, 2004 at 06:58 PM. |
|
#3
|
|||
|
|||
|
aww man... won't let me open cuz i got mx 2k4
|
|
#4
|
||||
|
||||
|
I'm still using Flash MX. I hated when Macromedia got rid of normal mode via the actions panel in Flash MX 2004.
Did you unzip the file using Winzip before you opened it in Flash?Last edited by jmichels : January 10th, 2004 at 07:34 PM. |
|
#5
|
|||
|
|||
|
yes, i did
|
|
#6
|
||||
|
||||
|
You can paste the code below into a keyframe. Then drag a movie clip onto the stage and give it an instance name of "clip" which will make a nice fade-in effect.
MovieClip.prototype.Increment = function(maxAlpha, speed) { this.onEnterFrame = function() { this._alpha += speed; if (this._alpha>=maxAlpha) { this._alpha = maxAlpha; delete this.onEnterFrame; } }; }; with (clip) { _alpha = 0; Increment(100, 2); } |
|
#7
|
|||
|
|||
|
sweet thx
|
|
#8
|
||||
|
||||
|
My pleasure.
|
|
#9
|
|||
|
|||
|
can i do this w/o actionscript?
|
|
#10
|
||||
|
||||
|
You can use a motion tween. I prefer a motion tween especially when making intros. Have a look at this .fla
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Image Alpha Fade |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|