Wells-it.com - Web Hosting

Flash Help- load movie

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 34 posts

Joined: Feb 2002

I'm trying to load a swf using

on (release) {
loadMovie ("backgroundone.swf", "bg");
}

How can I align the swf to the center of the bg box instead of the bottom right corner?

They have: 157 posts

Joined: Mar 2002

setProperty (_level1, _x, 100);
setProperty (_level1, _y, 100);

would go after the loadMovie(...);

This sets the loaded movie 100px down and 100px right of the top left of the main movie.

They have: 218 posts

Joined: Apr 2001

In this case, you are loading the swf into an empty container MC called 'BG' which resides on the stage, the top left corner of the loaded .swf is represented by the 'bg' MC object. Therefore, you need to reposition the 'bg' mc on the stage.

TonyMontana