**Hello. I have a two tricky problems…
- I have an .swf framework file that imports two other .swf files into itself to be viewed. The actionscript to import the other .swf files is as below. This works in firefox 3.0.5, but not in any other newer or older version of firefox, even if they have the latest, and same flashplayer 10 versions installed. It doesn’t work in explorer either but in opera it works. I’t doesn’t matter if I use mac or PC. Why ? Is there something wrong with my actionscript ? For now the page with the imported .swfs just shows up empty. Please help me… the importing script…**
var loader:MovieClipLoader = new MovieClipLoader();
var loadHandler:Object = new Object();
loader.addListener(loadHandler);
loadHandler.onLoadInit = function(_mc:MovieClip) {
workclip._visible = false;
};
loadHandler.onLoadProgress = function(_mc:MovieClip) {
workclip._visible = false;
};
loader.loadClip(“work.swf”,workclip);
/////////////
var loader:MovieClipLoader = new MovieClipLoader();
var loadHandler:Object = new Object();
loader.addListener(loadHandler);
loadHandler.onLoadInit = function(_mc:MovieClip) {
workpromoclip._visible = false;
};
loadHandler.onLoadProgress = function(_mc:MovieClip) {
workpromoclip._visible = false;
};
loader.loadClip(“workpromo.swf”,workpromoclip);
2. I’ve used a html template that use div tags to center content both horizontaly and verticaly in any browser. The centering **works fine, but when I put in the code for embedding my framework .swf, it starts chewing alot before the .swf shows up. It’s like something slows down the whole process. Sometimes I have to reload the page to make it show. Check out the website to see whats wrong. View the source code in any browser to see if I have made some misstake putting in the code for flash embedding…
Thanx for the help… I hope someone can answer this…