Hector,

> I'm new in Director MX & I'm working in a CD-Hypermedia 
> proyect. So I need to know how I can detect what kind of
> resolution the client have in his PC for seeting my movies
> to 800x600 centered or if the client have a higher
> resolution I want my interfaces centered in his screen.

In addition to Kerry's suggestions you might also consider checking the 
desktopRectList, it's a linear list that provides the display rect of each installed 
monitor:

put the desktopRectList
-- [rect(0, 0, 1280, 1024), rect(1280, 0, 2560, 1024)]

In my example above I have a dual-monitor system with each monitor displaying at 
1280x1024. The primary monitor will be the first one in the list. If you get that rect 
you can then set your window's rect to be centered by calculating the height and width 
differences. Sorry, but I don't have an example handler ready to do that calculation 
but someone here might and hopefully they can post it if necessary.

> pd. Excuse my english, my mother tongue is spanish.

Tu Ingles es tan bueno para entender. Hablo un poquito de Espanol si necesitas un poco 
mas ayuda con este problema, escribeme directamente si quieres.

Cheers,
Tomas Higgins
Especialista del Producto - Equipo de Director
Macromedia

...
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to