Closed

Change SWF dynamically according to time

I am creating a menu for a local restaurant, and have created an animated menu for different times of the day (breakfast, lunch, happy hour...etc...).. I have created a code which loads the proper menu according to the time of day, but cannot seem to make it change dynamically when it is set to...

the majority of the code is finished, and as far as I can tell, it should work...

here it is:

I have had help from severla of you (gparis in particular (thank you)) to try and get this code to work....

I feel it is so close...

the point is to change the swf out according to the time

Here it is thus far:

hoursArray = new Array("barmenu", "barmenu", "breakfast", "breakfast", "breakfast", "breakfast", "breakfast", "breakfast", "breakfast", "breakfast", "breakfast", "lunch", "lunch", "lunch", "barmenu", "barmenu", "happyhour", "happyhour", "dinner", "dinner", "dinner", "dinner", "happyhour", "happyhour");

[url removed, login to view]("myClip", 1);

function changeMenu() {

localHours = [url removed, login to view]();

if (hoursArray[localHours]!== oldHour) {

// if not the same movie then load the new one

loadMovie(hoursArray[localHours]+".swf", myClip);

oldHour = hoursArray[localHours];

} else {

// do nothing

}

}

// Set an interval to update the menu once per minute.

myInterval = setInterval(changeMenu, 60000);

// Load the first .swf, otherwise you will wait for one minute until the setInterval does it.

var myDate = new Date();

var localHours = [url removed, login to view]();

var oldHour = hoursArray[localHours];

loadMovie(oldHour+".swf", myClip);

please- if you can make this code work...let me know

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Flash MX 2004 or lower

Skills: Adobe Flash, Engineering, MySQL, PHP, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: minute menu, hire a coder per minute, date for hire movie, tell the time, load time, according to the, update menu restaurant, server local time, function movie, According , request per minute, time swf, function time, local server time, source menu restaurant, restaurant flash site, swf close, according date, restaurant software php, software date change, time load, php wait function, flash php update set, restaurant menu software, dinner software

About the Employer:
( 0 reviews ) United States

Project ID: #3590853

6 freelancers are bidding on average $33 for this job

kgwebbers

See private message.

$4.25 USD in 2 days
(390 Reviews)
7.0
dwoutsourcing

See private message.

$51 USD in 2 days
(32 Reviews)
5.7
Iguana24

See private message.

$42.5 USD in 2 days
(1 Review)
3.8
anim8orvw

See private message.

$59.5 USD in 2 days
(21 Reviews)
3.4
ronit80

See private message.

$25.5 USD in 2 days
(12 Reviews)
2.5
frecom

See private message.

$17 USD in 2 days
(0 Reviews)
1.4