Dynamic Flash Calendar
Anyone know of a flash tutorial of a reservation calendar? A calendar that people can request dates to reserve a place and can see which dates are already booked?
Thanks, JK
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 06-28-2006, 09:24 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dynamic Text Updating Calendar With Flash
I'm interested in creating a calendar in flash with all of the days of the month displayed. What I would like to do is create something where someone that doesn't know flash or html can update the calendar somehow through a regular text file or something like that and have dynamically updating text fields in the calendar that read from the text file for each date. Would anyone be able to tell me how to set this up? Even a simple example will do just fine. Thanks ahead of time!
- Charles C.
http://www.StiffieJones.com
How To Insert A Flash Calendar In My Website, Flash Calendar
My boss want to add a flash calendar in our company website, but I don't know how to do, Anybody who can help me? Or recommend one?
Our demands:
1.can change the background(our website color is blue)
2.can using scripts JSP, can select data from our database
Dynamic Calendar
Could someone point me to a tutorial on how to create tables in flash? I'm looking to create a calendar of events. Days that are populated with events would be shaded differently, and, upon click/rollover, would display the information for the event (Time, Place, etc.) on a separate part of the movie.
Like the Spark Calendar, it would automatically start on the current day. I know I'll probably need an external php file or something, but a tutorial would be nice...
Dynamic Calendar
Hi everybody...
I need some help pretty stuck with this one.... Please see attached files.
I need to display an image inside the tooltip MC that you see if you rollOver the hilited dates. this image's location is an attribute in my XML file called logo; so I need to dynamically load that image into an empty movieClip that is inside an also dynamically generated movieClip.
To see the clips calling the action, open the "Tag" MC in the library and go to frame 3 and up. the invisible buttons call the tooltip from the library inside which I ask to load the gif.
(see first frame actionson root for XML variables and functions; on line 57 I define a variable called logoLoader equivalent to the logo attribute on the current node in the XML file, and which I call inside the tooltip MC on a frame action like so:
this.onEnterFrame = function(){
loadMovie (_root.logoLoader, logo);
}
To see the tooltip MC, double click it from the library, it's called dynamically into the stage.
I also want to know if I can restrain the month sequence to a certain year (say 2003 - 2004); should I define this on the XML file or within flash?
Dynamic XML Calendar Help
Hey Everyone,
I have an event calendar generated with actionscript and populated with XML. When a date in the XML matches a date on the calendar the square turns blue, and becomes a button. Great. This works fine when i test the movie by itself, but when i load it into my main movie, the calendar loads, the XML loads, but the square does not turn blue! The site is a full flash site, and when you click "Events" the calendar loads, but the square doesn't.
This is the code for my calendar.
Code:
fscommand ("allowscale", 0);
CurDate = new Date();
MyCurYear = CurDate.getFullYear();
MyCurMonth = CurDate.getMonth();
MyCurDate = CurDate.getDate();
MonthNames = new array();
NoofDays = new array();
NameofDays = new array();
if ( MyCurMonth == 1 )
{
if ( (MyCurYear%4) == 0 )
{
NoofDays[1] = 29;
}
else
{
NoofDays[1] = 28
}
}
MonthNames[0] = "January";
MonthNames[1] = "February";
MonthNames[2] = "March";
MonthNames[3] = "April";
MonthNames[4] = "May";
MonthNames[5] = "June";
MonthNames[6] = "July";
MonthNames[7] = "August";
MonthNames[8] = "September";
MonthNames[9] = "October";
MonthNames[10] = "November";
MonthNames[11] = "December";
NoofDays[0] = 31;
NoofDays[2] = 31;
NoofDays[3] = 30;
NoofDays[4] = 31;
NoofDays[5] = 30;
NoofDays[6] = 31;
NoofDays[7] = 31;
NoofDays[8] = 30;
NoofDays[9] = 31;
NoofDays[10] = 30;
NoofDays[11] = 31;
NameofDays[0] = "Sun";
NameofDays[1] = "Mon";
NameofDays[2] = "Tue";
NameofDays[3] = "Wed";
NameofDays[4] = "Thu";
NameofDays[5] = "Fri";
NameofDays[6] = "Sat";
mc_flash.gotoAndPlay (2);
myNewDate = new Date(MyCurYear, MyCurMonth, 1);
myNewYear = myNewDate.getFullYear();
myNewMonth = myNewDate.getMonth();
Display = MonthNames[myNewMonth]+" "+myNewYear;
if (myNewMonth == 1) {
if ((myNewYear%4) == 0) {
NoofDays[1] = 29;
} else {
NoofDays[1] = 28;
}
}
myNoofDays = NoofDays[myNewDate.getMonth()];
myDay = NameofDays[myNewDate.getDay()];
if (myDay == "Sun") {
setProperty ("Numbers1", _x, 5);
} else if (myDay == "Mon") {
setProperty ("Numbers1", _x, 33);
} else if (myDay == "Tue") {
setProperty ("Numbers1", _x, 61);
} else if (myDay == "Wed") {
setProperty ("Numbers1", _x, 89);
} else if (myDay == "Thu") {
setProperty ("Numbers1", _x, 117);
} else if (myDay == "Fri") {
setProperty ("Numbers1", _x, 145);
} else if (myDay == "Sat") {
setProperty ("Numbers1", _x, 173);
}
i = 1;
Max = myNoofDays;
Numbers1.gotoAndStop(1);
i = i+1;
duplicateMovieClip("Numbers" add (i-1), "Numbers" add i, i);
"Numbers" add (i-1).gotoAndStop(1);
setProperty("Numbers" add i, _x, getProperty("Numbers" add (i-1),_x)+28);
set("Numbers" add i add ".Num", i);
if ((getProperty("Numbers" add (i-1), _x) > 170)) {
setProperty("Numbers" add i, _x, 5);
setProperty("Numbers" add i, _y, getProperty("Numbers" add (i-1), _y)+25);
}
if (i == Max) {
gotoAndPlay(6);
} else {
gotoAndPlay(3);
}
stop();
mc_msgtxt._visible = 0;
mc_ViewClickedDate._visible = 0;
ChkDate = new Date();
ChkYear = ChkDate.getFullYear();
ChkMonth = ChkDate.getMonth();
ChkDateNo = ChkDate.getDate();
if ((MyNewYear == ChkYear) && (MyNewMonth == ChkMonth)) {
tellTarget ("Numbers" add ChkDateNo) {
gotoAndStop(2);
}
}
stop();
XMLData = new XML();
XMLData.ignoreWhite = true;
XMLData.load("cal.xml.cfm");
XMLData.onLoad = viewApp;
fscommand ("allowscale", false);
function viewApp (success) {
if(success){
mainTag = this.firstChild.childNodes;
for (i=0; i<mainTag.length; i++) {
if ((mainTag[i].attributes.year == myNewYear) and (mainTag[i].attributes.month == myNewMonth)) {
trace(mainTag[i])
eventDate = mainTag[i].attributes.date;
myEvent = _root["Numbers" + eventDate];
myEvent.gotoAndStop(3);
}
}
}
}
Does anyone have any ideas?
Thanks,
DjPizat
Dynamic XML Calendar Help
Hey Everyone,
I have an event calendar generated with actionscript and populated with XML. When a date in the XML matches a date on the calendar the square turns blue, and becomes a button. Great. This works fine when i test the movie by itself, but when i load it into my main movie, the calendar loads, the XML loads, but the square does not turn blue! The site is a full flash site, and when you click "Events" the calendar loads, but the square doesn't.
This is the code for my calendar.
Code:
fscommand ("allowscale", 0);
CurDate = new Date();
MyCurYear = CurDate.getFullYear();
MyCurMonth = CurDate.getMonth();
MyCurDate = CurDate.getDate();
MonthNames = new array();
NoofDays = new array();
NameofDays = new array();
if ( MyCurMonth == 1 )
{
if ( (MyCurYear%4) == 0 )
{
NoofDays[1] = 29;
}
else
{
NoofDays[1] = 28
}
}
MonthNames[0] = "January";
MonthNames[1] = "February";
MonthNames[2] = "March";
MonthNames[3] = "April";
MonthNames[4] = "May";
MonthNames[5] = "June";
MonthNames[6] = "July";
MonthNames[7] = "August";
MonthNames[8] = "September";
MonthNames[9] = "October";
MonthNames[10] = "November";
MonthNames[11] = "December";
NoofDays[0] = 31;
NoofDays[2] = 31;
NoofDays[3] = 30;
NoofDays[4] = 31;
NoofDays[5] = 30;
NoofDays[6] = 31;
NoofDays[7] = 31;
NoofDays[8] = 30;
NoofDays[9] = 31;
NoofDays[10] = 30;
NoofDays[11] = 31;
NameofDays[0] = "Sun";
NameofDays[1] = "Mon";
NameofDays[2] = "Tue";
NameofDays[3] = "Wed";
NameofDays[4] = "Thu";
NameofDays[5] = "Fri";
NameofDays[6] = "Sat";
mc_flash.gotoAndPlay (2);
myNewDate = new Date(MyCurYear, MyCurMonth, 1);
myNewYear = myNewDate.getFullYear();
myNewMonth = myNewDate.getMonth();
Display = MonthNames[myNewMonth]+" "+myNewYear;
if (myNewMonth == 1) {
if ((myNewYear%4) == 0) {
NoofDays[1] = 29;
} else {
NoofDays[1] = 28;
}
}
myNoofDays = NoofDays[myNewDate.getMonth()];
myDay = NameofDays[myNewDate.getDay()];
if (myDay == "Sun") {
setProperty ("Numbers1", _x, 5);
} else if (myDay == "Mon") {
setProperty ("Numbers1", _x, 33);
} else if (myDay == "Tue") {
setProperty ("Numbers1", _x, 61);
} else if (myDay == "Wed") {
setProperty ("Numbers1", _x, 89);
} else if (myDay == "Thu") {
setProperty ("Numbers1", _x, 117);
} else if (myDay == "Fri") {
setProperty ("Numbers1", _x, 145);
} else if (myDay == "Sat") {
setProperty ("Numbers1", _x, 173);
}
i = 1;
Max = myNoofDays;
Numbers1.gotoAndStop(1);
i = i+1;
duplicateMovieClip("Numbers" add (i-1), "Numbers" add i, i);
"Numbers" add (i-1).gotoAndStop(1);
setProperty("Numbers" add i, _x, getProperty("Numbers" add (i-1),_x)+28);
set("Numbers" add i add ".Num", i);
if ((getProperty("Numbers" add (i-1), _x) > 170)) {
setProperty("Numbers" add i, _x, 5);
setProperty("Numbers" add i, _y, getProperty("Numbers" add (i-1), _y)+25);
}
if (i == Max) {
gotoAndPlay(6);
} else {
gotoAndPlay(3);
}
stop();
mc_msgtxt._visible = 0;
mc_ViewClickedDate._visible = 0;
ChkDate = new Date();
ChkYear = ChkDate.getFullYear();
ChkMonth = ChkDate.getMonth();
ChkDateNo = ChkDate.getDate();
if ((MyNewYear == ChkYear) && (MyNewMonth == ChkMonth)) {
tellTarget ("Numbers" add ChkDateNo) {
gotoAndStop(2);
}
}
stop();
XMLData = new XML();
XMLData.ignoreWhite = true;
XMLData.load("cal.xml.cfm");
XMLData.onLoad = viewApp;
fscommand ("allowscale", false);
function viewApp (success) {
if(success){
mainTag = this.firstChild.childNodes;
for (i=0; i<mainTag.length; i++) {
if ((mainTag[i].attributes.year == myNewYear) and (mainTag[i].attributes.month == myNewMonth)) {
trace(mainTag[i])
eventDate = mainTag[i].attributes.date;
myEvent = _root["Numbers" + eventDate];
myEvent.gotoAndStop(3);
}
}
}
}
Does anyone have any ideas?
Thanks,
DjPizat
Dynamic Calendar
The search tab is down so I'll just have to ask...does anyone know how to make a flash calendar that can be displayed over the web which the client can add notes and events to each day (in other words so I don't have to update it every week...)
Dynamic Calendar
Hi there,
i am about to build a dynamic calendar which will look quite similar to the DateChooser component in flash.
However i am having trouble finding the DateChooser's AS code in order to customize it for my needs.
i will be using XML to load the data into the calendar.
The Calendar will be able to do the following things:
Calander events will be highlighted (different colors according to the event type e.g. sport=blue , cats=red , dogs=green)
When the user rolls over an event, a pop up window will be displayed showing the details of the event.
My Question is: "Should i keep trying to customize the DateChooser component or would i be better off making my own from scratch."
If anyone knows of a similar calendar or functionability i would love to here about it.
Thanks
Hamo
How To Create A Dynamic Calendar
how to create a dynamic calendar.??? one that can keep itself updated
Can it be done using actionscripts or any other kind of scripting?
Resize Dynamic Calendar
Hi, Ive got a flash xml driven calendar from Flashden, its great but I need to resize it to fit and I cant manage to do so, I dont even know if its possible, can someone help me out?¿
Dynamic Timeline Or Calendar
Het there,
Was wondering if there is anyone who knows of a tut on how to make your own calendar or dynamic timeline. Or show me how it is done. I know it's rather advanced but I would like to give it a shot, even though I'm a newbie.
Here is a link to what I'm after:
http://www.actionscript.org/showMovie.php?id=1004
Kind regards,
tsquared
Dynamic Calendar - Xml - Loadmovie
Hi
I am trying to create a dynamic calendar where a user clicks on a
date, a text field is created/populated on one part of the main flash
movie & a movie loaded in another part. I have seen examples at =
= > http://www.webagent007.com which uses an xml file,
= > http://rahel.burbacher.org which uses a MySQL database & PHP.
I have searched high & low for info on how to do this. Any clues or
pointers on how to achieve this ?? Links to tutorials are always
appreciated.
Thanks in advance
PO
Dynamic Timeline Or Calendar
Het there,
Was wondering if there is anyone who knows of a tut on how to make your own calendar or dynamic timeline. Or show me how it is done. I know it's rather advanced but I would like to give it a shot, even though I'm a newbie.
Here is a link to what I'm after:
http://www.actionscript.org/showMovie.php?id=1004
Kind regards,
tsquared
Dynamic Calendar - Xml - Loadmovie
Hi
I am trying to create a dynamic calendar where a user clicks on a
date, a text field is created/populated on one part of the main flash
movie & a movie loaded in another part. I have seen examples at =
= > http://www.webagent007.com which uses an xml file,
= > http://rahel.burbacher.org which uses a MySQL database & PHP.
I have searched high & low for info on how to do this. Any clues or
pointers on how to achieve this ?? Links to tutorials are always
appreciated.
Thanks in advance
PO
Dynamic Calendar - A Long Shot But Hey See If You Can Help...
Ok...
I need to be able to produce a dynamic calendar for a website I am working on. I want a calendar that will display the dates for each month with three possible pieces of text on each day. It is these pieces of text that i want to be dynamicaly set. The three text alternatives might be 'no' 'yes' 'ok'. So for example I want to be able to enter into a txt or xml doc, or whatever server side thingy you think is best to use, that the text in the section of the calendar for the 5th of march 2003 is 'ok'. So maybe it would look like this?
5,03,2003 = ok
I cant even set up the initial calendar, not to mention getting the variables etc. Can i use the MX component scrollbar? Ohhh my head hurts.
How can I do this. Can you point me towards a tutorial that will help?
Do you even understand.....
My Flash Calendar And PHP
I've built a Flash calendar with a scene for each month and buttons for days. Right now, they're statically linked via a GET URL call to a .php file (ex: calendar.php?calendarid=1) for each day. Whenever someone enters a new event in my database, I receive an email and then manually "turn on" the link and highlight it to show that it's active. I'd like to be able to pass this data dynamically. In addition, I'd like to automatically highlight the current day as well. Anybody got any ideas for a relative newbie to actionscript, javascript, and php? I get the feeling that I'll need a combination of both to accomplish this
Calendar In Flash
Has anyone any success with doing up a calendar in flash? I've seen some in the movies section, but I don't think any of them are quite as sophisticated as I'm needing, like, say, using some javascript to pull up information for a given day when you click it... I'm still poking at one of the .fla's from movies, but I was hoping that someone might know of another good one.
Thanks!
Frank
Calendar In Flash
anyone happen to know of a good tutorial on building a calendar like this one in this website? I think it is cool and quite effective...I have never seen one like that in flash designed website before...
This is kind of a cool website....
http://www.rhondastakich.com/
there is a calendar button that opens up showing the day--then any events or shows schedukled for that day!
Thanks in advance...
Flash Calendar Help
Hey guys I am trying to find a premade Flash Calendar to use on my website and found this one on this site.
Flash Calendar
I have a few questions. First are there any other flash calanders out there like this for free. If so do they have the same sort of bigger popup window when you click on a date such as this one?
If not is there anyway i can use this one on an existing site. How would I intergrate it, size it, etc?
Lastly could anyone make a replica of this Calendar if needed?
Thx for any info guys I am very new to flash and hate to ask so many questions but just love this design.
Thx
Chris Walker
Flash Calendar
Hey all,
I am hoping to find a flash event calendar much like this one http://www.usflashmap.com/products/f...FRByYAodaTx5HA but free of course! hehe. .
Anyone have any leads on a good free event cal?
Flash 8
Flash Calendar
Hey, does anyone know how to create a calendar for a Flash page and as well, how to create one that can be inputted by anyone who logs onto the site (if possible).
Any help or leads would be appreciated,
~ Ryan
Flash Calendar Help
Hey,
I am working on a flash calendar for a client but have never done it before. What do I need to know? Does anyone have any source code?
I would appreciate any help you can give.
thanks
Andy
Flash Calendar
Hi Everyone,
I want to develop a flash calendar to sit on a site which will dynamically update from xml or something. For example when its feb 14th "It's valentines day today" then have some links to florists. Well that's the idea and I just wondered if there were any good tutorials on how to build the calendar?
Flash Calendar
hi all,
what is the best way to do one calendar like this http://testeflash.bcl.pt/calendar.jpg in flash automatically?
in php/javascript, is easy because i get the weekday, number of days in month, what month, .... and i change the line if one week end with </td></tr>, anyway, HTML stuff...
...but how i do something like that in flash? detecting some events in some days, the actual day, ...
i can't see how i do this, just somebody has one easy/nice idea to put me in the right way?
tks all
Flash Calendar
Hi everybody.
I want to build a flash calender. Building it is not a problem, i just don't know how to calculate days of month and years that have 364 days and 365 days.
IS there a website someone knows where i could find info
thx.
Flash Calendar
How can i go about creating a flash event calendar? I have my dateChooser component and i've already skinned it to my style. I want to know how i can make it so that when a person clicks on a date it shows the event that's going to happen on that date in a pop-up MC or something similar. I've searched this forum and googled a whole bunch but found nothing to my liking. I would appreciate any help, thx.
Flash & XML Calendar
Hi! Does anyone know where I can find an open source tutorial to make an events calendar or where I can find some source files for one?
By events calendar I mean a calendar that will highlight dates where events are planned to be taking place - highlight is controled via xml.
Using Flash 8 pro. and Dreamweaver 8 pro.
Thanks!!
Flash Calendar....plus PHP OK
I was looking at this component....
http://www.usflashmap.com/products/flash_calendar/flash_calendar_pro.htm
It seems to get the online admin interface it is whopping $449.....more than
I want to spend....
I tried looking at easyPHP Calendar but cannot figure out the Zend optimizer
install thingy.
So, any other easy to customize calendar component? Flashloaded's is sorta
lame and Coffeecup's is inconsistently corrupt.
TIA.
-Robert
PHP - Flash Calendar
Hi
I would like to create a event flash calendar that could communicate with PHP. I've found this component build with flash call dateChooser and I'm using it as my default calendar. The calendar should read strings that's on my PHP page for example:
<?php
// The $events array will call data from database
$events = array("2/14/2008", "2/22/2008", "2/27/2008");
$totalEvents = count($events);
foreach($events as $key => $value){
print "&$key=$value";
}
print "&totalEvents=$totalEvents";
?>
This outputs: &0=2/14/2008&1=2/22/2008&2=2/27/2008&totalEvents=3
Base on the value output by PHP, the calendar should read them and high light those days. For example: 2/14/2008 is output by PHP so the calendar should high light the 14th and if there are more events high light those days as well.
That's where I'm stocked. Anyone knows how to create such calendar please help. Any suggestion is welcome.
Thanks
AS3 / Flash Calendar
Hi all,
I have gone through the xml tutorial on loading data into flash with AS3. I would like to create a calendar in flash and load events through XML. How would I go about getting the dates in? PHP? or???
Thanks!
Jason
Calendar In Flash MX
Hello.. is it possible to make a date calendar in flashmx???
and highlight the date??? as every day passess?????
for example..
s m t w t f s
1 2 3 4 5 6
7 8 9 10 11 12 13
thanks.
Flash Calendar
i am having a project to do and it required me to include a calendar in flash .
Is there any tutorials out there on making a flash calendar ?
i will really appreciate it
thank in advance.
Flash Calendar
Hey, does anyone know how to create a calendar for a Flash page and as well, how to create one that can be inputted by anyone who logs onto the site (if possible).
Any help or leads would be appreciated,
~ Ryan
Calendar In Flash
Hey everyone...
right now i have a self made calender on a clients web site, and its becoming a huge hassle for me to change it every month. I have never used the calendar in the components tool bar, so i was hoping that someone would be able to point me in the right direction of a good tutorial on this!
Or, if someone knows how to take my exisiting calendar and make it change by itself like the component does, that would be even better!!
any help is appreciated!
thanxs :)
-Liz
Flash Calendar
I need to build a custom calendar like the calendar component in flash and I have no idea how to do that.
If somebody knows some examples please help me.
Set Alarms And Calendar In Flash?
Hello - I was wondering if anyone knows if there is an fla
of a reminder datebook. Where the user could put in appointments and get reminders? Like a Personal information manager? Something that would allow a user to set alarms.
thanks
dave
Timer Or Calendar In Flash 4
Hi, I'm a beginner of Flash.
I'm using Flash 4 and I want to create a "Date & time module" that displays the current date/time.
However, I find some samples from flashkit.com but they are only for Flash 5.
Can I use Flash 4 to create this module? And how?
Please HELP!!
Flash Calendar/Schedule .fla
I'm looking for a month view calendar .fla that shows
entries for particular dates on the calendar.
Easy interface for entry of events, but inaccessible for
viewers.
Any suggestions on where I could find this?
Thanks
Help Please With Flash Calendar Component
Can anyone recommend a tutorial on using a Flash Calendar movie to return a selected date to a HTML form.
To aid a user in filling in dates in a form!
Thanks in anticipation!
Steve
Flash Event Calendar
any one have any idea on how to create a flash event calendar where user could view events tat are mark on the calendar and the events are dynamically send to flash using asp. im not so familar with actionscript.
Flash Calendar That Updates
I have been looking for a way to have a calendar flash project that has 12 months in a drop box or just regular buttons. I have it setup now but the calendar always goes to Jan instead I would like it to goto the current month.
Anyone know anywhere I can find something useful?
Flash Calendar Component
Does anyone know how to make one calendar component set the date for another? I basically have two calendars in my form. One for arrival, and one for departure. they both will pop up today's date when clicked, which is great, but suppose I pick an arrival date on the one calendar, I would like the arrival calendar to talk to the departure calendar and have the same day and month and year come up that I selected on the Arrival calendar untill I change the departure date. Is this possible?
thanks,
Mike
Flash Calendar Component
Does anyone know how to make one calendar component set the date for another? I basically have two calendars in my form. One for arrival, and one for departure. they both will pop up today's date when clicked, which is great, but suppose I pick an arrival date on the one calendar, I would like the arrival calendar to talk to the departure calendar and have the same day and month and year come up that I selected on the Arrival calendar untill I change the departure date. Is this possible?
thanks,
Mike
|