okay I was able to create the calaneder from your help… so in March I have 5 dates that I am able to click on.
So far so good i think.
But how do I get data into the “events_txt”
Do i have to create an XML named that? This is where i am getting confused i think.
it would be best if I could just create an xml file, and upload that to the server so the changes are made and updated right away.
this is the line rite at the bottom that finds the xml file to load
for ur windows this is what i got… u can change the format etc
create a movie clip (lets call it mc32 as instance name)
put the dynamic textfield(events_txt) inside that movie clip and drag the mc32 onto the main timeline to where u want it to appear
Note : so now the calling of this textfield will be _root.mc32.events_txt rite?
Also, remember to remove the original textfield from the main frame.
since the calling has changed. Look at the AS for the calendar
var c = events_txt; will become
var c = [COLOR=orangered]mc32[/COLOR].events_txt;
you will have to edit the mc32 now
add 2 more layers, so now u have 3 layers
first layer is textfield
second layer is background
third layer is button
the first layer add another keyframe. give both frames 1 and 2 the action stop();
the second layer frame1 put a graphical background and let it alpha 0. In frame2 set alpha as 50(or whatever u like it to appear as)
the third layer is a button. Leave frame1 as empty frame while frame2 put a button and give actions to the button
on (press) {
_root.mc32.gotoAndPlay(1);
}
Ok the mc32 is done and ready. But u r left with one final step which is go back to the AS for the frame of the calendar. Look at the line
c.htmlText += output_str;
now enter this before that line
[COLOR=orangered]_root.mc32.gotoAndPlay(2);[/COLOR]
so that it looks like this
[COLOR=orangered]_root.mc32.gotoAndPlay(2);[/COLOR]
c.htmlText += output_str;
now try and see if it works
if it doesnt, post ur xml file and ur fla and i will look thru them
[final note] the user will still be able to click on the calendar that is behind the mc32… i am not too sure how to disable that. But i hope this is what u need