<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <s:Label x="37" y="50" text="Font Size Test" fontSize="{sizeSlider.value}"/> <s:HSlider id="sizeSlider" x="33" y="69" minimum="10" maximum="30" snapInterval="1"/> </s:Application>
On Wed, Oct 27, 2010 at 3:06 PM, Aditya vvsk <aditya.v...@gmail.com> wrote: > Thank You for u r response Rohit ji can u give an example if possible > > > On Wed, Oct 27, 2010 at 11:56 AM, Rohit Agarwal <roh2...@gmail.com> wrote: > >> You can bind the 'fontSize' property of the label to the value of the >> slider. Also, give the minimum, maximum of the slider accordingly. >> >> In AS, you could generate an update event when the slider is changed, in >> this change the size of the text by using the "setStyle" property. >> >> Hope this helps. >> >> On Wed, Oct 27, 2010 at 11:07 AM, Aditya vvsk <aditya.v...@gmail.com>wrote: >> >>> >>> hi Folks >>> >>> i am working on one freelance flex project in which i had one Query >>> >>> Query: when i move H or V slider thumbnail the binding text or label size >>> may vary (increase and decrease) .How can i do it, can plz give me some >>> solution for that >>> -- >>> With Regards, >>> Aditya V V S K >>> +91-9885858836 >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to flex_in...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> >> >> -- >> Rohit Agarwal >> Product Development >> Anaya >> >> +91 7709275640 >> >> http://anayalabs.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > > > -- > With Regards, > Aditya V V S K > +91-9885858836 > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Rohit Agarwal -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.