I learned today that stageWidth
and stageHeight
are not read-only on Flash Player.
Does anyone know why? Does setting this value ever do anything?
I learned today that stageWidth
and stageHeight
are not read-only on Flash Player.
Does anyone know why? Does setting this value ever do anything?
Alright, I am going to make the Flash externs read-only as well, for consistency. Ran into a project that set stageWidth
and stageHeight
, but its the first I had seen it.
Now it should be an error on all platforms. If anyone knows of a reason why this is not read-only, let me know and I’ll change the other platforms to work the same way.
Thanks for this link, it’s very helpful