View Full Version : Loading movie clips(position)

04-30-2001, 08:44 AM
I hope u can help me, Im trying 2 load a movie clip into another movie, but I cant set the x,y values! Ive tried usin the expression editor for the target but keep on gettin syntax error! please help me!

04-30-2001, 11:03 AM
The smoothest way would be to position the target movie clip precisely, this normally involves trial and error until your happy.
Or you could do it all at once:

on (release) {
loadMovie ("myMovie.swf", "_root.targetMc");

The above script first loads the movie 'myMovie' into the MC 'targetMc', then it positions the targetMc where we want it on our stage.
Copy & paste the above script directly into your actions panel so you can see how it works.

Hope this helps.

04-30-2001, 12:03 PM
Thanks, is there ne chance of a flash 4 version of this script?

04-30-2001, 12:10 PM
Flash 4 version:

On (Release)
Load Movie ("myMovie.swf", "targetMc")
Set Property ("/targetMc", X Position) = "300"
Set Property ("/targetMc", Y Position) = "100"
End On

Experiment with positioning the targetMc as well.

Good luck.

04-30-2001, 12:29 PM
cheers mate! i really would of bin stuk wivout ur help