On my main movie I have background image…over which I intend to load other movies when people click buttons.
How, when someone clicks a button, can I FIRST slowly and elegantly fade the background photo (to an alpha state that is 75% less than original) AND THEN load the requested movie(s) on top of the main movie?
Also, the reverse would be nice. That is to say, if someone clicks on the “home” button the alpha state of the main photo returned to normal.
I am a relative newbie myself but I think I can help a little. The actionscript you need is relatively straight forward. On the button to the pressed enter the following code in expert mode:
on(press) {
setProperty(“name of symbol”,_alpha,50);
}
50 being the alpha state, you can change this to whatever you want.
Alternatively create a button with an animated movie inside the desired state, with the movie, in this case your background image, tweening from 100% alpha to 0% or a similar figure.
Hope this helps. In anycase research placing movies inside buttons.
Yes Ryall, you understand my question correctly. Thanks all for the posts.
Ryall, could I trouble you for a little more detail on the actionscript? I fundamentally understand what you said but my various combinations of code are certainly not correct.