PDA

View Full Version : flash background onload



robine
November 16th, 2009, 01:08 AM
Hi,

I have a flash with dark background, and when the page loads it, it has a white background.
How can I change the white background into a darker color?


Thanks :grin:

NeoDreamer
November 16th, 2009, 03:34 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
Event.observe(window, 'load', function() {
$('myFlashVideo').setStyle({
width: '400px',
height: '300px'
});
});
//]]>
</script>
</head>
<body>
<embed id="myFlashVideo" style="width: 1; height: 1" however you embed a flash
video, I haven't done it in centuries />
</body>
</html>