Hi Great file, is it possible to disable the “launch” function
to do that get into ‘myCalendar’ movieclip as found in the library. On frame labeled ‘done’ see actionscript, line 93 for this:
memoBox.m.cont.memo.htmlText += "<memo_title><a href=\""+calArray[a[i]][1]+"\" target=\""+s_linkTarget+"\">"+calArray[a[i]][2]+"</a></memo_title><memo_details>"+calArray[a[i]][3]+"</memo_details><br />";change it to:
memoBox.m.cont.memo.htmlText += "<memo_title>"+calArray[a[i]][2]+"</memo_title><memo_details>"+calArray[a[i]][3]+"</memo_details><br />";
cheers 
Hello encryptme,
Could you tell me how can I load the myEventCalendar’s swf file using the SWFObject http://code.google.com/p/swfobject/ (yes, I know how to use it with standard SWF files – that’s a piece of cake) I have to use the SWFObject for a proper display of my multilanguage website. On the page that the Calendar should appear there are also other flash components – since I use different variable names for flashvars, etc. those SWFs load correctly. I stucked at doing the same thing with your component. I looked into the fla file and I saw that there are some variables overriden from the swf file itself (like name of the xml file). How can I modify the flash code to make the Calendar’s swf file ready-to-setup from outside (I mean – from the swfobject code, i.e. setup the filename+path to the xml file, setup the flashvars depending on the language etc.).
Thx in advance, Mike
If you would like to define the paths to the xml and css via flashvars, here’s how:
in myCalendar movieclip on frame 1 actionscript:
change this
myAcc.load("setup1.xml");
to this:
myAcc.load(_root.pathtoxml);
then on frame 9 actionscript:
change this
styles.load("styles1.css");
to this:
styles.load(_root.pathtocss);
publish the swf, once done.
finally, in the html you can just specify in the flashVars using swfobject:
so.addVariable("pathtoxml", "folder/setup1.xml");
so.addVariable("pathtocss", "folder/style1.css");
for those using normal html with javascript and object tags, just add the codes below:
javascript:
'flashVars', 'pathtocss=styles1.css&pathtoxml=setup1.xml',object tag
<param name="flashVars" value="pathtocss=styles1.css&pathtoxml=setup1.xml" />
Hi I hate to bother you but I have spent the last few hours trying to add the event calendar to a webpage http://www.puertomorelosfishing.com/fishtour-2010.htm I have allways bought flash componets that included a html that i could just cut and paste the code into my htm. Most of the time i used swfobject.js … i’m still learning… do all my code by hand using coffee-cup html editor… thanks liza (Cancun)
file locations:
- ”/event-calendar/myEventsCalendar_single.swf”
- ”/event-calendar/setup2.xml”
- ”/event-calendar/styles2.css”
- ”/js/AC_RunActiveContent.js”
<head>
<link rel="stylesheet" type="text/css" href="/event-calendar/style2.css" />
<script src="/js/AC_RunActiveContent.js" type="text/javascript" ></script>
</head>
<body>
........
<div id="flashcomponent1" style="position:absolute; overflow:hidden; left:20px; top:5px; width:180px; height:180px;">
<script language="javascript" type="text/javascript">
'flashVars', 'pathtocss=/event-calendar/styles2.css'&'pathtoxml=/event-calendar/setup2.xml',
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', '<a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',</a>
'width', '180',
'height', '180',
'src', 'test',
'quality', 'high',
'pluginspage', '<a href="http://www.macromedia.com/go/getflashplayer',">http://www.macromedia.com/go/getflashplayer',</a>
'align', 'left',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'test',
'bgcolor', '#000000',
'name', 'test',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'test',
'salign', '',
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version =8,0,0,0" width="180" height="180" id="test" align="left">
<param name="allowFullScreen" value="false" />
<param name="flashVars" value="pathtocss=/event-calendar/styles2.css"&"pathtoxml=/event-calendar/setup2.xml" />
<param name="movie" value="/event-calendar/myEventsCalendar_single.swf" />
<embed src="/event-calendar/myEventsCalendar_single.swf" width="180" height="180" align="left" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</div>
</body>
Hello
I am new to flash so can u please help me to get it installedon my webpage. I am talking about the myeventcalendar
sorry I mean myEventCalendar
hello…i understand you can change the header box color…what about the calendar itself..the background – as i would like to use it on a white background so i need to have a much lighter shade to fit my theme…is this possible from the xml?
Hello!
Just purchased your calendar! Is it possible to avoid this “popup” when clicking on a date - I want my calendar to link to an html site when i click on an event date.
for example: i click on 23.october and it opens the specific event html site of the website.
greets raze

276 Purchases
107 Comments