ActiveDen

Dynamic Background According to time

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Europe
kollehel says

cool :)

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Argentina
  • Referred between 1 and 9 users
CIROdg says

nice!

3 years ago
  • Has been a member for 2-3 years
  • Most Wanted Bounty Winner
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
equipo3 says

`Very nice… :)

3 years ago
  • Has been a member for 4-5 years
  • Bought between 1 and 9 items
Danjo says

Can I also change from one picture to another? For example 2 photos from a building changing a day-photo to a night-photo after 12 hours?

2 years ago
Author
flashBrian flashBrian replied

Hi you can add about five different images according to time. You just need to insert the images on the frames as specified in the actionscript. Shouldn’t be hard at all. Please email me if you need help with it.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Mexico
Locke says
Purchased

hey Hi!

I’m trying to pass this to AS3 … I have to say that I don’t really understand AS.

I mean I do what is logic to me…

so I tried this:



addEventListener(Event.ENTER_FRAME, theHrs);
function theHrs(e:Event):void {

var dateObject = new Date(); 
var hours = dateObject.getHours();
var minutes = dateObject.getMinutes();
var frameLabelMins = minutes*0.1;
    with (timeDayAll_mc) {
        gotoAndStop((hours*6)+(Math.round(frameLabelMins))+1);
    }
    if (minutes == 1) {
        minutes = "0"+minutes;
    }
    if (hours == 1) {
        hours = "0"+hours;
    }
};

it really works… but gotoAndStop is not supported anymore in AS3 ..

it says tha I need movieClip to do this… but I really don’t get it….. hahaha could you pleas give me a hand in this..

Thanks!

6 months ago

by
by
by
by
by