Sie sind nicht angemeldet.

1

Montag, 15. März 2010, 14:32

get player window size

Hi,

I'd like to get the width and height of the player window.
the purpose :
if the width is less than XXX i do a scale on image plugin
if the width is more than XXX i set the scale to 1.

any idea ?
thanks a lot

2

Montag, 15. März 2010, 14:59

Hi,

get the viewer window size/area via the "stagewidth" and "stageheight" variables,
and/or when using <area> via the "area.pixelwidth" and "area.pixelheight" variables,

best regards,
Klaus