Flash :: Creating A Daily Countdown Ticker?
Aug 24, 2009I was wondering if you guys can help me creating a daily countdown ticker? Like 100 days, 99 days, etc. without me having to go in and change the dates everyday.
View 4 RepliesI was wondering if you guys can help me creating a daily countdown ticker? Like 100 days, 99 days, etc. without me having to go in and change the dates everyday.
View 4 RepliesI am making a countdown ticker that would get the current server date & time and then calculate the remaining time from a target date.
I am using a PHP file to output the current server date & time. Then I use the Flash's loadvars function to get the result and format it as a Date field. However, when I trace for remaining days using targetDate-serverDate, I get NaN as the result.
Below is the code for my flash script as well as the php script.
Flash Code:
Code:
onClipEvent (load) {
myVars = new LoadVars();
// call the load method to load my php page
[Code].....
1. insert date values and then run a contdown ticker
2. next time user opens swf the value of the ticker should have been adjusted to the date values user inserted first time.
3. New input values should be remembered and old values ignored.
4. no external files wished, flush or shared obj.
I using the news ticker example to create a flash sig for my blog of highlighted posts. The question is there anyway of creating an automatic xml updater? So that all I would have to do is place some sort of "highlighter" tag in a post, then the xml file would be updated, thus a new link appear in the news ticker? I guess if I some how had rss for a tag, that then the xml was read into the flash file.
View 3 RepliesI'm trying to make a ticker that should show my message as a "typewriter". But it behaves very strange... see attached swf. I have never worked with Flash/actionscript before, so it might be something very simple
This is my code:
var n:Number=0;
var txt:String = "testing ticker";
var len:Number = txt.length;
function tick(){
if(n<len){
txt_bussgods.appendText(txt.charAt(n)); n++;
setTimeout(tick, 1000);
}else{
stop();
}}tick();
I want to use http streaming (ie. partial download) to serve some videos (medium to HD quality) to public.Idea is to have videos on server and offer some web page with embedded video player for user to watch selected video.Planned capacity is about 250 to 1000 daily views, with low concurrency requirement (ie. not many users in parallel watching video)I am thinking of complete solution like FLVPlayer or flowplayer to support this.What bothers me are network bandwidth requirements (what is minimum kbps) mainly, and this video player performance when in "heavy" use.For "heavy use" I consider adding possibility to stream many separate video files that I will add in back-end (via XML file or similar) and don't have experience with these players.
View 1 Replieshow to load dynamic content (movies, text, or whatever...) in flash that automatically changes daily, depending on the day of week (mon.-sun.)?
View 2 RepliesIm trying to design a countdown timer, with the ability to set the countdown time through buttons.I would like to have the dynamic text field to display the countdown numbers in HH:MM:SS format.I would also love to have a 30 minute button, and a 15 minute button which generates the time in the text field.Then a start and stop button to begin or end the countdown sequence.
View 3 RepliesI play games on Pogo and have never had a problem with their Flash Games until released Daily Hot Shots. It doesn't load fully and I've done EVERYTHING I know to do to get it to play. No errors show up. I can play ALL the other flash games but this one. When I right click, the name of the site's owners do not show up....I have the settings showing though Not all of the game loads and that's the problem. I've tried uninstalling and reinstalling....tried a different browser and have the same exact problem. THIS GAME WILL NOT PLAY.
View 2 RepliesI have a countdown to a specific date. Mine is 31st of december 2009. But I want a number related to the countdown. So it starts with lets say 8000.Now I have the number related to the amount of days. 62 is 8000, 61 is 7500, 60 is 7000... etc. When you enter the page it checks the countdown date and relates a starting number, every 3 sec. the number goes decreases. I want to add an action to every countdown. I know there must be a better way of coding this...
The best would be that the number decreases realtime, so everytime you go to the page number changes... Does anybody know a good way of doing this or provide a related tutorial link ? I really tried to find an example, but every countdown tutorial is related to time only....
Code:
onEnterFrame = function() {
var today:Date = new Date();
var currentYear = today.getFullYear();
[code]....
Does anyone know how to load dynamic content (movies, text, or whatever...) in flash that automatically changes daily, depending on the day of week (mon.-sun.)
View 2 RepliesI need to display daily text on a movie. like daily quotes or other content like daily thoughts. the files are on a txt file and I found a sample that I like but I can't get it to work, I don't know much action script but kinda mess around untill somehow I get things to work the way they suposed to, but I keep having problems with this one. I would like to create a simple page with two dynamic boxes, one that displays the date and another one that displays the content for that day.
also I have flash 8 and would like this script to run on a pocket pc if possible or flash 6 player.can anyone help me and guide me thru it and tell me the mistakes I have on the file. I've attached the fla and external txt file that will feature quotes.
I created a News Ticker in Flash CS3 from a tutorial on your site URL...But it just flashes "undefined" I know I must be messing something up with the location of the XML file or where it's defined in the action script. I don't think I understand the "cache" part of the tutorial or why the file can't be local? I have gone to the suggested links in the tutorial, and being a total novice, I must be missing some main point.
View 3 RepliesI have a fms 3 server runing a video chat room application. It goes well except everyday it will die once or twice. After restarting the fms server, everything goes working again.I checked its log, i saw many "Server rejected an invalid flow."
View 1 RepliesI have Macromedia flash 8.0 and i want to create a simple ticker which contains Text that scrolls right to left,over and over.
View 3 RepliesCould anyone recommend a nice and free Flash News Ticker?
View 6 RepliesI have to build a ticker the shows the FTSE 100 uk like the one built here: http:[url]......but without the huge map above.I know the file is nothing more than a news ticker, but I don't have idea where to take the data from. Also it needs to automatically update itself every 2/3 minutes.
View 0 Replieshow to create a simple horizontal news ticker [URL].
View 14 RepliesI have a flash program which uses asp to work with amicrosoft access database and Im trying to find the best way toupdate information at a specific time. I have time and date storedin a record in the database and would like to have the flashprogram update some text when this time and date is reached. Sothis could be hourly,daily,weekly or monthly.Would it be best to use the timer event or is there a betterway to do this? I think the timer event would be useful forrefreshing every hour, however im not so sure about thedaily,weekly and monthly options. If I was to refresh theinformation every week or month, would I leave timer running for awhole month or is there are better way to do it?
View 4 RepliesIm trying to make an ad that has a national debt moving up. You have seen them right, 11 trillion and counting. Im trying to do something similar, it would be great to import a flash ticker, but the prob is that they usually have a link to their site, and that is something I don't want. Another way is just to mimic the ticker, but is there a .fla or actionscript, with that I can start a dynamic number at 11 trillion, and just have it count UP?
View 2 RepliesI have a very specific issue I've been trying to solve like for 5 hours now, so basically I want to insert
[Code]....
I want to make a news ticker with ASP & Flash. Each trun will show one news.
View 8 RepliesI would like to point out that I am not an employee of either Comedy Central, The Daily Show or the website. The labels 'Production Assistant' and 'Intern' are just the sites rankings descriptions.There is an assumption by iPad owners, that all Flash websites must be converted to be compatible with the iPad, rather than the iPad should be compatible with existing websites.Is it worth continuing to defend against this assumption? Should we just give in to these people or try to engage them in a discussion, get them to demand Flash support from Apple?
View 2 RepliesMy text animation scrolls from left to right, which is OK. I want to keep it simple but change it up little. How do I get the text to go right to left?
AS3 Example
mask = customMask;
var my_str:String = " Ad hoc ad loc and quid pro quo ";
function addUm():void {
my_str = my_str.charAt(my_str.length - 1) + my_str.slice(0, my_str.length - 1);
[code]....
I'm trying to embed a handful of European language characters into a little flash news ticker (Swedish, Norwegian and some others). I'm embedding my swf file in the html and passing a FlashVars variable This is the text that the ticker displays. For some reason the swf doesn't render the character when I put a foreign character such as in the HTML. I have embedded all these fonts in the dynamic text box in my .fla
Attached is the .fla and .html file where you can input the text for the swf to display. Please have a look for me! (attached zip at bottom of post)
[Code]...
How can I set my countdown correctly? I'm counting from 33,000.00 to zero. It works in a fashion, but the minus operator appears in the textfield.
//Countdown from 33,000.00 to zero
var timer:Timer = new Timer(10);
var count:int = -3300000; [code]..........
EXAMPLE: I need something I can update with XML, to be an up-counter or down-counter depending on the variables.
//Count up from 33,000.00
var countValue:int = 3300000;
count = countValue;[code].................
I was wondering if there is a way to do a countdown in flash?I think something like hours til thing get.myHours(or something)and so on.but I don't know all the correct stuff to use and everything.
View 9 RepliesMy timer counts down from 60 to zero. I want my movie to go to the next frame at zero count. How would I make a condition to go from frame 1-2? I need to find the right operator and values, but I get lost in the strings.
What I am trying
If (something is <> == true false);
gotoAndPlay(2);
stop();
//
var timer:Timer = new Timer(100, 300);
timer.addEventListener(TimerEvent.TIMER, countdown);
[Code] ....
I'm making several experiments like this to understand conditionals. I need to build objects that function similar to preloaders.
I used a tutorial on this site to make a flash countdown. It is very close, but all the numbers are changing the same and I don't know actionscript enough to know what is going on. Mike woops, here is the flash file: apple.education.uwec.edu/webusers/dodgema/myCountdown.fla
View 6 RepliesI found a great flash countdown script through a tutorial, here is the action script-
this.onEnterFrame = function() {
var todayate = new Date();
var currentYear = today.getFullYear();
var currentTime = today.getTime();
var targetDateate = new Date(currentYear,11,25);
[Code] .....
This works fine. However, I am attempting to change the targetDate by retrieving the last day of the month and counting down to that. Right now it counts to christmas. I know how to get the last day of the month through PHP, so I was thinking I could send the variables to the flash document and somehow replace 11,25 with $n (which is the month variable in my php) ,$lastday .
Here is the PHP Code:
$m = date('m');
$n = date('n');$month = date('F');
$y = date('Y');
$find = mktime(0, 0, 0, $m, 0, $y);
$lastday = strftime("%d", $find);
print "&n=$n&lastday=$lastday";
I have tried loading the php file and then placing a variable in.