HZGN.COM
welcome to my space
X
Welcome to:hzgn.com
Feng Shui | Graphic Design | Cosmetics | Causes and Organizations | Regulatory Compliance | Gadgets and Gizmos | Computer Forensics | Tools and Equipment | Related articles
Search:  
 HOME   Sunset clock

Sunset clock

Published by: wktd 2008-11-27
  • Sunrise and Sunset for Greece – Athens – coming days::
    of Sunrise and Sunset in Greece – Athens for Home page > Time zone menu > The World Clock > Sun Calculator > Results World Clock and include
    http://www.timeanddate.com/worldclock/astronomy.html?n=26
    HOME
    I dunno if this even is possible - but you guys have suprised me before so, here goes: I would like to make a animation that is adjusted by my (the PC) clock. Say that I have an animation that shows a day -> sunset -> night -> morning -> day... and so on. Looping. Would it be possible to have the sun go down at a certain time etc!

    I dont know if my english is understandable or if I just can't express myself.. hope you get it anyhow and that someone's good enough :hugegrin:

    If you want me to post a .fla with some kind of animation, let me know!

    thanks!!


  • amazing... nobody knows.. Im stunned!!


  • nuff sed :ninja:


  • Yeah, I puked. :diss: Not as bad as mine, but still.....

    I wasn't talking about the attachment, i was talking about their website. Seriously, take a look, I bet you'll puke.:)

    Sorry, i didn't mean for you to take it that way, i never even looked at the file.


  • Well... you could fit your animation to the length of a day, maybe.
    As in, 1 frame represents 1 minute, and then based on the time of the PC, gotoAndStop(minute)?
    It's only 1440 frames :p


  • I'd try to do it via AS

    If you used

    ActionScript Code:
    today = new Date();
    hour = today.getHours();
    minute = today.getMinutes().toString();



    to setup up some variables you could work with. Then if you done some maths, you can make the time manipulate say the brightness of the sun, its position...the colour of the sky, fade from blue to orange to black etc...

    but as sun rise/set changes daily and obviously in different parts of the world you may need to consider coding in ActionScript Code:
    month = today.getMonth();
    day = today.getDate();



    so it could work precisely with known figures, but tis wouldn't be able to account for geographical position, only a preset location....unless you culd read their country too, but thats just getting a bit insane. it depends how precise you want it.
    Sunrise and Sunset for Puerto Rico – San Juan – coming days::
    Calculations of Sunrise and Sunset in Puerto Rico – San Juan for coming days. Make a Personal World Clock and include San Juan
    http://www.timeanddate.com/worldclock/astronomy.html?n=226
    HOME
    Sunset - - Desk Clocks - Shop.com::
    Shop for Sunset - - Desk Clocks at Shop.com. Sunset desk clock is new, handcrafted utilizing unique process resulting in a
    http://www.shop.com/6924808-p.shtml
    HOME

    I'm not the best person to ask, but thats where I'd start.....


  • great ideas - thanks guys! its ok - its a swedish site so im gonna do it for their time and such. again, thanks!


  • http://www.advance-media.com

    wow... that is quite possibly the worst use of flash i have ever seen, i wish i could poke my own eyes out with that pin.


  • god i got a head ace and i feel really wierd right now what a horrible experience, i think this will scar for life


  • I happened to be looking for cool clocks and found one all in AS.
    On line 113 you could do a comparison with a variables that you define up front.
    This is probably overkill, but looks cool to me!

    NOTE: Credit goes to Folko Langner at Actionscript.org website http://www.advance-media.com (http://www.actionscript.org/actionscripts_library/main/jump.cgi?ID=525)

    Rustyd


    I dunno if this even is possible - but you guys have suprised me before so, here goes: I would like to make a animation that is adjusted by my (the PC) clock. Say that I have an animation that shows a day -> sunset -> night -> morning -> day... and so on. Looping. Would it be possible to have the sun go down at a certain time etc!

    I dont know if my english is understandable or if I just can't express myself.. hope you get it anyhow and that someone's good enough :hugegrin:

    If you want me to post a .fla with some kind of animation, let me know!

    thanks!!


  • those sound effects are horrible


  • Thanks Defective,

    Very interesting.

    I feel bad for always downloading from Kirupa and not contributing. So, that was my first attempt to try and give something back~!

    I am extremely new at this so I am glad to know that the attachment was a horrible example because I was actually trying to learn something from it. Apparently I am looking at the wrong type of examples to learn from.

    So my question is; Is it the 'way' that guy went about creating that clock (just bad scripting), or what?
    I am trying very hard to learn AS so I appreciate the fact that you pointed out that this is Bad AS. I am just wondering why it is bad ??

    Pre-apologies for trying to ask questions for myself within your thread...so if this is out of line, just ignore!

    Best Regards,
    Rustyd



    http://www.advance-media.com

    wow... that is quite possibly the worst use of flash i have ever seen, i wish i could poke my own eyes out with that pin.


  • You can use PHP to get the time on the server, then it will be swedish time everywhere!:
    $timestamp = time();


  • I wasn't talking about the attachment, i was talking about their website. Seriously, take a look, I bet you'll puke.:)

    Sorry, i didn't mean for you to take it that way, i never even looked at the file.


  • wow... that is quite possibly the worst use of flash i have ever seen, i wish i could poke my own eyes out with that pin.

    Amen.





  • Red Hat's Rough Recovery From CFO Exit
    Windows Live Finds a New, Pre-installed Home
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Sunset clock , Please add it free.
  • build your own hottub
  • contact address with u s a millionaire to help built a ngo with a donation
  • budgeting
  • career advice furniture design
  • locate wooden hangers that walmart used to sell
  • van for animal shelter
  • common cold
  • applying fuzzy logic in project management
  • smoking trees
  • social policy
  • koi
  • origins of restrictive emotionality
  • addresses in phoenix az
  •  
  • average income of members of the u s congress
  • average speed meter
  • forbidden fruits of photography
  • doctor who first discovered cholesterol
  • study the energy science for saving the earth and our future
  • can i send money trough western union from my credit card to a person
  • teachers edition human physiology by lauralee sherwood
  • easy to graduate from master degree program in usa
  • prenatal genetic testing market size
  • finding army buddies from 1948 1950 1951 1952 servinng on okinawa
  • list of giftshops at zoos with monkeys
  • liver biopsy
  • heard mentioned during broadcast of tennis match
  • prehistoric fish images
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008hzgn.com All Rights Reserved