By default, the zoom feature of Flash Player is disabled for Flex applications. You can enable zooming for individual applications using a function like the one in the following example. Write the function in an <mx:Script> tag, and specify it as the event handler for the initialize event of the <mx:Application> tag.
<mx:Application width="600" height="400"
xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initMyApp();">
<mx:Script>
<![CDATA[
function initMyApp(){
var myMenu=new ContextMenu();
myMenu.builtInItems.zoom = true;
document.menu=myMenu;
}
]]>
</mx:Script>
...
</mx:Application>
Version 1.5
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000068.htm