The only problem is that when I try to incorporate it into my flash site the back (the little "X" that takes you back from the event) disappears.
If anyone could give me some help I would be very grateful.
#  /  posted on Jul 16, 2008
Home / Forum / Components Discussions / Calendar XML
I‘m also having a problem getting the program to recognize events for 2009. Is this a glitch in the XML, or am I doing something wrong? This calendar is one of the best I‘ve seen, but I hope to get instructions on how to deal with the 2009 issue.
Thanks!
It was a small bug, find the line:
for (i=0;i<my_xml.firstChild.childNodes.length;i ){
and replace < with <=
Regards,
Snowcat
I purchased this calendar but misunderstood what it meant above when it said that you could edit the startDay. I thought that it meant that I could tell the calendar what month to begin in.
Is there a way to adjust it so that if I don‘t have any events in a given month, it displays the next month that does have an event in it? Or at least be able to set the starting Month.
Thanks
Hi,
Find the line curentMonth=my_date.getMonth(); and assign the desired value (just a note, January is 0, December is 11)
Regards, Snowcat
hi,
i was changing
for (i=0;i<my_xml.firstChild.childNodes.length;i ){
and replace < with <= ”
and nothing happens – 2009 year will be not display just 2008 :(=
what to do?
jan
hi,
how to change event display to
day month, year
and not
month day, year
thanks
jan
Hello Snowcat, I am having the same problem as someone else here..
I love your calendar, and it looks great, but I noticed that when you click to, say, September, then click BACK to August, all of the numbers vanish, or get thrown to one side. Can you tell what is going on here? This is kind of imperative to be be fixed. Thanks for any help.
Hi,
How can I add event on many years in your calendar ?
thanks
please give xml example how to add events for year 2009.
i try to duplicate <year number=“2008”>....</year>
<year number=“2009”>... </year>
</calendar>
BUT do not work. What to do?
Hi,
I have the same problem … Can you tell how to edit the xml file for add event in 2009 (more than 1 year …)??
We want an answer please …
Hi guys,
Just updated the Calendar, you can re-download the commercial archives, the year 2009 works fine now as you can see in the demos.
Regards,
Snowcat
Thanks for the new version but I still have problems with it.
The 2009 calendar works fine but with the 2008 events whatever event set in the xml file for 2009.
Very sorry, I tried to fix it in a rush.
This time I hope it‘s for good.
Please re-download again.
The bug was fixed by replacing firstChild.firstChild with firstChild.childNodes[i] everywhere in the code (about 41 times) – you can try this without re-downloading, to keep your customized variables.
Regards, Snowcat
Hi mate,
I don?t know Flash. So please, tell me if is possible to change the arrows icons and if is possible to use the pictures background without opacity. But i want the opacity in the number like is. I just want to use the pictures with a better “quality”...
I bot your project already. Thank you!
Hi. I purchased the calender last night and I am really trying to figure out how to place the calender EXACTLY where I want it to show up in my movieClip. I‘m using the calender on my website on a page and when I test the movie, it isn‘t centered in my movie clip. I guess what I really want to know is how do I edit the x and y coordinates to align the calender to show up right where I need it. I have looked in the actionscript coding and in the xml file. If you can help me I would really appreciate it.
Kindly,
Marv.
what would be a line of code that I can use to make the event links open up in a blank browser window? I‘d also like to format my event text with HTML, (line breaks, bold/italic)- but it doesn‘t seem to be working when I try- I am primarily a designer, but I know a little :(
I‘m new to Flash and was trying to find a way to make the calendar transparent. I tried looking in the data.xml. I also tried looking inside the Action Script within Flash, and could not seem to find where to make the calendar transparent. Does anyone know how to accomplish this task?
Sych: Yes, you can easily change the arrow icons from the Library. To use the pictures background without opacity just set calendarAlfa=100;
gomarvelous: There are two ways to do it: 1.Find the first two _x and _y properties in the code (one is under with(background) statement and another in with(calendar) statement) and set them as you like. 2.create a new symbol and cut-paste all the code from the first layer on the timeline in the first layer of this newly created symbol. Place that symbol at any (x,y) positon you like on the stage
loveyourdesigner: The line of code you're looking for is:
function didyoupressme(n:Number){
For the other request, I'm afraid I didn't provided support for HTML text formatting
itoalvarez: There are two ways: 1.Find in the code all the defined alpha variables and change them to your needs, or 2. create a new symbol and cut-paste all the code from the first layer on the timeline in the first layer of this newly created symbol. Place this symbol on the stage and set it's alpha in the Properties panel(Ctrl F3)
How do I embed a font into the calendar? i'm able to change it in the actionscript but it goes right back to default once I throw it online.
Also,
where in the actionscript is the alignment of the month/year — as you can see even in your demos above, the month/year is not centered properly.
Hi,
To embed a font you’ll have to do the following:
Define my_font in the Library, by selecting New Font in the context menu after clicking the icon in the upper right corner of the Library. You must select “Export for ActionScript” and “Export in first frame”, and the Identifier would be named let’s say my_font.
In the AS code set
calendarTextFont = “my_font”;
informationTextFont = “my_font”;
After that you’ll have to search for each occurrence of “createTextField”, and let’s say you have calendar.createTextField(“Antet”,calendar.getNextHighestDepth(),0,0,0,0);
then you’ll have to insert a line after that and set:
calendar.Antet.embedFonts = true;
So you’ll have set embedFonts = true for each text field.
To find the alignment of the month-year search for calendar.Antet._x
Regards,
Snowcat
HI Snowcat,
I need to set-up links in the xml file to open a new window. I am using this calendar in an iframe and I want to open a new page, not inside the iframe. What is the custom xml code that I need to use in this application.
Thanks
Dave
Hi,
To make links open in a new window you’ll have to Find and Replace “a href” (without quotation marks) in the ActionScript code (you’ll find it in two places, modify them both) with:
a target=’_blank’ href