0 Replies Latest reply on Sep 7, 2009 3:37 PM by chandly9

    Recover text to a TextArea

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white" 
      width="854" height="594" alpha="0.84">
              public var text:String;
              private function alimTexte():void{
                   var i:int;
                   for (i=1;i<=10000;i++){
                        if ((i==1) || (i<=5000))
                        text="Hello you";
                        if ((i=5001) || (i<=10000))
                        text="Bonjour toi";
                <mx:TextArea text="{text}" x="347" y="165"/>



      I would to recover a text from as3 and put it in a  textarea with a timer. The timer will be implemented later but for nom, I put another very bas solution so just have a look on the reception in the textarea which, actually, doesn't print :/ so i don't recover it and i don't know why ... Can you help me please ? Thx




      Can you rectify it and show me the right code because i spend a lot of hours on this problem and it makes me crazy :s ...


      Thank you very much