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

Reading xy coordinates from a text file in Flash

Status
Not open for further replies.

MungaBarry

Programmer
Apr 8, 2003
1
GB
I have a website with content that is constantly changing, I'm loading it dynamically from a text file. How do control the xy coordinates of a movie clip from that text file too?
 
load them as variables in the normal way

&xPos=50&
&yPos=50&


then assuming you are using loadvars as part of the onload function

myclip._x = mydata.xPos;
myclip._y = mydata.yPos;

// mydata the loadvars object
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top