This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2004 > dynamically change of the background color





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author dynamically change of the background color
olac

2004-02-24, 1:30 pm

Hi All.

I am new to this forum and I am seeking help with an issue I have recently
encountered.
Here is the context of my problem:

I have an intro page with a black background and white letters flying around
and finally coming together to form a word.
When the animation ends, the home page appears.
The home page has a white background and the very same word written in black.
The rest of the site is in html.

The idea is to make a smooth transition from the animation to the home page
and slowly cross fade the two making sure that the word stays in the same spot
while turning from white to black.

The only way I could think of doing this (which I am sure it is not the only
or the best way) was to have both the animation and the home page part of the
same animation in order to achieve the smooth transition. BUT, if they are part
of the same animation, I don't know if there is any way to change the
background color from black to white at the moment when the animation ends and
the home page starts to fade in.

Is there any way to do this or could you suggest a way to have two independent
flash files and still achieve the smooth transition between them?

Thank you very much.
Laura


acadian

2004-02-24, 2:29 pm

you would either set a background colour layer and shape tween it to change or, the better way, would be to use the setRGB script on the timeline itself.
olac

2004-02-24, 3:30 pm

you would either set a background colour layer and shape tween it to change
or, the better way, would be to use the setRGB script on the timeline itself.
--------------------------------------------------------------
Thank you very much. I am more of a designer than a programmer but I will try
figure out how to set the RGB color of the timeline. Thank you again.

Laura



olac

2004-02-24, 3:30 pm

Okay. I think I understand how the setRGB script works. As far as I understood,
with this script I can change the color of an object / a movie clip. My problem
is that the animation will play in a browser and not as a stand alone file and
therefore the initial background color I set via "Modify/Document" will show up
around the animation.

Here is a link to my animation as it is now. You will see what I am trying to
say:
http://www3.sympatico.ca/laura_olac.../proposal1.html

Thank you.
Laura

yorkeylady

2004-02-28, 11:29 am

Is your page located on the web?

I've written a Fader component that will fade between movieclips or jpgs.
Your clip can either be attached with a library linkage or you can load a
separate swf into the main movie. You can set the fade transition speed. Your
font's must be embedded for text to fade properly. Look in macromedia exchange
under flash - design for Fader 1.0.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews