This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2004 > Changing Backgrounds





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 Changing Backgrounds
gilberb001

2004-04-04, 4:32 am

Well I'm trying to keep an open mind to solve my many problems.

I was wondering if there is any action script that can cause a background in
Dreamweaver to change when a certain frame is reached?

Is this possible?

nez9

2004-04-04, 5:36 pm

Use a javascript to accomplish this (put it in the head statement of your page):

<script language="JavaScript">
function newBG(colorcode){
document.bgColor = colorcode;
}
</script>

Then use a getUrl to call javascript:newBG(######); in your flash
movie...where ###### is your new background color. If this doesnt work let me
know and Ill post an example. g/l


gilberb001

2004-04-12, 4:42 am

Thanks, I'll give it a shot.
Sponsored Links


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