0

A count down timer component

Flex

On a project I am working on, I needed a count down timer. The first iteration was just built into the MXML file that needed the counter, but I soon wanted/needed to use this in other places. I also need more control over the layout so I decided to make this a component.

One thing I am finding about making this a component is that the code is much cleaner now and actually smaller that the original inline timer I made. I released this last night and realized that it has some bugs, but I have fixed those. I am including a MXML app that uses the counter so you can see it in action.

To change where it starts, just change the minutes attribute and there you go.

Get the zip here

 You are free to use this however you see fit.

tags:
Flex
Juha said:
 
Could you check that zip-link you provided because it is not working for me. I was looking replacement for http://www.perinteinen.org/kaatopaikka/kesakoneist... I made last year with flash. Most likely I continue using flash on this one, but would be nice to see how this can be made with flex.
 
posted 732 days ago
Add Comment Reply to: this comment OR this thread
 
 
Ya, I took that site down. Send me an email and I will send you the zip file.
 
posted 732 days ago
Add Comment Reply to: this comment OR this thread
 

Search