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

MIAW location/coordinates...script error :(

Status
Not open for further replies.

paddy100

MIS
Aug 5, 2005
1
US


Hi, i am working on an 800x600 movie, i simply need to call up a MIAW to a specific location on the screen. I have no problem geting the window to work, but whne it opens, it appers in the top left hand corner of the screen. I tried using the following lingo:

window("Sample").rect = (0, 0, 200, 300)

I changed the 'sample' variable to the name of my movie and assingned the specific coordinates that would make the MIAW appear in the centre of the screen, however i keep getting the following error message:

Script error: Expected end of statement
window("Sample").rect = (0, ? 0, 200, 300)

I get the same message no matter what the coordinates, with the question mark appearing after the first input oordinate each time. I had no problem with doing this in Director 8.5, but i cant get it to work using Director MX 2004.

thanks,
paddy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top