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

How do I load a button position from an external file?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Dear friends,

I'd like to be able to load the initial position of a few buttons in a scene from an external file. With movieclips I use onClipEvent(load){...}, but how to control the initial position of the buttons?
Thanks a lot in advance

Emil

 
You could probably store the xpos & ypos of "button movie clips" in variables in a text file (&xpos1=100&ypos1=150&xpos2=250&etc...etc...), then after making your "button movie clips" invisible to start with, read those variables, position the clips, and when that's done, make them visible again. Regards,

new.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top