Old Time Movie Reel Countdown
Can anyone point me towards a tutorial or just a movie example of an old time movie reel countdown. Like a black and white 5,4,3,2,1 thing. I have one made, but it lacks the authentic look and feel so I need some pointers. I saw one of these quite some time ago, and now I can't locate anything on it.
thanks!
FlashKit > Flash Help > Flash MX
Posted on: 08-16-2002, 08:51 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Movie TIMER With Total Time And Countdown
With so many timer scripts out there,
I'm wondering if anyone knows of a script/movie that does the basics:
- display the total time of a movie from the beginning.
- counts down to "zero" value as the movie progresses.
I'm looking to add this "timer" feature to a captivate movie (end product = swf) with the above functionality. Within the captivate movie is the standard control bar which consists of play, fast forward, rewind, stop, pause, etc. I would like to intergrate the timer with this control bar.
Example format for a 35 second movie: (beginning time to end) 00:00:35 - 00:00:00
Any advice or direction is greatly appreciated!
Thanks,
Countdown Time + Internet Time Server
Hi everyone. Im a noobie and trying to learn Flash and Actionscript.
I started with making some preloaders and advanced preloaders, now I want to learn to make a countdown to a specific date.
I have searched a lot after tutorials after a countdown but found some bugs.
I saw a countdown that was delay with 5 seconds. I mean, when I saw the time of my clock on the computer and the countdown on the site, it was delayed. I searched here and found this from a guy. I just copy his text and hope someone can tell me how to make it, or where to find the tutorial for AS3. (flash cs4) and that guy didnt get any help by the way...
Thanks a lot.
"I want to create a countdown timer which displays the same time for everybody in spite of their different time zones. I'd like to know how to get time and date from an Internet time server (such as time.windows.com, time.nist.gov, which is free to access) or, if not possible, how to get the time zone from the PC the SWF is running in."
Movie Reel Turning
Can anyone tell me the steps to make a movie reel turn while staying in one place?
Continuous Movie Reel?
Hello guys...
I'm trying to dynamically bring in a selection of images in a row from left to right or right to left for the full width of the stage...
I've been to: http://www.actionscript.org/tutorial...el/index.shtml
but I need something that starts from the edge of one end and continues untill the other...
Cant figure out the script....please help
Old Movie Reel Effect
I am wanting to make an old movie reel effect for my website using Flash 5. My navigation bar is going to come down and run by much like it would if it were going through a projector. When it stops I want all my links to look like slides from the reel. Any suggestions on where to start or how to go about doing this?
How Do You Create A Movie Reel Effect?
I'm am developing in FLASH 5. What is the best way to create a movie reel effect. For instance if you what the perfed edges to acclerate in a forward motion for 20 frames and reverse for 10 frames at a slower rate and then back to a forward motion. Is this done with actionscript or can it be done without? Can you do this with a mask?
Time Countdown
Anyone know a good code to make a countdown to a certain date!
days, hours, minutes, seconds etc...
Flv Time Countdown
I've pieced together this code from formulas I've found. I have it currently displaying how much time has been played and the total time of the flv. However, I would like for this to countdown instead of count up. Any ideas on how I would do this? Here is my code so far.
Thanks,
Saveth
Code:
var totalHours:Number;
var totalMinutes:Number;
var totalSeconds:Number;
var hours:Number;
var minutes:Number;
var seconds:Number;
function videoStatus() {
totalHours = Math.floor(duration/3600);
totalMinutes = Math.floor(duration/60)-(totalHours*60);
totalSeconds = Math.round(duration%60);
hours = Math.floor(netS.time/3600);
minutes = Math.floor(netS.time/60)-(hours*60);
seconds = Math.round(netS.time%60);
trace(totalHours + " hours: " + totalMinutes + " minutes: " + totalSeconds +" seconds");
trace(hours + " hours: " + minutes + " minutes: " + seconds +" seconds");
}
Countdown Time. HELP
I’m fairly NEW to the forum but I have been checking out the site for sometime now and I have to say that it’s been very helpful. Well, the reason that I’m posting this thread is because I have been trying to create a Date Countdown Time for a special event that’s occurring on August 4, 2004 @ 7:05 PM Eastern Time (Vacation Trip to California) and I haven’t been able to get the coding correctly. Can someone please help me finish this countdown timer? I would extremely helpful and greatly appreciated.
Here are the graphics I created in Photoshop…
And here is what I would like the Countdown Timer to look like when it’s finished but obviously counting down to August 4, 2004 @ 7:05... hehehe
By the way, the “Off to Cali *****es” is what I would like to display when the date/time has been reached. Thanks again guys…
Flv Time Countdown
I'm trying to figure out how to get the time remaining of an flv.
I currently can get the total time and the current time. Any ideas?
Code:
var totalHours:Number;
var totalMinutes:Number;
var totalSeconds:Number;
var hours:Number;
var minutes:Number;
var seconds:Number;
function videoStatus() {
totalHours = Math.floor(duration/3600);
totalMinutes = Math.floor(duration/60)-(totalHours*60);
totalSeconds = Math.round(duration%60);
hours = Math.floor(netS.time/3600);
minutes = Math.floor(netS.time/60)-(hours*60);
seconds = Math.round(netS.time%60);
trace(totalHours + " hours: " + totalMinutes + " minutes: " + totalSeconds +" seconds");
trace(hours + " hours: " + minutes + " minutes: " + seconds +" seconds");
}
Date And Time Countdown
Is it possible to create a countdown to a certain date and time (for example Monday 8th April 9.00am - 74 days, 18 hrs 10mins 34secs) and to have this as a realtime backwards clock.
Thanks
Rob
Countdown Time Bar STOPeaBle?
hello everybody!!!
Does anybody know how to do a time bar stoppeable (it's for a game) and that it can start again from the place it was??
I'm creating a video game and there's a time bar. Time finishes and game does. BUT, when you get killed, a message appears and you start again (if you still have lives). But my actual bar starts counting time from zero!!!
I WANT TO KEEP THE CURRENT TIME LEFT!!
How could I do????? Pleeaaaaaase?? Any Idea??
Thanks!!!
http://www.hombredequeso.com
Countdown Related To Time Of Day
Hi everybody,
Got a question. I managed to get a countdown working, starting from 750 (counting down with the rate of a second).
Code looks like this:
------------------------------------------------------------
_root.onEnterFrame = function() {
time = Math.floor(getTimer()/1000);
displayTime = 750-time;
if (displayTime<=50) {
delete _root.onEnterFrame;
}
};
------------------------------------------------------------
Now here comes the tricky part.
I would like to make 4 different countdown rates depending on the time of day.
What I mean is:
- 1 countdown rate, counting down every second playing between 09.00 hours and 15.00 hours
- 1 countdown rate, counting down every 2 seconds playing between 15.00 hours and 21.00 hours
- 1 countdown rate, counting down every 3 seconds playing between 21.00 hours and 03.00 hours
- 1 countdown rate, counting down every 4 seconds playing between 03.00 hours and 08.00 hours
Is there any way to check the time and make some kind of if/else statement in order to get the right function working at the right time???
Maybe splitting it into 4 different MC's.., (replacing the onEnterFrame with onClipEvent) and calling them on the specified time..?
Would really appreciate it if some one could tell me how to get this working.
Thanks in advance!
Eva
How To Show Countdown Time
Hi there again...
I'm using this code for my game timer. That works fine!
Code:
function timer(){
seconds=seconds-1;
if (seconds < 0) {
clearInterval(myTimer);
gotoAndPlay("Scene 2", 1);
}
}
myTimer=setInterval(timer, 10000);
But I'd like to know how I can show the gamer how many seconds he has left (in a text field). I've looked in the tutorials but I didn't find my anwser.
Anyone an idea?
Leon
Non Time-based Countdown
Hey everyone,
I need to find a tutorial or guide that will allow me to make a countdown to begin at 5 minutes from when the movie is started. I've found 'count'less time based ones (birthdays, movie releases, etc) but none that will start at a time based on when the movie starts.
I just need a timer to go from 5:00 to 0:00 and then advance to another frame.
Any help is greatly appreciated.
thanks!
p.s. I've tinkered with http://www.kirupa.com/developer/mx/countdown2.htm but it's not what I need at all - it's time based
[HELP] Countdown With Server Time
I just went through this tutorial on how to create a countdown timer with actionscript. It works great but I'm not sure just how to go about modifying the code so that it pulls from the servers time instead of the users time. Anyone able to help me out on this one?
I've attached the .fla
Thanks in Advance.
Countdown On Server Time
I used sen's most all mighty powerful Date Countdown tutorial. Everything works perfect.
I would be planning on using this for a release of a site type of thing where when it hits the exact time it will go to the site page, which I want to stay hidden. But I don't want users to be able to change their system clock to make the countdown end. How can I get around that security problem and have it run off of the server clock or something of the sort?
Get what I am trying to say?
Countdown Timer For Date And Time
I am trying to make a countdown timer and I dont know how to make the date count down. Can someone help me correct my script. Help would be greattly appricieated.
This is my script:
// GetDate Mechanism
myDate = new Date();
seconds = myDate.getSeconds();
minutes = myDate.getMinutes();
hours = myDate.getHours();
days = myDate.getDay();
seconds2 = 59-seconds;
minutes2 = minutes-11;
hours2 = 13-hours;
// I am wondering what this is for. Please help???
if (length(minutes2) == 1) {
minutes2 = "0"+minutes2;
}
if (length(seconds2) == 1) {
seconds2 = "0"+seconds2;
}
// Information To Textbox
hoursLeft = (hours2);
minsLeft = (minutes2);
secsLeft = (seconds2);
Setting Date/time Countdown
I know how to set the date and time in flash of someone's computer when the swf loads. but what i want to do is set a destination time...say, next friday, 5/3/02, so when a user opens the html page flash will read their date and time and determine how many hours and minutes there will be till 5/3/02 and display it. hope that makes sense and someone can help. Thanks!
Countdown Using Time From My Comp- Not Server - How ?
I am using a tutorial from kirupa.com about a countdown to a certain date using the time acquired from the server. How would I do this as my desktop? In this case I want to make a desktop the is the countdown to
GRADUATION!!! WOOHOOO!!!
The code uses getMonth and all- I assume it could be done from the HD...right?
find the page here.
Getting Server Time For Countdown Clock
Hi,
I am using a countdown clock that counts down to a specified date in the future, but it takes the time from the system clock. Is there a way to get the time from a GMT timeserver? (or at the very least take the server time)
The code as it stands at the moment:
Code:
onClipEvent (load) {
countdown = "yes";
// Target Time Information
tyear = 2005;
tmonth = 10;
tday = 23;
thours = 6;
tminutes = 00;
tseconds = 00;
//
}
onClipEvent (enterFrame) {
if (countdown == "yes") {
mon = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
daysinmonth = ["31", "28", "31", "30", "31", "30", "31", "31", "30", "31", "30", "31"];
now = new Date();
nyear = now.getFullYear();
nmonth = mon[now.getMonth()];
ndays = daysinmonth[now.getMonth()];
nday = now.getDate();
nhours = now.getHours();
nminutes = now.getMinutes();
nseconds = now.getSeconds();
// Year Code
ryear = tyear-nyear;
// Month Code
if (tmonth>=nmonth) {
rmonth = tmonth-nmonth;
} else {
ryear = (tyear-nyear)-1;
rmonth = (12-nmonth)+tmonth;
ryear = ryear-1;
}
// Day Code
if (tday>=nday) {
rday = tday-nday;
} else {
rday = (ndays-nday)+tday;
rmonth = rmonth-1;
if (rmonth<0) {
ryear = ryear-1;
rmonth = 12+rmonth;
}
}
// Hour Code
if (thours>=nhours) {
rhours = thours-nhours;
} else {
rhours = (24-nhours)+thours;
rday = rday-1;
if (rday<0) {
rmonth = rmonth-1;
rday = Number(ndays)+Number(rday);
if (rmonth<0) {
ryear = ryear-1;
rmonth = 12+rmonth;
}
}
}
// Minute Code
if (tminutes>=nminutes) {
rminutes = tminutes-nminutes;
} else {
rminutes = (60-nminutes)+tminutes;
rhours = rhours-1;
if (rhours<0) {
rday = rday-1;
rhours = 24+rhours;
if (rday<0) {
rmonth = rmonth-1;
rday = Number(ndays)+Number(rday);
if (rmonth<0) {
ryear = ryear-1;
rmonth = 12+rmonth;
}
}
}
}
// Seconds Code
if (tseconds>=nseconds) {
rseconds = tseconds-nseconds;
} else {
rseconds = (60-nseconds)+tseconds;
rminutes = rminutes-1;
if (rminutes<0) {
rhours = rhours-1;
rminutes = 60+rminutes;
if (rhours<0) {
rday = rday-1;
rhours = 24+rhours;
if (rday<0) {
rmonth = rmonth-1;
rday = Number(ndays)+Number(rday);
if (rmonth<0) {
ryear = ryear-1;
rmonth = 12+rmonth;
}
}
}
}
}
// Countdown Checker
if (ryear<0) {
disyear = 0;
dismonth = 0;
disday = 0;
dishours = 0;
disminutes = 0;
disseconds = 0;
discountdown = "no";
this.play();
countdown = "no";
} else {
// Update Clock Check
if (ryear ne year) {
year = ryear;
if (year<10) {
this.years.years.disyear = "0"+year;
} else {
this.years.years.disyear = year;
}
this.years.play();
}
if (rmonth ne month) {
month = rmonth;
if (month<10) {
this.months.months.dismonth = "0"+month;
} else {
this.months.months.dismonth = month;
}
this.months.play();
}
if (rday ne day) {
day = rday;
if (day<10) {
this.days.days.disday = "0"+day;
} else {
this.days.days.disday = day;
}
this.days.play();
}
if (rhours ne hours) {
hours = rhours;
if (hours<10) {
this.hour.hour.dishours = "0"+hours;
} else {
this.hour.hour.dishours = hours;
}
this.hour.play();
}
if (rminutes ne minutes) {
minutes = rminutes;
if (minutes<10) {
this.minute.minute.disminutes = "0"+minutes;
} else {
this.minute.minute.disminutes = minutes;
}
this.minute.play();
}
if (rseconds ne seconds) {
seconds = rseconds;
if (seconds<10) {
this.second.second.disseconds = "0"+seconds;
} else {
this.second.second.disseconds = seconds;
}
this.second.play();
}
}
}
}
Countdown Timer Time Zone
i am trying to make a countdown timer the is based in a time zone. So it will be the same amount of time left all around the world. I want to make it 11pm est (GMT-5). Is there any way to do this.
How To Create A Time Limit Or Countdown
I'm creating a simple game in Flash and (amazingly enough!) I havn't found a single way to create a time limit in the game (as in a timer in the corner counting down the time you have left to finish the level (think Mario games!))
Anyone have an answer?
Thanks!!
Help On Time Limit Countdown Actionscript
hello.... i'm new here...
sorry if i ask questions that been posted b4, but i js cant find one actionscript which teaches how to make a time limit countdown.
such as in my game the characters need to do something in 30seconds. And so i need a time limit of 30seconds.....
pls help anyone? or need me explain further?
thx
Countdown Clock With *server* Time
Argh! I'm trying to make a countdown clock to put on a website (showing days/hrs/mins/secs left until a product release) in Flash MX but this "#¤(#"#)! Date stuff in Flash is useless since it grabs the time from the client side. How do I get the current date/time from the server and get it into Flash?
I tried literally hundreds of searches on Google (variations on Flash+MX+server side time+countdown+clock+world time+world clock+blah blah blah) but I either find nothing relevant or fancy samples and scripts that involve ASP/PHP/SSI/Whatever, with analog dials and multiple clocks and other distractions.
I just want a simple digital countdown clock based on the CET time on my server. Anyone?
Thanks in advance!
Adding Time To A Countdown/timer.
Hey guys, need a little help with something. I'm making a game and it has a 20sec timer in it and I want to make a button/powerup thing that adds 5 seconds to the timer when you press it.
I'm currently using: -
Code:
timerBTN.onPress = function(){
_root.countdown += 5;
gotoAndPlay (2);
}
stop();
This doesn't work, is there something wrong with my code, or is my method not the best? Any help would be really helpful.
Thanks
Countdown Timer // Adjusting The Time
Hi,
I used the Cowntdown timer from this page
http://www.kirupa.com/developer/mx/countdown2.htm
I wanted to know how can I adjust the time. For example, I want to change the ending time to 8.00 am, what do I need to change in the code for it to "explode" at 8.00am?
thank you.
Regards,
The RedDeviL
Countdown Timer That Depends On The Time
Thanks for helping out with my question about the image changing with time. Now I'd like to make a countdown timer that counts down to 4:30PM and restarts each day. I've been trying to define variables for currentDay and Month, etc so that it "restarts" each day, but I'm still having some problems.
I've gotten through a little bit of it, but I can't figure out why it seems to be counting up with negative numbers. I'm sure it has something to do with the
"var timeLeft" line, but can't figure it out.
I attached the file... could someone take a look at the actionscript?
Thanks!!!
Help On Time Limit Countdown Actionscript
hello.... i'm new here...
sorry if i ask questions that been posted b4, but i js cant find one actionscript which teaches how to make a time limit countdown.
such as in my game the characters need to do something in 30seconds. And so i need a time limit of 30seconds.....
pls help anyone? or need me explain further?
thx
Javascript [get Time] Countdown In Actionscript
I suck at scripting in general... just a foolish designer here. :P
I have a Javascript that countsdown to any given time/date. In this instance I'm using the New Year to count down to in seconds, minutes, hours, days and weeks. I will attach the JavaScript below this text, but my question is - How do I apply this javascript to flash? Do I need to convert it to actionscript? I thought I could just place the javascript on the first frame of the timeline and reference it from there by giving my variab;e text fields the corresponding var names, but even then I'm not exactly sure how to go about it. Like I mentioned, I'm a retarded designer, not a programmer, please bare with me.
Here is the script I'd like to use...
--------------------------------------
var eventdate = new Date("January 01, 2004 00:00:00 GMT");
function toSt(n) {
s=""
if(n<10) s+="0"
return s+n.toString();
}
function countdown() {
cl=document.clock;
d=new Date();
count=Math.floor((eventdate.getTime()-d.getTime())/1000);
if(count<=0)
{cl.days.value ="----";
cl.hours.value="--";
cl.mins.value="--";
cl.secs.value="--";
return;
}
cl.secs.value=toSt(count%60);
count=Math.floor(count/60);
cl.mins.value=toSt(count%60);
count=Math.floor(count/60);
cl.hours.value=toSt(count%24);
count=Math.floor(count/24);
cl.days.value=count;
count=Math.floor(count/7);
cl.weeks.value=count;
setTimeout("countdown()",500);
}
--------------------------------------------
thanks for any help or direction.
-t
How To Convert This Countdown Actionscript To GetUTC-4 Time
How can I convert the script below to "getUTC - 4"; so I can set this countdown actionscript to eastern time zone?
Code:
this.onEnterFrame = function() {
var todaydate = new Date();
var currentYear = todaydate.getFullYear();
var currentTime = todaydate.getTime();
var targetDate = new Date(currentYear, 05, 19); // current end date April 19, 2007
var targetTime = targetDate.getTime();
var timeLeft = targetTime-currentTime;
var sec = Math.floor(timeLeft/1000);
var minTime = Math.floor(sec/60);
var hours = Math.floor(minTime/60);
var days = Math.floor(hrs/24);
hrs = (hrs%24);
days = days;
var counter = (hours+1);
txt1.text = counter;
if (counter < 0)
{
txt1.text="0";
}
trace (counter);
var plural="s";
txt2.text = plural;
if (counter < 2) {
txt2.text="";
}
trace (plural);
};
Date Countdown Timer: Specify Time Zone.
Hi.
I've been using your tutorial for a date countdown timer with great sucess, although now I realise because it took the date from the computer that is viewing it and because the event is counting to an event in India, it would be wrong because up until now, ive just put the date and time so obivously it would be wrong because it would be that time/date of that timezone. Is there anyway I can alter the actionscript for a specific timezone?
Thanks very much for your help.
Countdown Timer, Timezone Offset Stuck In Eastern Time
I have a countdown timer that will be used for events that happen locally central time, mountain time, etc. However, if someone on eastern or pacific time (or any variation of the 4 timezones) looks at the countdown timer, I want to make sure that it shows the time relative to their timezone.
I thought i could read the user's timezone offset (Date.getTimezoneOffset) and subtract from it the hardcoded timezone offset of the event (passed as a variable from XML depending on the event's "primary" timezone).
Am I getting the math here wrong? The "net" timezone offset from the user - the event timezone offsets SHOULD add into the countdown time.
However, Date.getTimezoneOffset, regardless of my Mac or PC timezone setting/time, keeps showing an Eastern timezone offset of 5 hours. What's going on?
The time is correct when I hardcode an event timezone offset to anything other than Eastern time. I think the problem is that it's not getting a user timezone offset OTHER than -5 hours for Eastern Time.
Code for the timer is here (assume that the target event timezone has been passed in):
Code:
this.onEnterFrame = function() {
var today:Date = new Date();
var currentYear = today.getFullYear();
var currentTime = today.getTime();
var currentOffset = today.getTimezoneOffset() * 60 * 1000;
var targetDate:Date = new Date(countTimeYear,countTimeMonth,countTimeDate,countTimeHour,countTimeMinute);
var targetTime = targetDate.getTime();
var targetOffset:Number;
switch(countTimeZone) {
case "eastern" :
targetOffset = 5;
break;
case "central" :
targetOffset = 6;
break;
case "mountain" :
targetOffset = 7;
break;
case "pacific" :
targetOffset = 8;
break;
default :
targetOffset = 5;
break;
}
targetOffset = targetOffset * 60 * 60 * 1000;
var totalOffset = targetOffset - currentOffset;
var timeLeft = targetTime - currentTime + totalOffset;
var millisec = Math.floor(timeLeft);
var seconds = Math.floor(timeLeft/1000);
var minutes = Math.floor(seconds/60);
var hours = Math.floor(minutes/60);
var days = Math.floor(hours/24);
millisec = String(millisec % 10);
seconds = String(seconds % 60);
if (seconds.length < 2) {
seconds = "0" + seconds;
}
minutes = String(minutes % 60);
if (minutes.length < 2) {
minutes = "0" + minutes;
}
hours = String(hours % 24);
if (hours.length < 2) {
hours = "0" + hours;
}
days = String(days);
if (days.length == 1) {
days = "000" + days;
} else if (days.length == 2) {
days = "00" + days;
} else if (days.length == 3) {
days = "0" + days;
}
if (timeLeft > 0) {
countdownTime = days + ":" + hours + ":" + minutes + ":" + seconds + "." + millisec;
} else {
countdownTime = "0000:00:00:00.0";
}
this.countdown_text.text = countdownTime;
}
Thoughts? Suggestions?
IronChefMorimoto
Countdown Timer, Timezone Offset Stuck In Eastern Time
I have a countdown timer that will be used for events that happen locally central time, mountain time, etc. However, if someone on eastern or pacific time (or any variation of the 4 timezones) looks at the countdown timer, I want to make sure that it shows the time relative to their timezone.
I thought i could read the user's timezone offset (Date.getTimezoneOffset) and subtract from it the hardcoded timezone offset of the event (passed as a variable from XML depending on the event's "primary" timezone).
Am I getting the math here wrong? The "net" timezone offset from the user - the event timezone offsets SHOULD add into the countdown time.
However, Date.getTimezoneOffset, regardless of my Mac or PC timezone setting/time, keeps showing an Eastern timezone offset of 5 hours. What's going on?
The time is correct when I hardcode an event timezone offset to anything other than Eastern time. I think the problem is that it's not getting a user timezone offset OTHER than -5 hours for Eastern Time.
Code for the timer is here (assume that the target event timezone has been passed in):
Code:
this.onEnterFrame = function() {
var today:Date = new Date();
var currentYear = today.getFullYear();
var currentTime = today.getTime();
var currentOffset = today.getTimezoneOffset() * 60 * 1000;
var targetDate:Date = new Date(countTimeYear,countTimeMonth,countTimeDate,countTimeHour,countTimeMinute);
var targetTime = targetDate.getTime();
var targetOffset:Number;
switch(countTimeZone) {
case "eastern" :
targetOffset = 5;
break;
case "central" :
targetOffset = 6;
break;
case "mountain" :
targetOffset = 7;
break;
case "pacific" :
targetOffset = 8;
break;
default :
targetOffset = 5;
break;
}
targetOffset = targetOffset * 60 * 60 * 1000;
var totalOffset = targetOffset - currentOffset;
var timeLeft = targetTime - currentTime + totalOffset;
var millisec = Math.floor(timeLeft);
var seconds = Math.floor(timeLeft/1000);
var minutes = Math.floor(seconds/60);
var hours = Math.floor(minutes/60);
var days = Math.floor(hours/24);
millisec = String(millisec % 10);
seconds = String(seconds % 60);
if (seconds.length < 2) {
seconds = "0" + seconds;
}
minutes = String(minutes % 60);
if (minutes.length < 2) {
minutes = "0" + minutes;
}
hours = String(hours % 24);
if (hours.length < 2) {
hours = "0" + hours;
}
days = String(days);
if (days.length == 1) {
days = "000" + days;
} else if (days.length == 2) {
days = "00" + days;
} else if (days.length == 3) {
days = "0" + days;
}
if (timeLeft > 0) {
countdownTime = days + ":" + hours + ":" + minutes + ":" + seconds + "." + millisec;
} else {
countdownTime = "0000:00:00:00.0";
}
this.countdown_text.text = countdownTime;
}
Thoughts? Suggestions?
IronChefMorimoto
Dear Lord, Help Me Create A Countdown Timer To Exact Time (not Just Date)
Hey guys,
For the life of me, how the heck can a newbie like me in coding, create a friggin' timer to the exact time. I found billions of tutorials to countdown to a day, but NOBODY can provide a sample to countdown to a date and time (i.e. Dec. 25 @ 8PM).
I need this to countdown to a TV show's premier. And I'm a designer not a coder... so there has to be a FLA file out there that I could snag and just update the graphics and plug in a time and date, and then it counts down once I make a SWF? Anybody?
=)))))) Keep in mind, I've Googled for hours.
Demo Reel
I'm not sure if this is posted in the wrong forum. If it is, sorry
Ok, this is what I need done. First of all, if you have been to my site you know that my sister and I are a brother-sister tap team. We are looking to make a demo reel using some of our video clips that we have.
Now, I have no idea where to start .
If someone could please contact me on any of the instant messenger programs, or email me at michael@twofortap.com to help me, I would really appreciate it.
Thank you, and I hope to hear from someone soon!
Michael
www.twofortap.com
Cotton Reel
here's a little thing i made whilst i was messing around.
my idea was to create a 'cotton reel' that is on a spring so that you can pull string from it, and when you loosen your string, it rolls back up.
take a look
[swf=http://www.kirupa.com/forum/attachment.php?attachmentid=13863]height=700 width=700[/swf]
[edit]updated it so it's smoother when you roll over it - my friend complained [/edit]
Help With Picture Reel
I'm creating a picture show reel. It's very basic, but it's only for learning purposes. As far as I can tell, the Actionscript is correct. It's supposed to show three slides, but instead it's showing four. And the first two are overlapping each other. Can someone take a look at it for me? Thanks. I'll also post the code. It might be fruitless though if not looking at the FLA. It can be obtained from here
center = Stage.width/2;
cellWidth = reel_mc.cell_mc._width;
_root.onEnterFrame = function() {
leftStop = center-reel_mc._width+cellWidth/2;
rightStop = center-cellWidth/2;
reelSpeed = (_xmouse-center)/10;
reel_mc._x += reelSpeed;
if (reel_mc._xrightStop) {
reel_mc._x = rightStop;
}
};
function NewCell(num, details) {
oldClip = _root.reel_mc.cell_mc;
newClip = oldClip.duplicateMovieClip("cell"+num, num);
newClip._x = num*300;
}
NewCell(1, "");
NewCell(2, "");
NewCell(3, "");
Picture Reel Problem
*~ Made Using : FlashMX ~*
I have just tried to make a flash picture reel that loads up jpg's externaly and shows them in the picture viewer that you can scroll horizontaly (Newbie stuff or what! But that's me newbie ) Anyway when the pictures load up they don't load in the position of placeholder_mc and only one of them actually shows up? I need to know why they wont show in place? If you need to see the file I have ZIP'd it up and attatched it to this post with the pictures to.
Thanks in advance.
PS: I kinda need help A.S.A.P. so if you can be as quick as possible.
Cheers
Studentmonster
Reel Rolling Effect
How can i recreate the effect of reels on a fruit machine rolling and then stopping. I want to create a banner where the reels roll and then stop one by one with my title in each reel but i want it to look realistic.
Thanks for any help
Old Film Reel Effect
How can I do an old fashion film effect with scratches, the number countdown, and maybe even the sound of it all too? Is there a tutorial out there that will help? I am not sure if it would have to be a separate movie loaded on top of the main movie I want to show though.
Scrolling Picture Reel
Hi I need some help please. I am trying to accomplish a scrolling pic reel exactly like the one on this website http://www.lomamedia.com/V1.html. I want it in a bottom, scrolling continously without any pause or break in between and so far i have came up with this code only
onClipEvent(enterFrame){
this._x += 3
}
If someone knows the correct script please help. I can only use actionscript 1 that is what's compatible with my editor.
Scrolling Picture Reel
Hi I need some help please. I am trying to accomplish a scrolling pic reel exactly like the one on this website http://www.lomamedia.com/V1.html. I want it in a bottom, scrolling continously without any pause or break in between and so far i have came up with this code only
onClipEvent(enterFrame){
this._x += 3
}
If someone knows the correct script please help. I can only use actionscript 1 that is what's compatible with my editor.
Embedding A Demo Reel F8
What is the most effective way of showing video on the web?
Do I embed a flash video on my flash site or open a seperate url
as a quicktime or wmv?
Do I need a seperate streaming app or is flash effective enough?
The demo reel needs to be small but still have sharp image, It will be higher quality than normal as it is an efx reel.
Any ideas?
Ant
Scrolling Reel Problem
I created a continous slide show usind the scrolling reel tuturial. The show works fine, the problem is when I load slideShow.swf into another movie clip in another movie.
I want the slideShow.swf to play when a certain button is pushed. So far in the home timeline on the first frame of the actions layer I have this:
button.onRelease = function() {
if (_root.section != "slideShow.swf") {
_root.section = "slideShow.swf";
_root.transition.gotoAndPlay("closing");
}
};
the movie clip that the slideShow.swf is loading into has an instance name of "container."
This is the code on the first line of the slide show
slide_number = 17;
reel_speed = 1;
slide_count = 3;
m1 = _root.content.slide_1;
m2 = _root.content.slide_2;
m1._x = 0;
m1._y = 0;
m2._x = 600;
m2._y = 0;
_root.content.onEnterFrame = function() {
_root.content.moveLeft(reel_speed);
};
function moveLeft(nPixels) {
m1._x -= nPixels;
m2._x -= nPixels;
if (m1._x<-600) {
m1 = _root.content["slide_" + slide_count];
slide_count = slide_count += 1;
if (slide_count > slide_number) {
slide_count = 1;
}
m1._x = 550;
m1._y = 0
}
if (m2._x<-600) {
m2 = _root.content["slide_" + slide_count];
slide_count = slide_count += 1;
if (slide_count > slide_number) {
slide_count = 1;
}
m2._x = 550;
m2._y = 0;
}
}
What I have noticed is the first slide loads corectly, but then the rest don't work. Do I have a wrong path for all of the slides except for slide_1?
Flash Demo Reel: What's The Best Way To Put This Together?
Hey all,
I'm putting together a demo reel of a variety of Flash projects we've done.
I would like the resulting file to be controllable with a Flash controller, meaning I'd like users to be able to pause it, rewind, fast forward or scrub through it.
I already have a component for the VCR style controller but how would you suggest putting the various pieces together in a way that it will be controllable?
- Should I bring in each of the various Flash movies as a separate scene in an external movie, then export it as a SWF and load it into a holder MC?
- Should I bring each of the various movies into a separate slide? Would slides even work with a controller?
Is there a comletely different way altogether? What do you guys think?
|