Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Oni Guest

    Default Flash - anyone seen this?

    Has anyone seen a tutorial/script so the flash background on your site depending on the time it is eg midnight it would be black whereas in the day it would be sunny?

  2. #2
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Ugh!
    I saw that not so long ago.
    It uses the action script to runoff your windows click.
    I'll see if I can find it for you.

  3. #3
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Isn't that just with php, or combine php with flash ?

    like

    PHP Code:
    $date time(); //set the time script here
    $morning "set certain time";
    $noon "set certain time";
    $evening "set certain time";
    $night "set certain time";

    if(
    $date == $morning){
    echo(
    "bg_morning.jpg");
    }elseif(
    $date == $noon){
    echo(
    "bg_noon.jpg");
    }elseif(
    $date == $evening){
    echo(
    "bg_evening.jpg");
    }elseif(
    $date == $night){
    echo(
    "bg_night.jpg");
    }else{
    echo(
    "bg_standard.jpg");

    or something.. just an idea of how I would -try- and do it.

  4. #4
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by [oli] View Post
    Isn't that just with php, or combine php with flash ?

    like

    PHP Code:
    $date time(); //set the time script here
    $morning "set certain time";
    $noon "set certain time";
    $evening "set certain time";
    $night "set certain time";

    if(
    $date == $morning){
    echo(
    "bg_morning.jpg");
    }elseif(
    $date == $noon){
    echo(
    "bg_noon.jpg");
    }elseif(
    $date == $evening){
    echo(
    "bg_evening.jpg");
    }elseif(
    $date == $night){
    echo(
    "bg_night.jpg");
    }else{
    echo(
    "bg_standard.jpg");

    or something.. just an idea of how I would -try- and do it.
    time is bad as it updates every second, making it impossible.

  5. #5
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Quote Originally Posted by Blob View Post
    time is bad as it updates every second, making it impossible.
    or using date(); ?

    anyway I know its possible

  6. #6
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by [oli] View Post
    or using date(); ?

    anyway I know its possible
    might be, im no good with PHP

  7. #7
    Join Date
    Sep 2006
    Location
    On Earth
    Posts
    1,373
    Tokens
    0

    Latest Awards:

    Default

    Ive done something like this a long time ago, but i wiped my hdd and its gone sorry ill try and find tutorial
    Posts merged by jesus
    where!

  8. #8
    Oni Guest

    Default

    Quote Originally Posted by iTechnical View Post
    Ugh!
    I saw that not so long ago.
    It uses the action script to runoff your windows click.
    I'll see if I can find it for you.
    If you could that would be great

    I want it preferrably all flash ^^

  9. #9
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Here is something I came accross:

    http://www.swish-db.com/tutorials/view.php/tid/561

    basic but it sais it should work

    EDIT:

    Quote Originally Posted by http://www.swish-db.com/tutorials/view.php/tid/561
    Hi,

    I want to show you this awsome example, how to create time sensitive background for your web page.So, if the time is 10:00 the background=day and if the time is 22:00 the background=night.

    That's all.Now test your *swf movie clip with changing the time on your computer.Enjoy!
    Last edited by [Oli]; 06-11-2007 at 07:18 PM.

  10. #10
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by [oli] View Post
    Here is something I came accross:

    http://www.swish-db.com/tutorials/view.php/tid/561

    basic but it sais it should work

    EDIT:
    Nice find.

Page 1 of 3 123 LastLast

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •