✔ 最佳答案
Suppose you want to load the swf with a dimension of 300 px X 200 px
1. Draw a rectangle with 300 px X 200 px with any color you like
2. Convert it to movie clip, e.g. loader_mc
3. Change the on release handler code above to:
on (release) {
loadMovie("一二三.swf", loader_mc);
}
Remember to enter the name loader_mc in the movie Clip property panel
The code that you wrote can not control the scale and position because you loaded the swf into [this]. if the button is on the root, then [this] will refer to [_level0]. _level0 is the top level and so the swf will be loaded to the stage directly. If you set to load it to the movieClip, then you can control the size and scale.
Another supplmentary note is that if you load a picture (JPEG format) into the movie clip, you have to use a movie clip loader also to handle the position and size. It's sth out of your question, so I just mention it as a supplmentary note. You can refer to the Flash documentations for details.