user3443444
user3443444

Reputation: 13

Animate Adobe AIR window height with jQuery

Is it possible to animate nativeWindow.stage.stageHeight and nativeWindow.stage.stageWidth wit jQuery's animate() function in Adobe AIR?

Thanks

Upvotes: 0

Views: 47

Answers (1)

Paul Facklam
Paul Facklam

Reputation: 1643

Yes you can. Jquery's animate function provides an option called progress (http://api.jquery.com/animate/):

A function to be called after each step of the animation

Inside this function you can set the nativeWindow.stage.stageHeight and nativeWindow.stage.stageWidth of your app.

Upvotes: 1

Related Questions