Help me with LocalConnection

I have two SWF files on one HTML page - no frames. All I am trying to do i make it so when I press any button on my jukebox swf, it sends a stopAllSounds command to the swf animation playing next to it on the page. I can’t seem to get it to work. Please show me how to use the LocalConnection object and show me the actionscript for each movie. I have searched far and wide and tried to adapt actionscript but it won’t work.

Bonus question: in my jukebox, all my sounds seem to only play the first 5 seconds of each song when I publish the fla to a swf - however in the fla library - the full songs is loaded. Any ideas how to fix this?

Thanks in advance!

Is it in frames?

There are no frames - just two table cells on the same HTML page.

Thanks.

hmmmm,
why cant u have the stop all sounds button on the jukebox page?
because im not to sure about sending commands to other swfs on one page. you could just make it one swf and have it load bolth of your swfs . Then the stop all sounds would work…
http://www.kirupa.com/developer/mx/loading.htm

it can be done with LocalConnection… i just don’t know how to write the code…

thanks tho

ill look into it, sry if i wasnt anyhelp…