earph
October 20, 2002, 12:29am
1
[FMX]
I have tried everything to get my movie loaded in _level1 to be positioned correctly. The movie always jumps back to the top left corner.
Here’s my code:
stop();
unloadMovie(1);
loadMovieNum(“1dictate.swf”, 1);
_level1._x=random=(164.3);
_level1._y=random(111.4);
Everyone says the code is right, but it doesn’t work!!
Please help…
system
October 20, 2002, 7:15am
2
You’re accessing _level1 too soon. You have to wait for the clip to load before you access the _x and _y properties. Technically, at least one frame.
Cheers.
pom :asian:
system
October 20, 2002, 11:19pm
3
So, you’re saying to just put this:
_level1._x=164.3;
_level1._y=111.4;
in a frame right after my loadMovie? I did that and it’ not working for me. The movie still doesn’t position. WTF?
What am I doing wrong?
system
October 21, 2002, 8:56am
4
I’m not sure. Are you doing this online or locally? If it’s online, you’ll have to preload I guess, and if it’s local, then I’m totally wrong. :-\
system
October 21, 2002, 2:27pm
5
_level1._x = (number);
_level1._y = (number);
i would suggest the same thing.
system
October 21, 2002, 10:36pm
6
Thanks guys… I finally figured it out. I was putting my coordinates in the wrong frame. I was trying to do them on the button rather than the enterFrame on the loadMovie…
Thanks for all the help…
cheers