Hi,
I'm having some problems with ExternalInterface.
What happens it loads in the swf, but then when i click another button it won't load in a different swf. Its proberly something small, the annoying part is it works for loading in flv's.
Any help appreciated.
---------CODE--------------
import flash.external.*;
// The name of the Flash variable to be called in JavaScript
var flashFunction:String = "callSlide";
var instance:Object = null;
// Callback function executed by the name of variable
var realFunction:Function = playSlide;
ExternalInterface.addCallback(flashFunction, null, realFunction);
function playSlide(slide:String):Void {
loadSlide.loadMovie(slide);
}
_root.createEmptyMovieClip("loadSlide", 1);
---------END CODE--------------