# Dynamically changing color based on external(?) info \[renamed\]

**URL:** <https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395>\
**Category:** Uncategorized\
**Created:** [May 26, 2004, 3:26pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395 "2004-05-26T15:26:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexjamessmith](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@alexjamessmith](https://forum.kirupa.com/u/alexjamessmith)\
**Post date:** [May 26, 2004, 3:26pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/1 "2004-05-26T15:26:57Z")

</div>

Hi all,

I read through the random colour tutorial with interest, and wondered to myself if an objects colour could be altered in other ways… such as by a weather feed or stocks feed.  
I thought it would be interesting if the design of a site could be changed regularly by outside influences.  
Is this possible?  
Umm… do I need to get out more?

Any information would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 3:31pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/2 "2004-05-26T15:31:50Z")

</div>

Check out [www.dunun.com](http://www.dunun.com). Then change your clock on your computer say to night time, or dawn, or sunset, then refresh your browser and enter the site again. Not only is what you are talking about possible, it can be done in a very beautiful and tasteful way. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 27, 2004, 6:57am UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/3 "2004-05-27T06:57:54Z")

</div>

Hey thanks 🙂  
that’s cool… all the shades change… and as you said - it is very beautiful!  
do you know of any starting points for me?  
i’m really a beginner, but I’m guessing that one number or piece of data is being approximated as another value and then inserted into the script?

Thanks 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 27, 2004, 2:43pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/4 "2004-05-27T14:43:34Z")

</div>

Honestly, I have no idea how that is done. If I could create sites like that I’d quit my job in half a second and go into business for myself! 😉

That one is related to the clock so it must make use of some of the time functions (java? actionscript?) to capture the time of day and then use if/else or switch statements or some other grand function to adjust tint/alpha/whatever.

It’s beautiful though ain’t it?

:hr:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 27, 2004, 3:08pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/5 "2004-05-27T15:08:29Z")

</div>

sure its possible. All you need to do is to be able to get that info into Flash, probably via a loadVars object, and interpret that in whatever way you see fit into information that can be used by the color object.

It basically all depends on what you’re using to change the color (feed) and how you want the color to react based on thatl.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 27, 2004, 3:15pm UTC](https://forum.kirupa.com/t/dynamically-changing-color-based-on-external-info-renamed/111395/6 "2004-05-27T15:15:41Z")

</div>

see? of course it’s possible! just not easy unless you know geek speak 😉

[size=-4] see i’m just jealous of Sen’s big brain[/size] :toad:
