LoadMovie() How does one possition clip


#1

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.


#2

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.


#3

Thanks,

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


#4

It’s just in the properties inspector. Just type it in.


#5

Couldn’t you just do it with something like this:


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


#6

That’s probably better than my way. :slight_smile:


#7

seems to work ok, gives a little more control :slight_smile: cool
thanks :buttrock:


#8

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.