source – Countdown display including year and month information(AS2)

7 11 2008

Per requested, below is a screenshot of the sample .fla file showing how to use the CountDown class. (I wish we could attach zip files to wordpress blogs. Oh well.)

sample fla file of CountDown class

sample fla file of CountDown class

Basically I have only one MovieClip on the stage, with an instance name “display”. Make sure this MovieClip’s linkage links to the Class “CountDownDisplay”, which can be found in my previous post. In the actionscript layer, I have a line of code as the following:

display.init( 2012,2,28,0,0,0,0,0, 100);

You are welcome to attach the MovieClip with code instead of placing it on stage directly. Actually that is recommended b/c you can get rid of it later by using the following line of code then the removeMovieClip method:

display.kill();

For the complete class files, see the previous post.

Advertisements

Actions

Information

One response

7 11 2008
example: Countdown display including year and month information(AS2) « Interactive Section

[…] and month information(AS2) 17 07 2008 [UPDATE] I have uploaded a screenshot of a sample source file for your reference. Please check it out. Thanks for the […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: