header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Kiran Kumar
Points:0
Posts:0

4/6/2011 8:27:29 AM

Title: Flex zoom in and zoom out


Dear All , Is there any way for flex applications to respond for browser zoom in and zoom out ( control ++, control --)?

I have the simple flex application below with one text field .



<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Label text="Please expand "  fontSize="36" color="#F50437"/>
</mx:Application>

If I click on browser control ++ for zoom in , is there any way the text will grow bigger just like normal websites .

Thanks for your help
Regards
Kiran




1
Andrid
Points: 720
Posts:0
4/6/2011 9:54:22 AM



you can create a keypress listener and on Ctrl+ you can increase the size of text and on Ctril- decrease the font size

2
Kiran
Points: 0
Posts:0
4/7/2011 2:25:28 AM



Thanks Andrid for your response . Could you please let me know how to get the browser zoom level to zoom the size ?

Regards
Kiran

3
Friend
Points: 710
Posts:0
4/10/2011 5:57:44 AM



when we click on browser the keys control is with browser and flash does not listen to the keys . So you cannot get event when zoom keys are pressed. Note that this behavior is different with different browsers. As far as remember firefox allows flash player to listen key press events but IE does not.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 5+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions