Flash Detecting URL in Frame?

Hi,

Can Flash MX detect what url a frame has loaded ? e.g.

If an i-frame on my webpage = home.html then the flash movie will go to frame “home” (within the movie) else “stop” (on same frame in the movie.

Does any body know if this is possible?

Thanks in advance, Chris