thanks for that
All I have is a html page with 3 HTML layers using div tag two are flash files which communicate ( on top and bottom layers) the third loads in and replaces a quicktime movie into the middle layer.
on my requesting flash file I have this:-
Code:
receivingLC = new LocalConnection();
receivingLC.loadTop = function(title, file, current_page) {
// all the things I wish to do - i.e. set title names
_root.current_page = current_page;
_root.title2 = "<p align=\"right\">"+title+"</p>";
};
receivingLC.connect("T2A1");
on one flash file I have this in a mc loader (a couple of blank frames then this code)
Code:
sendingLC = new LocalConnection();
sendingLC.onStatus = function(infoObject) {
if (infoObject.level == "error") {
// problem
//getURL("javascript:alert('Error:Could not establish connection between components on page')", "_self");
//sendingLC.close();
//try again
prevFrame();
} else {
// no problems send message!
sendingLC.close();
gotoAndStop(1);
}
};
sendingLC.send("T2A1", "loadTop", _parent.strTitle, _parent.strFile, _parent.current_page);
Should this be ok on the Mac???
The page that these flash swfs sit on is t2a1.htm - inserted as a top half of text file on this post and the javascript functions it called at bottom half - obviously these are too separate files with the appropriate extensions in the correct directory structure)
I can post the flash files too if it would help? - it just I havent a clue really where to start.