all groups > flash actionscript > june 2004 >
You're in the

flash actionscript

group:

How to change BG color half way through.


How to change BG color half way through. a little ant
6/27/2004 3:26:23 PM
flash actionscript: Quick question please for anyone...

How can i change the background color half way through a movie please after
button press. It must be halfway into the movie because other content (with
alpha transparency) will already be loaded and playing and that can't be
interrupted.

For example - fig 1 is playing (with alpha transparency). User presses a
button which adds another figure in the shape of an mc to the screen but at the
same time changes the background color to better see the latest mc. (not yet
sure if the latest mc is gonna be on top or below the original fig 1).

Cheers if you can advise,
Sam.
Re: How to change BG color half way through. kglad
6/27/2004 3:40:47 PM
you can't change the background color, but you can fake it by making visible a
movieclip that's at the lowest depth (if you add movieclips via actionscript)
or lowest layer of your movie. you can make that change at any time. if you
want it to appear at a particular _alpha for some other movieclip, you'll need
to use a loop to check that movieclip's _alpha.
Re: How to change BG color half way through. a little ant
6/27/2004 5:33:58 PM
Thanks kglad,

That makes sense. Hopefully even more, after i've slept too.

Thanks a lot mate,

Re: How to change BG color half way through. kglad
6/27/2004 11:10:25 PM
AddThis Social Bookmark Button