Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alpha

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i made a text-fading effect from visible to alpha=0.
but the text does not completely disapear. also graphics won't completely hide.

??
 
hi
it depends on how you're creating the fade effect.

If you're doing it by motion tweening, then just place a stop action in the frame 'after' the last tween frame, so that the timeline goes beyond the tween.

If you're scripting to achieve it, then just right-click the mc in question, select actions and place the following code on it:

onClipEvent (enterFrame) {
if (this._alpha<=5) {
this._visible = 0;
}
}
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top