PDA

Click to See Complete Forum and Search --> : _level position...



therhomworkshop
08-22-2002, 04:07 PM
hi,

have read the faq on this but cant quite seem to get my head round it..

all i would like to happen is that when i click a button a swf with a movie in it loads into my current movie and is positioned where i want it on the stage..

i have tried to just use _level1._x = 200; but this isnt working..

any help would be great...

also ive put my video preloader in the MC that im loading in... is this good practice or does it need to be in the main movie that im loading from?

thanks

enpstudios
08-22-2002, 04:10 PM
Load it into empty movieclip container.

therhomworkshop
08-22-2002, 04:15 PM
wicked... so something along the lines of...

loadMovie("video01.swf", "targetclip");

will give it a go...

enpstudios
08-22-2002, 04:21 PM
That's it !!

therhomworkshop
08-22-2002, 04:23 PM
nice one!

got it to work..!

Wheels
08-22-2002, 10:52 PM
I've had good luck getting this to work on the _level as well, but you need to make sure the movie is there first.

Use an OnEnterFrame (dynamically) or an onClipEvent(enterFrame) to check for something like:


If (_level20._alpha==100) {
_level20._x=200;
_level20._y=150;
this.onEnterFrame =null; (to end the loop onEnterFrame)
}


This way you can still stream.

5G