What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Is there a way to send data through a function on a different frame. I am making a calendar for a web page and I am taking data from an object and I want to send it to a different frame that has only 1 days worth of data on it. My frame 1 has an entire calendar and my frame 2 has just one day. so i want to send the data when i click on the day to send from frame 1 to a function in frame 2. This is what I have on frame 1:
var my_day:Object = new Object();
first_btn.onRelease = function()
my_day.date = “Feb. 1st, 2008”;
my_day.title_event = “First Day of February”;
my_day.info = “This is the first day of Feb.”;
And i want it to send my\_day, the object to frame 2 which has this:
//Sets dynamic text to the my_day object’s Strings
titleTxt = my_day.title_event;
dateTxt = my_day.date;
infoTxt = my_day.info;
Any help would be great. Thanks in advanced
All you would need to do to get that to work is put your sendData function on frame 1.
Variables aren’t restricted to certain frames of a MovieClip, so if you set titleText etc on frame 1, they will still have their values when you go to frame 2, and their associated textfields should still display those values properly.