Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-30-2001, 08:44 AM   #1
Dannygs
Registered User
 
Join Date: Apr 2001
Posts: 4
Send a message via Yahoo to Dannygs
Talking

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!
Dannygs is offline   Reply With Quote
Old 04-30-2001, 11:03 AM   #2
Marx
New Member
 
Join Date: Feb 2001
Posts: 378
Default

Hi..
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");
_root.targetMc._x=400;
_root.targetMc._y=350;
}

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.
Marx is offline   Reply With Quote
Old 04-30-2001, 12:03 PM   #3
Dannygs
Registered User
 
Join Date: Apr 2001
Posts: 4
Send a message via Yahoo to Dannygs
Default

Thanks, is there ne chance of a flash 4 version of this script?
Dannygs is offline   Reply With Quote
Old 04-30-2001, 12:10 PM   #4
Marx
New Member
 
Join Date: Feb 2001
Posts: 378
Default

Hi..
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.
Marx is offline   Reply With Quote
Old 04-30-2001, 12:29 PM   #5
Dannygs
Registered User
 
Join Date: Apr 2001
Posts: 4
Send a message via Yahoo to Dannygs
Default

cheers mate! i really would of bin stuk wivout ur help
Dannygs is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading a movie - Positioning Woofys the Greek! Other Flash General Questions 6 11-25-2004 02:54 AM
animated fireworks: loading random movie clips amlan ActionScript 1.0 (and below) 1 11-21-2004 09:01 AM
movie instance loading the movie again hoomdoom ActionScript 2.0 1 10-09-2004 01:38 AM
Flash6 loadMovie wont stop loading ext movie Peter Tysoe Other Flash General Questions 1 01-22-2004 03:21 AM
How toplay current movie b4 loading next mknight9 ActionScript 1.0 (and below) 6 11-05-2003 07:02 PM


All times are GMT. The time now is 12:41 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.