Window to Window Communications

This sample shows how to create and control multiple windows, as well as how to expose user defined functions so they can be called from other windows.

This sample uses the function mApplication.createWindow() to create a child window. The command mWindow.setSize() is used to control the size of the child window from the parent and vice versa.

The parent and child swfs expose a "hello" function that can be called synchronously by other windows.To expose functions to another window, simply add the function to the mWindow class in the swf.

mWindow.hello = function(hiThere) {
	hello.text = hiThere;
};

You can download this sample, "Parent Child", from the mProjector Samples page -- /software/flash-projector/flas.html#parentChild.

cialis viagra levitra kaufen rezeptfrei mail order viagra uk viagra sildenafil