When playing a flash movie in a browser, we can right-click on stage and zoom in.
can we also code these as functions in our actionscript-3 file? like automatically zooming onto the stage at a particular point? can we do it when some key is pressed?
When playing a flash movie in a browser, we can right-click on stage and zoom in.
can we also code these as functions in our actionscript-3 file? like automatically zooming onto the stage at a particular point? can we do it when some key is pressed?
if you decrease a display objects z property it will move closer to the 'camera' effectively zooming it. To zoom into a particular position you'll have to move its x and y properties as well. Other than the legacy supported 'zoom in' on the right click menu there's no auto zoom functionality in flash.