PDA

View Full Version : fl.getDocumentDOM().backgroundColor = '#000000'


tomtomA920Dude
06-03-2005, 05:34 AM
Hi all,

I was reading in the flash help that you can change the background color of a flash document using

fl.getDocumentDOM().backgroundColor = '#000000'

but it doesnt seem to do anything for me.

Any ideas?

senocular
06-03-2005, 10:02 AM
how are you using it? You do realize that it is a JAVASCRIPT command, not ActionScript, right?

hangalot
06-03-2005, 08:46 PM
how are you using it? You do realize that it is a JAVASCRIPT command, not ActionScript, right?
he means it works. i think what you are looking for is a html tag in the embed bit. somethink like:
<param name="bgcolor" value="#000000" />
says the geordie on my right