Groups | Blog | Home
all groups > flash actionscript > october 2005 >

flash actionscript : Need Help Creating a loadmovie script


Motion Maker
10/9/2005 7:17:16 PM
on (release) {
createEmptyMovieClip("place_mc", 50);
place_mc._x = 0 // or whatever x
place_mc._y = 0 // or whatever y

place_mc.loadMovie("image01.jpg" );
}




--
Lon Hosford
www.lonhosford.com
May many happy bits flow your way!
[quoted text, click to view]
If you go to.

http://art-a-tac.com/index2.htm

then navigate to Marble and stone you are at the point I would like to
create
the load movie script.

Here is my problem.

The pieces of art on the page are the buttons that I want to call the
action.
The buttons are in a movie clip wihtin the scene "marble"

The movie clip that needs to be loaded is 800 x 450 the size of the current
movie. My problem happens when I use for instance:

on (release) {
this.createEmptyMovieClip("place_mc", 50);
loadMovie("kiss.swf", place_mc);
}

it will load the movie but it will be oriented I believe according to the
button which makes itt off center. I have tried unsuccessfully to create a
placeholder movie in the scene "marble" that is completely empty and load it
into that movie hoping it would be centered on the screen as it opens but
the
only output I have been able to create actually opened a new browser window
with the movie loaded in it which is not what I want at all.

Any help would be greatly appreciated, thanks in advance

Chris

Chris Goodiel
10/9/2005 8:18:24 PM
If you go to.

http://art-a-tac.com/index2.htm

then navigate to Marble and stone you are at the point I would like to create
the load movie script.

Here is my problem.

The pieces of art on the page are the buttons that I want to call the action.
The buttons are in a movie clip wihtin the scene "marble"

The movie clip that needs to be loaded is 800 x 450 the size of the current
movie. My problem happens when I use for instance:

on (release) {
this.createEmptyMovieClip("place_mc", 50);
loadMovie("kiss.swf", place_mc);
}

it will load the movie but it will be oriented I believe according to the
button which makes itt off center. I have tried unsuccessfully to create a
placeholder movie in the scene "marble" that is completely empty and load it
into that movie hoping it would be centered on the screen as it opens but the
only output I have been able to create actually opened a new browser window
with the movie loaded in it which is not what I want at all.

Any help would be greatly appreciated, thanks in advance

Chris
AddThis Social Bookmark Button