-
Hey Guys,
I have a slider menu MC, which moves left to right, created by actionscript.
I need the slider to fade to alpha = 0, when it slides to the left.
I have no idea how to make this effect happen by actionscript.
Any help will be most satisfying.
Cheers
Shaun.
-
Pillow Daddy
You can set the alpha value of any movie clip like this:
_root.MyMC._alpha = 50;
values between 0 and 100
-
m_andrews808
big big thanks.
works sweet.
Cheers.
-
hey also would it be possible to make it go from
alpha = 100
to
aplha = 0
so it slowly fades out.
is this possible???
Shaun.
-
Pillow Daddy
Yeah. Put this in your clip:
Code:
onClipEvent(enterFrame) {
if(_alpha > 0) {
_alpha -= 2.5;
}
}
Should do the trick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|