The best thing I can think of is to create a movie clip with 1 layer and two keyframes. Put a STOP action in both frames.
In the first key frame, create a button with the following actions attached:
on (keyPress "a" {
setProperty (_root.yourmovie, _alpha, "50"
}
on (release) {
gotoAndStop (2);
}
In the second frame, create another button (or use the same one) with the following actions on it:
on (keyPress "a" {
setProperty (_root.yourmovie, _alpha, "100"
}
on (release) {
gotoAndStop (1);
}
Then just drag the movie clip somewhere where it can't be seen.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.