This is probably easy but

i am trying to make an all flash site and i did the tutorial. but i am trying to make it in a different format. i want a movie to come up in a certin place on my page. when i put in

loadMovie(“home.swf”, 2);

how do i define where on the page i want it because it keeps going to the left side of the movie? do i have to create something for it to go in?
thanks :m:

Try something like this:[AS]
_root.createEmptyMovieClip(“emptyMC”, 2);
_root.emptyMC.loadMovie(“home.swf”);
_root.emptyMC._x = 100;
_root.emptyMC._y = 100;
[/AS]

The first line will create a new moveiclip with an instance name of “emptyMC” on level 2.

The second line will load your home.swf into “emptyMC”.

The last 2 lines will define the x and y cordinates of where the newly created “emptyMC” will be placed.

I hope that works for you, good luck. =)

actually, this is pretty easy to resolve. Flash orients any movie
loaded into another top and left by default.

All you have to do is make the 2nd movie’s stage the same size
as the original. Just have the animation or whatever it is you are
putting into it, in the area you want it to appear in the first movie.

make sense?

Basically -
Make the movie you want loaded, the same size stage as the one
it’s getting loaded into. For example, if your original movie is
500x300, then make the one that loads into it the same size.
Just make sure the movies have the same color bg.

Now, position the part of the animation in the appropriate
area of the stage. If you want it to appear on the right side, then
position it on the right. When you loadMovie, it will only show the
part of the movie on the right, ignoring the “empty space” and bg
on the left. This will appear on top of, or “into” the original.

Hope this helps. :slight_smile:

/unflux
:goatee:

thanks everyone it is working now.

as you can see, there’s always more than one way to do the
same thing iin flash. Makes it all the better.

Glad to see you got it working. :slight_smile:

/unflux
:goatee: