PDA

View Full Version : free Events Calendar Component


fu-meng
08-24-2004, 04:28 PM
hi all.

i just want to say that i've been posting on this forum for the last month and a half and probably bugging the crap out of everyone here. regardless, my calendar component is complete and i want to give it to you all as thanks for helping me thru this. it was an enormous learning experience and my actionscripting is on a different level now.

special thanks go out to these people listed below, without whom this project would never have come to fruition:

deQue, deadbeat, farafiro, hangalot, CyanBlue, tdoublea, tink, and praufet.

i am indebted to you all.

this component, i think, will only work for MX2004. it is built to accept multiple, non-continuous dates (unlike the DateChooser component). so you can highlight and link whatever days you want.

simple install the .mxp file and then take that activity.xml file and place it on the same level and in the same folder as the .fla you're throwing it into. this xml file is where YOU put in the dates you want selected. you'll see how it works, it's a very simple file.

thanks again to all those who helped. let me know if there are any questions or comments.

best regards,

fumeng.

deQue
08-24-2004, 05:24 PM
Thanks for the dredit. Glad to be of assitance.

lordcatalien
05-31-2005, 06:46 PM
Hi Matthew,

Thanks for posting your eventsCalendar. It's so clean and easy to use. I also like that it can have a transparent background when the dateChooser component cannot (as far as I know).

I've unfortunately found a problem with the component and I'm not certain if it's something I'm doing wrong or not.

When two dates in the same year, but different consecutive months, have the same day, the link seems to display the second date for both. For instance, if I modify your XML file from this:

<all_activities>
<activity month="11"day="21" year="2002" urlPath="http://www.englishtown.com"/>
<activity month="11"day="23" year="2003" urlPath="http://www.filio.com"/>
<activity month="7" day="3" year="2004" urlPath="http://www.transphormetic.com"/>
<activity month="7" day="4" year="2004" urlPath="http://www.2advanced.com"/>
<activity month="7" day="5" year="2004" urlPath="http://www.xplana.com"/>
<activity month="7" day="10" year="2004" urlPath="http://www.matt-illustration.com"/>
<activity month="7" day="11" year="2004" urlPath="http://www.ef.com"/>
<activity month="7" day="12" year="2004" urlPath="http://www.yahoo.com"/>
<activity month="7" day="13" year="2004" urlPath="http://www.jazzical.com"/>
<activity month="0" day="30" year="2005" urlPath="http://www.ebay.com"/>
<activity month="1" day="25" year="2006" urlPath="http://www.webmonkey.com"/>
</all_activities>

to this:

<all_activities>
<activity month="11"day="21" year="2002" urlPath="http://www.englishtown.com"/>
<activity month="11"day="23" year="2003" urlPath="http://www.filio.com"/>
<activity month="8" day="4" year="2004" urlPath="http://www.transphormetic.com"/>
<activity month="7" day="4" year="2004" urlPath="http://www.2advanced.com"/>
<activity month="7" day="5" year="2004" urlPath="http://www.xplana.com"/>
<activity month="7" day="10" year="2004" urlPath="http://www.matt-illustration.com"/>
<activity month="7" day="11" year="2004" urlPath="http://www.ef.com"/>
<activity month="7" day="12" year="2004" urlPath="http://www.yahoo.com"/>
<activity month="7" day="13" year="2004" urlPath="http://www.jazzical.com"/>
<activity month="0" day="30" year="2005" urlPath="http://www.ebay.com"/>
<activity month="1" day="25" year="2006" urlPath="http://www.webmonkey.com"/>
</all_activities>

And i click on the previous item in the calendar, it displays the second one (meaning if I click on August 4, 2004 or September 4, 2004 they both display www.2advanced.com, which is the link for August 4, 2004). Can you please help me figure out how to fix this?

Thanks!

Also, as a side-note, it'd be better if the months lined up with the actual months (January = 1, February = 2, etc.)

Unrestraint
06-08-2005, 02:14 AM
Hi. Just a newbie. I really want to use this calendar in my personal site, but I want the events not to link to URLs but to popup text boxes with info inside flash. In the XML sheet, what do I put instead of urlPath="http://www.somewebsite.com" ?

Please help me. I've looked around for easily to do calendars and this looks like something I could do. Thanks.