Hey hows it goin-
I'm trying to get my flash navigation bar to change the contents of an iframe on my web page, and I'm having a heck of a time figuring it out. I've read tons of articles like this one on multiple forums with people having the same issues, but I can't really figure out how to implement their answers into the codes and scripts. Plus, I haven't found anyone post their working codes back into their threads once they do finally find the answer. So I'm stuck, having limited web development experience & knowledge. But what I do know is that the codes are something along these lines:
javascript
:
Code:
script type="text/javascript">
function changeURL(url)
{
document.getElementById('content').src=url;
}
</script>
ActionScript:
Code:
mybutton.onPress = function(){getURL("url", "Frame");}
ActionScript:
Code:
mybutton.onPress = function(){getURL("javascript:changeURL('url');");}
I've also seen that the required ActionScript is an ExternalInterface class, but I'm not really sure how to implement that. Could someone please help me out?

Much appreciated!
import flash.external.ExternalInterface; myButton.onRelease = function():Void { ExternalInterface.call( "changeURL", "http://www.google.com" ); }