Let's picture a CDROM that has a two proyector files ... but How can we make those two files interact? Even better, this will work with any SWF open and running, so you can make interact your proyector movie with, a webpage SWF or make two Movies in diferent frames interact with each other. The solution is easy, first we must create a "Listen Channel" so the first of our movies, can listen and execute, the commands of the second movie. To do this, we will use the LocalConnection() function that was includen since Flash MX. This tutorial will work ONLY with movies exported in Flash 6 or bigger. This means it works only in Flash MX & MX 2004.
|