Can someone tell me how can i controll one SWF wich is in one frame from the other SWF wich is in other frame?
for example:
I have two frames ( topframe and bottomframe ), in the top frame i have navigation and in the bottomframe must be content, so how can i create some button in navigation wich is gonna to controll the content in the bottomframe ( for example PLAY or GOTO )?
You can’t control that real well because what is happening is that you are telling the html which fram to control. You could break it up into many different url and use _parent. as url target.
Yeah two seperate .swf files cannot communicate to eachother like that.
I believe if you use PHP, ASP, or sometimes Javascript you can pull in set variables to the other SWF to tell it what to do, but I have no clue if that is possible or how to do that.
I don’t know xml very well, but I think you could pass from one swf to another that way with mx. I haven’t looked deep enough into it, there may be some tutes somewhere on it…
Of course you can do that using local connection, there’s even a sort of a full site using interframe communication over at Flashkit to download, search Macromedia, it’s also used in their Pet Market thing…
“One of the new powerful features in Macromedia Flash MX is a class called LocalConnection. This class has methods which allow you to send data from one movie to another ** without using FSCommand or JavaScript**. LocalConnection sends strings and entire objects, with several properties, from one movie to another. It can also invoke ActionScript methods in the receiving movie. Using LocalConnection, you can send multiple objects as many times as necessary. The LocalConnection class works even when movies are running in different types of browser. For example, a movie running in Netscape can send a localConnection to a movie running in Internet Explorer.
…can be used to communicate between two movies in the same HTML page, or two movies in different pages, but both in the same domain…”