I’m having a few problems with loading swf after swf. I want one swf to load after another has loaded and so on… Down a long chain until everything is loaded.
I know this code doesn’t work… But it shows you what I’m trying to do.
Should I use listeners to achieve this? Because _root.theMC.onLoad = function(){-Do Stuff-} doesn’t seem to work at all…
// Loading the first file.. .This works
_root.profile.pContent.loadMovie("http://files.hosting.com/files/profile.swf"+noCacheString);
//This does not work...
_root.profile.pContent.onLoad = function() {
_root.background1.loadMovie("http://files.hosting.com/files/background.swf");
};
//Or this either...
_root.background1.onLoad = function() {
_root.curtain.play();
};