[Xerte] RE: Current StageSize

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Nov 10 09:28:55 GMT 2009


It's engine.stageWidth and engine.stageHeight to get it.

It gets set on the learning object icon.

-----Original Message-----
From: donald.mackay at beagle.com.au [mailto:donald.mackay at beagle.com.au] 
Sent: Tuesday, November 10, 2009 3:04 AM
To: xerte at lists.nottingham.ac.uk
Subject: Current StageSize


Hi everyone

I am creating some templates that I would like to adjust based on the
current
work area.

Can I get the current stage size?

Can I get the get the stage size at creation?

I have tried at default no stage size selected and at a set stage size.
width should be 600

stageSize._width = 1600
Stage.width = 1600
rootIcon._width = 1600


Ideas on getting the actual stage size? it appears there actually is a
dark grey
fill out to those dimensions.
So can I either get the actual dimension of the working area or change
the
properties(which ones) to reflect the correct dimensions.


Regards,
Donald



More information about the Xerte mailing list