<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> Button { mouseDownEffect: mZoom; } </mx:Style> <mx:Zoom id="mZoom" zoomHeightTo="2" zoomWidthTo="2"/> <mx:Button id="button1" label="按钮A" fontSize="12"/> <mx:Button id="button2" label="按钮B" fontSize="12"/> </mx:Application>