Hey, i have a website i’m building, and when the user clicks a button, it goes to a certain point in the timeline, which then initiates some code to load a movie clip onto a certain part of the screen.
I made a sample swf to be loaded(home.swf), but the thing is, I dont want the user to see the things that are off the page of home.swf, that the user couldn’t normally see… i was wondering the best way to solve this.
As you can see, i already tried sizing the clip, but that only made it extremely small and didn’t solve the problem.
Here is the code on the main timeline :
this.createEmptyMovieClip("content_mc", this.getNextHighestDepth());
var mclLoader:MovieClipLoader = new MovieClipLoader();
var oListener:Object = new Object();
oListener.onLoadInit = function (mcContent:MovieClip) {
//mcContent._width = 850;
//mcContent._height = 367;
mcContent._x = 96.0;
mcContent._y = 157.0;
};
mclLoader.addListener(oListener);
mclLoader.loadClip("home.swf", content_mc);
Appreciate any help given.