Loading an swf from another in a specific position on the screen

Hi,

I’m new to flash and am trying to load an swf in one of the swf. The problem is that the swf loads on its default position and I dont want that. So how can i go about resolving this.

Thanks in advance

Yogster

the problem is all the data in the clip is removed when a movieclip is loaded in.
2 get around that you can either place the swfClip inside a holderclip and position the holderclip.
var holderclip = _root.createEmptyMovieClip(“holder1”,1);
var loadedclip = holderclip.createEmptyMovieClip(“swf”,1);
holderclip._x = X
holderclip._y = Y
loadedclip.loadMove(‘includes/swf1.swf’);//or a url

a better but more complicated solution is using the MovieClipLoader component and listen for onLoadInit and then do something AFTER the clip loads…but thats a little more complicate and theres tons of tutorials on MovieClipLoader out there so you can figure that one out on your own :stuck_out_tongue: