load_swf

i can load a SWF, but how do i position it to were i want this is what i’ve tried.
blue_btn.onRelease = function(){
_root.holder_mc.loadMovie(“test.swf”,3);
testswf. _x= 100;
};
Thxs

[AS]
blue_btn.onRelease = function(){
_root.holder_mc.loadMovie(“test.swf”,3);
holder_mc. _x= 100;
};
[/AS]

test becomes holder_mc and must be referenced using its name

What’s with the 3 at the end of loadMovie ? Looks pretty useless to me. Use this:

[AS]
blue_btn.onRelease = function(){
_root.holder_mc.loadMovie(“test.swf”);
_root.holder_mc._x = 100;
_root.holder_mc._y = 75;
};
[/AS]

grandsp5 - holdermc._x won’t work because there is no holdermc inside the button, you must use root.holdermc, and it’s holder****mc :wink:

oops. yeah voets is right. dumb mistake on my part. as for the 3, i think he was trying to load it into levels?? thats what i was trying 10 minutes ago ;).

Yes, but that should be done using loadMovieNum :bad::wink:

right.