# MX Calendar

**URL:** <https://forum.kirupa.com/t/mx-calendar/19452>\
**Category:** flash\
**Created:** [April 28, 2003, 1:15pm UTC](https://forum.kirupa.com/t/mx-calendar/19452 "2003-04-28T13:15:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cello](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Cello](https://forum.kirupa.com/u/Cello)\
**Post date:** [April 28, 2003, 1:15pm UTC](https://forum.kirupa.com/t/mx-calendar/19452/1 "2003-04-28T13:15:12Z")

</div>

Hi all - coming to you guys for help again!

Have a look at the attached .fla -

Do any of you know where I could get a tut or .fla that could gve this kind of design that allows for each date to be a button that can link to say a .txt file with events for that day?

I am still working on AS so the code might well be in the attached .fla! - if so could some kind soul point me in the right direction?

Many thx - look forward to hearing from you.

Cello

---

<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:** [April 28, 2003, 3:14pm UTC](https://forum.kirupa.com/t/mx-calendar/19452/2 "2003-04-28T15:14:10Z")

</div>

Hi,  
The important thing is to name youy text files correctly, I would name my text files like this:

**2info21.txt**

where the first digit is the month number and the last digits are the date, your button code would then look something like this:  
[AS]  
on(release){  
loadText = new loadVars();  
loadText.load(month +“info” + date" + .txt");  
loadText.onLoad = function() {  
box.text = this.loadText;  
}  
}[/AS]

In effect you would only need one buttin duplicated the number of days per month, each with that code.

Hope that helps

SteveD

---

<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:** [April 30, 2003, 7:23am UTC](https://forum.kirupa.com/t/mx-calendar/19452/3 "2003-04-30T07:23:49Z")

</div>

Hi SteveD

Sorry for being slow getting back to you.

Thx - I think this could work; seems obvious now that you’ve shown me!

Cello
