I have the main swf that loads my main menu
this.createEmptyMovieClip("empty_mc",1);
empty_mc.loadMovie("topmenu.swf");
The topmenu.swf contains my buttons (of course) and it should load the pages movieclips (about, services etc)
I tried loading the about swf using this code:
on the button:
about_btn.onRelease = function(){
gotoAndStop("about");
}
on the time line:
loadMovie("about_clip.swf", "_root.container_about");
My first question is: am I being too complicate loading the swfs? is there an easier way to do it?
Update: I was able to center the movieclip using this code
about_page._x=0;
about_page._y = (Stage.height / 2) - (about_page._height / 2)
however, it appears centered left only when I actually resize the browser, otherwise it appears at the bottom left…why is that happening? anyone had similar problem before?