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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadMovie quick, easy question!!

Status
Not open for further replies.

aaronzimmer

Programmer
Aug 19, 2003
24
US
Real easy...I'm sure.

I'm loading a swf ontop of a different swf. When I do this, it automatically puts the new swf at the X:0, Y:0 location. Is there a way that I can specify where it loads the new movie?

Thanks for the help!

 
Guess you're loading on another level with loadMovieNum... Well it can't be positioned until it's fully loaded and certainely not on the same frame's or button's actionscript as the loadMovie action itself.

The only way to preset it's position is to do it in the "to be loaded" movie itself (in it's .fla) by adding the following on it's first frame...

this._x = 150; // offset from top-left corner (0,0)
this._y = 220; // offset from top-left corner (0,0)

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top