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.
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,