Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Dynamic Background color change in Flash
From: Eric Dunham
Date: Mon, 22 Nov 1999 21:57:00 GMT

If you're using frames (like you said you were) then you have to use
parent.frameName or parent.frames[indexNumber]

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of 2Nerotik
Sent: Sunday, November 21, 1999 12:20 AM
To: flasheratmail [dot] chinwag [dot] com
Subject: FLASH: Dynamic Background color change in Flash


Here's and interesting question for you.

Since the last couple of questions on Flash and the background color of the
main
movie.

I've been seeing if I could get it to dynamically change.

So far I can get the background color of the HTML page to change color
without
reloading it AND I can get the background color of the Flash movie to
change.

However I cannot for the life of me get them to be the same color.

The HTML part is easy it follows the normal HEX & RGB values.

However I just can't seem to get flash to dsiplay the right values.

Question what is the proper syntax of
parent.window.document.Foo.BackgroundColor

So far I've tried:
parent.window.document.FlashChangeBGColor.BackgroundColor(255,255,000);
&
parent.window.document.FlashChangeBGColor.BackgroundColor="255,255,000";

The 1st produces and error that the Object doesn't support... bla bla bla.

The 2nd works... kind of. It produces a color change in the background
color but
never the colors I think it is suppose to. Take the numbers above, they
should
produce the color yellow, but not once could I get it to do so.

So I wonder just what is the proper value you should use when specifying
the color
code for this ?

The only time I've been successful and gotten the proper color change was
when
I used a JavaScript to generate a 5 color array and inputed the value with a
document.write howover this requires a refreshing of the document if a
different
color is desired for the movie.


.oOo.
|| Nothing is fool-proof to a sufficiently talented fool.
||
|| Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
|| Fontaholic ? ---> http://www.fontsanon.com
|| HTML Writers Guild ---> http://www.hwg.org


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Dynamic Background color change i, 2Nerotik

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]