Hi I am trying to work with Local Conection here and having major issues…
basically I have 2 flash files…
TOP-menu with 2 buttons(content and content2)
in html table on top
BOTTOM-seperate flash file with content/welcome screen…
Now I am trying to load when you click on one of these buttons the .swf files (content and content2) in the bottom part.
I got it all figured out but IT only loads the content2 because it is the last one in the code…
Here is the code for the 2buttons:
function triggerContent() {
my_send = new LocalConnection();
my_send.send(“incoming”, “Content”);
delete my_lc;
}
_root.bluebutton.onPress = function() {
triggerContent();
};
function triggerContent2() {
my_send = new LocalConnection();
my_send.send(“incoming”, “Content2”);
delete my_lc;
}
_root.bluebutton2.onPress = function() {
triggerContent2();
};
and here is code for the MAIN content window
my_get = new LocalConnection();
my_get.Content = function() {
loadMovieNum(“content.swf”, 1);
};
my_get.connect(“incoming”);
my_get = new LocalConnection();
my_get.Content2 = function() {
loadMovieNum(“content2.swf”, 1);
};
my_get.connect(“incoming”);
I know its pretty complicated but if you know Local Connection please help me out… Any help appreciated
thanks
Danny