How did they do this

in Swift 3d dev lab

how do you make the window resize on the fly?

I really have no idea how they did that. I think they might have used some Flash script that triggered a series of JavaScript in the HTML of the page to adjust the page width and height.