Hey guys, hope you can help me on this one I need to create a single flash movie that will then load up another flash file (a game)
Now I have the flash loader working great, I pass the filename to it and it loads up the correct game, however there is one small problem (well not really small big but anyways) you cant use the keyboard to control the game anymore
I have tried searching for a fix to this but everywhere tells me to put the keyboard functions into the flash loader itself and that isn't an option as the flash loader file will be loading up multiple different games depending on what the users wants to view.
So my question is this... How can I get my event listeners working again.
Thanks in advance!
Thats the preloader, as you can see it stays on the single frame so any ideas?Code:stop(); var myMCL = new MovieClipLoader();//create an instance of MovieClipLoader myMCL.onLoadStart = function (targetMC) { var loadProgress = myMCL.getProgress(targetMC); } myMCL.onLoadProgress = function (targetMC, loadedBytes, totalBytes) { } myMCL.onLoadComplete = function (targetMC) { var loadProgress = myMCL.getProgress(targetMC); } myMCL.onLoadInit = function (targetMC) { } myMCL.onLoadError = function (targetMC, errorCode) { } myMCL.loadClip("http://www.theurl.com/swf/theswf.swf", "thegame");



Reply With Quote