Need help with Flash MX UI component 'calendar"

does anybody know how to set up Flash MX UI component calendar. I want to incorporate it into my website and then set up events for certain days, plz help

thank you

That would mean that you have to use some sort of scripting (PHP, ASP etc.) and a database i think. But I don’t know how… :frowning:
I’ll look in to it. Maybe I can figure somthing out ? :wink:

Well… sorry… I forgot…
What I found out is that the selectedDate returns a string like “Mon Dec 1 00:00:00 GMT+0100 2003”. Use it to identify the values you store in the database.
This concerns the component datechooser. That’s the one you mean’t, right?

Thanks
well what I really wanted is something like you said using php database and on click would open a certain event etc. but then i have to create sql database , right? not good in that :O(
what about making ‘days’ as buttons and on click would open an html pop up window , what do u think ?

Well… I don’t think that will be a good way of solving the problem… I’ve been working on it a little bit - If you want it I’ll upload it here in the forum?

hi scriptflipper.

i’ve been searching thru this forum for info about the DateChooser component and I was wondering if you wouldn’t mind answering my question as it looks like you’ve done some exploring in this area.

first off, i’m using the version 2 component structure and i’m trying to extend the functionality of the DateChooser component so it will highlight days depending on whether there is an event on it. (i pass this info via an xml doc).

what i’m really trying to do is create a syllabus. if there’s an assignment due on the 15th or the 9th or the 3rd or whatever, then that day will be highlighted.

from what i understand, you could do this with the v1 DateChooser component but you cannot with v2. there is a showToday() method which highlights the current day and it also accepts ranges of days for blackout, etc…

my question is…if i can pass the component a specific day or a range of days then wouldn’t i be able to pass a series of non-continuous days that would then activate its highlight property?

am i right in thinking that i can go into the DateChooser.as file (and the associated CalendarLayout.as file) and put in a few lines of code to extend its functionality to do this?

thanks. fumeng.

hmm… It was a long time since I played around with the DateChooser and Calendar in Flash, and I don’t remember a thing about it. So what you’re talking about is to change one of the AS2 components? Unfortunately I wouldn’t know anything about that, but maybe there’s some genious here that can give you a few hints…

Yes, exactly. I want to extend one of the v2 components instead of building a new calendar component from scratch. i’m really trying to avoid that.

i’ve posted to this forum, flashkit, and actionscript.org since the middle of last week and i’ve gotten no responses, unfortunately.

anyhow, thanks for getting back to me. i’ll let you know how it goes.

thanks. - fumeng.