Thanks Sankar, I wrote the following and It is working fine , but not
smooth :) I heard and read somewhere there is a inbuilt property for this .
Some thing like display from left or ....
[Bindable]
private var tempMyText:String='';
public var myText:String = "This is my first text effects program";
private var posMyText:int;
private var writerTimer:Timer;
private function initApp():void{
writerTimer = new Timer(50);
writerTimer.start();
writerTimer.addEventListener(TimerEvent.TIMER, timerHandler);
posMyText = 0;
}
private function timerHandler(event:TimerEvent):void{
if(myText.length > posMyText){
tempMyText += myText.charAt(posMyText);
posMyText++;
}else{
writerTimer.stop();
}
}
]]>
</mx:Script>
<mx:Label text="{tempMyText}" fontSize="50" color="#ff0000" />
On Fri, Feb 12, 2010 at 1:14 AM, sankar swaroop <[email protected]>wrote:
> Hi,
> You can split the string into individual letters
> like str.split("");
> and go throuth this link
>
> http://ntt.cc/2008/04/14/simple-tips-to-realize-the-marquee-effect-in-flex-with-source-code.html
>
> study both and use your logic to get the final desired result
>
> Thanks
>
> On Fri, Feb 12, 2010 at 2:16 AM, Kiran Kumar Vasireddy <
> [email protected]> wrote:
>
>> Dear All,
>>
>> I am looking for an example or a solution .Could some body please help me
>> out?
>>
>> 1) I have a text "Flex is amazing " . This should be displayed in way that
>> First the letter "F" should be displayed and then 'l' and then 'e' so on in
>> a sequential manner ( Letter by letter)
>>
>> 2) I have 10 messages and want them to be displayed in slide show fashion
>> ( Like automatic photo slide show) with the above effect.
>>
>>
>> Thanks for your help
>> Regards
>> Kiran
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.