Andrei1,
I am using the ExternalInterface.addCallback() method as
follows:
ExternalInterface.addCallback("playSong", loadTrack);
I reviewed the livedocs reference you provided above, but I
am not sure how to adapt this code:
<script language="JavaScript">
var jsReady = false;
function isReady() {
return jsReady;
}
function pageInit() {
jsReady = true;
document.forms["form1"].output.value += "\n" + "JavaScript
is ready.\n";
}
function thisMovie(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName];
} else {
return document[movieName];
}
}
function sendToActionScript(value) {
thisMovie("ExternalInterfaceExample").sendToActionScript(value);
}
function sendToJavaScript(value) {
document.forms["form1"].output.value += "ActionScript says:
" + value + "\n";
}
</script>
to my situation. Is it possible to get some guidance on this?
In my current project I am working with mp3 sound files.
Any guidance you can provide would be greatly appreciated.
Thank you.