| Web Design Web Design type posts here |
03-22-2004, 06:45 PM
|
#1
|
|
Kinda Cranky
Join Date: Jul 2003
Location: Panama City, Florida
Posts: 2,375
|
flash question
i am making a banner for work and i need it to have a daily countdown like 5 DAYS LEFT 4 DAYS LEFT
i need it to change itself everyday....
I dont feel like changing and saving 25 banners
"In the past couple of weeks your kids have touched me, and i'm pretty sure i've touched them too" - Jack Black (School of Rock)
|
|
|
03-23-2004, 07:57 AM
|
#2
|
|
Senior Member
Join Date: Apr 2003
Location: Dallas, TX
Posts: 1,844
|
you could use some actionscript to do it for you. There's a way to get the date from a server in flash, check actionscript.org for a tutorial. Once you have the date, you could write a small script that determines how many days are left until the target day. Output that result to a dynamic text field and you have a countdown, one file instead of 25 with no updates.
|
|
|
03-23-2004, 08:00 AM
|
#3
|
|
Kinda Cranky
Join Date: Jul 2003
Location: Panama City, Florida
Posts: 2,375
|
finally your back...HOORAY
"In the past couple of weeks your kids have touched me, and i'm pretty sure i've touched them too" - Jack Black (School of Rock)
|
|
|
03-24-2004, 06:08 PM
|
#4
|
|
Junior Member
Join Date: Mar 2004
Posts: 20
|
If you didn't fancy doing it that way, you could also let it load the data in from an external text file and each day all you would need to do is upload that?? Your probably best off doing what casedsgn said since tha way it doesn't depend on someone having to upload it and means it will automatically change when the clock strikes midnight!
|
|
|
03-25-2004, 03:36 AM
|
#5
|
|
Senior Member
Join Date: Apr 2003
Location: Dallas, TX
Posts: 1,844
|
Sorry I've been gone...things have been way to busy!
Did you get it figured out?
|
|
|
03-25-2004, 03:59 AM
|
#6
|
|
Kinda Cranky
Join Date: Jul 2003
Location: Panama City, Florida
Posts: 2,375
|
yeah i did thanks actionscript
"In the past couple of weeks your kids have touched me, and i'm pretty sure i've touched them too" - Jack Black (School of Rock)
|
|
|
03-25-2004, 04:14 AM
|
#7
|
|
Senior Member
Join Date: Apr 2003
Location: Dallas, TX
Posts: 1,844
|
Sweet nipples! Glad you got it bro!
|
|
|
03-25-2004, 05:47 PM
|
#8
|
|
Guest
|
Quote:
casedsgn said...
Sweet nipples! Glad you got it bro!
|
LMAO @ the sweet nipples comment. [img]/emoticons/rofl.gif[/img]

'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 05:04 AM.
|
mediabistro creative network
GRAPHICS.COM NEWSLETTER
The weekly Graphics.com newsletter is a great way to stay up to date on what's new on the site and in the world of graphics. Subscribe »
|
|