PDA

View Full Version : LoadMovie() How does one possition clip


Rexis
03-17-2003, 09:34 AM
I've got the .swf loading into the target clip,

loadMoive("some.swf", _root.someclip);

but how do I position it, the current outcome the .swf
loads fine, but is way off desired position ???

If any one could shed some light it would muchly app.

slayerment
03-17-2003, 03:37 PM
The way I usually do it is like so:
I first find out the dimensions of my movie I'm loading into, say 500 X 500. I then create whatever is going to be loaded into my original file. I then copy and paste in place (ctr + shift + v) it into a new document of the same dimensions, 500 X 500. Once I have this finished up I go back to my main movie and create a blank movie clip and assign it in the upper left corner, 0,0. This way it should always turn out as desired. Hope that helps.

Rexis
03-17-2003, 08:18 PM
Thanks,

Is the 0,0 postioninging the clip with actionscript or just the old fason align pannel?

slayerment
03-17-2003, 10:01 PM
It's just in the properties inspector. Just type it in.

mohh
03-20-2003, 03:35 AM
Couldn't you just do it with something like this:


// set position
_root.someClip._x = 100;
_root.someClip._y = 150;

slayerment
03-20-2003, 04:56 AM
That's probably better than my way. :)

Rexis
03-20-2003, 07:41 AM
seems to work ok, gives a little more control :) cool
thanks :buttrock:

CGTalk Moderation
01-14-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.