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!

loadMovie?

Status
Not open for further replies.

ninhovid

Technical User
Jul 1, 2003
29
0
0
MX
Hi..

i'm designing my web site.. and i'm doing it with Flash MX...

i created a swf (160x45 pixels) named BUTTONS and i want to play it in the main swf named MAIN (750x450 pixels)..

i'm starting.. i have 1 layer.. i've already created a background... i want the small movie (BUTTONS) to be at the bottom of MAIN, but if i import it it doesn´t work correctly (i can place it wherever i want but some buttons don't work)....

i've done this at frame 1:
loadMovieNum("buttons.swf",1);
and it works, all of the buttons work!!! but it places buttons.swf over my background... i want to place it at the bottom but i don't know how

could you help me please??
thanks!!!!
 
In the buttons.fla, put the following on the first frame...

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

Adjust the offset as needed.
 
thanks!!!
it worked perfectly!!!

take care
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top