PDA

View Full Version : How to change bc colour in swf AND html?


Hufsa
10-31-2007, 12:27 PM
I would like to do something like what is done on this page:

http://www.donfloodphoto.com/site.php

I've used this script on my buttons:

on(release){
getURL("javascript:document.bgColor='#FF0066'; void(0);");
}

which works fine for changing the HTML background. However, I would like to change the actual bg in the flash movie at the same time, and preferaby as subtable as the webpage above.

Can anyone help me out wit this one?

Djelibaybi
11-01-2007, 03:32 AM
I'm not really sure, but maybe is it possible to make the background of you flash transparent?

Hufsa
11-01-2007, 07:14 PM
set the background to transparent - that might be the best thing to do.
Didn't think about that - thanks!

However, I still would like it to change colour in that subtle way that is done in that webpage - anyone know how to program that?:rolleyes:

atomic
11-01-2007, 08:15 PM
That background color change is within the flash movie, not in the .html's bgcolor.

Hufsa
11-01-2007, 08:20 PM
Ok, so the actual background behind the images and the changing of colours is actually all within flash?

...do you know how it is done?

atomic
11-01-2007, 08:26 PM
Decompile it and you'll see how it's done...