This content has been marked as final. Show 4 replies
I recommend using Tween class instead of the onClipEvent(enterFrame) construct.
Have a look at this nice tutorial on how to use the Tween class:
In the tut it is used for animation, but can as well be used to modify the _alpha property of your MC
Thanks Jan-Paul, I'll check it out.
try putting this code into the AS window of the button you want to use to fade the MC:
var alphaTween:Tween = new Tween(_root.my_mc, "_alpha", null , 100, 0, 2, true);
It works beautifully, thanks!
I've downloaded the tutorial and I'll have a good go at it. This stuff looks great - exactly what I need to know!