Communicate between two separate .swf files

hi …(long time)…
i’m workin on a site now … and what i would like yo know is how / if i can communicate between two separate .swf files…
what i want to do is this : i have a soundplayer… and when i go to a defrente html page (that changes only in the iframe , menu is in another iframe) i want the sound player to play another song!
so i need somewhere to put a variable and let the sounplayer read that variable so he knows what song he needs to play (this is what i thought , could be a solution) … is this posible?
thanks !

It sure is. Declare a variable in _root, and make your sound player look if that has changed. ( when a movie is loaded into another one, they share the same root )

See this thread for more information (scroll down a bit): thread

thanks , but htat one i knew …
maybe i did explain it right, let me try again…
i have , a html page with links to e.g. rap…, and i have soundplayer.swf wich plays songs (this on is in an iframe and is there all the time , it doesn’t get reloaded or something!) .
what i want to do is when i click on rap, i want it to stop playing whateverit is playing , and start playing a rap beat !!
i saw a tutorial on avtionscript.org , bt it’s in php, but since i have a free acount at brinkster i can only work with asp !! anyone ???

you can use the LocalConnection class to do such things…

http://www.macromedia.com/support/flash/ts/documents/localconnection.htm :slight_smile:

hey thanks, that’s just what i needed !! …