Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadMovieNum coordinates??? 1

Status
Not open for further replies.

calmar

Technical User
Feb 15, 2001
32
0
0
US
Hi,

I'm using loadMovieNum to load external swf's
when the user clicks on a button; it works great except
they all load in the same spot, i.e. upper left.

How can I specify where I want them on the
stage?

I have MX2004, but want publish to Flash5 if possible.

Thanks!
calmar


 
You can't position a movie loaded on another level of a main movie, from that main movie, until you're sure the movie is fully loaded, and not on the same script as the loadMovieNum action itself.
You can, on the other hand, pre-position the "to be loaded" movies, by adding this on their own first frames...

this._x = 125; //offset from top-left corner...
this._y = 200; //offset from top-left corner...

Play with the numbers until you get them displayed exactly where you want them to. You can even use negative numbers.
 
Thanks, Old...I knew you'd have the answer =)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top