# Vertical/horizontal Calendar

**URL:** <https://forum.kirupa.com/t/vertical-horizontal-calendar/19815>\
**Category:** Uncategorized\
**Created:** [May 1, 2003, 9:15pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815 "2003-05-01T21:15:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![HTI](https://avatars.discourse-cdn.com/v4/letter/h/e19b73/32.png) [@HTI](https://forum.kirupa.com/u/HTI)\
**Post date:** [May 1, 2003, 9:15pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/1 "2003-05-01T21:15:11Z")

</div>

does anyone know how to make calendar like on the bottom of this site [http://www.afternoon-tea.net](http://www.afternoon-tea.net) ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 1, 2003, 10:15pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/2 "2003-05-01T22:15:59Z")

</div>

This is exciting!! I figured it out!  
The calender part is pretty easy. It’s just all the days listed in static text. Then the month could be action scripted along with the location of the blinking triangle. The blinking triangle is just a movieClip that fades it’s alpha.  
I made a seperate empty movieClip to tell the objects what to do.

Okay, code:  
The month is a dynamic text box, in the ‘var’ area, put in ‘month’.  
Give the blinking triangle an instance name of ‘triangle’.  
[AS]  
onClipEvent(load){  
now=new Date();  
months=[“January”,“Febuary”,“March”,“April”,“May”,“June”,“July”,“August”,“September”,“October”,“November”,“December”]  
}  
onClipEvent(enterFrame){  
\_root.month=months[now.getMonth()];  
location=now.getDate();  
if(location==1){\_root.triangle.\_x=40;}  
if(location==2){\_root.triangle.\_x=60;}  
//…etc,etc,etc the \_x tells the triangle to hover in a certain location //  
}[/AS]

Any questions? Please ask, I’m pretty excited that I got it to work (I still consider myself new…b)  
(-:

}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 7:52pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/3 "2003-05-02T19:52:08Z")

</div>

if you could post it in a flash file that would be great…thank you!! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 9:09pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/4 "2003-05-02T21:09:54Z")

</div>

I will but it will take me a day or two. I just sold another website to a company in Phoenix so that project must take priority.  
As soon as it’s done, I’ll post it.  
(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 9:58pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/5 "2003-05-02T21:58:16Z")

</div>

On second thought, I could use a calender like that on this site I’m making. Hmm. In that case, it’s done and working. To view if this is what you wanted click here:

[www.freddythunder.com/calenderhorizontal.swf](http://www.freddythunder.com/calenderhorizontal.swf)

And here’s the .fla.  
Enjoy!  
(-:

PS - I threw in a bonus running clock for fun 😏

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 3, 2003, 3:54pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/6 "2003-05-03T15:54:49Z")

</div>

ok no problem …just whenever you are ready…thanks again…🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 3, 2003, 8:44pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/7 "2003-05-03T20:44:25Z")

</div>

Did you see that it was done? It’s two posts behind…  
(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 5, 2003, 5:02pm UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/8 "2003-05-05T17:02:11Z")

</div>

is it possible to make this into a wall paper? how? a fla file would be great…thanks again…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 6, 2003, 4:53am UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/9 "2003-05-06T04:53:30Z")

</div>

How come I cant see the script in the attach file? I was too lazy to learn the script until you mention that you are new too, I feel ashame. Can you do something like a tutorial thing for me if itz not too much trouble? Very thankful for your help!! I’m on my way learning scripts too!! wish me luck!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 6, 2003, 8:56am UTC](https://forum.kirupa.com/t/vertical-horizontal-calendar/19815/10 "2003-05-06T08:56:30Z")

</div>

Sorry, I forgot to tell you. Instead of making an empty movieClip off the stage, I got lazy and put all the code in the triangle. The if/else statements are a little redundant and can be replaced with math. (Not as processor intensive).

I’m doing a website that will use that. I’ll use the other code and let you know!  
(-:
