Does anyone know how to display it in a textfield?

Hi, I have this code (from another thread), which was achieved through the support of colleagues geniuses on this forum (thanks guys), but they showed how to put this in a textfield, which is what I want to do, but they showed how to do before I did it show only the flow of news. Then when I tried to add what they taught me this code BAM FAIL! So im asking ONCE more / THE LAST for the support of the forum to help a noob out and help me to show this.

Thank you in advance, I Appreciate all the support forum (in particular, Kglad, kennethKawamoto2 and many) for once can you guys help a noob!

Code:

var loader2:URLLoader = new URLLoader (new URLRequest ("https://graph.facebook.com/XXX/feed?access_token=XXXXXXXXXXXXXXXXXXXXXXXXXACESSTOKENXXXXXX XXXXXXXXXXXXXXXXXXX"));

loader2.addEventListener (Event.COMPLETE, loadComplete2);

function loadComplete2(e:Event):void {}

processData2 (e.target.data);

}

function processData2(data:String):void {}

var facebookFeed:Array is JSON.decode (data) .data as table;.

for (var i: uint, feedCount:uint = facebookFeed.length; i < feedCount; i ++) {}

trace (facebookFeed [i] .message);

}

}

No idea of what your data flow looks like but try...

yourTextfield.text = "";

function processData2(data:String):void {}

var facebookFeed:Array is JSON.decode (data) .data as table;.

for (var i: uint, feedCount:uint = facebookFeed.length; i)< feedcount;="">

trace (facebookFeed [i] .message);

yourTextField.appendText (facebookFeed [i] .message);

}

}

where is yourTExtField what you name the instance of the textfield that you use.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • 7.2.0.103 comments

    The new version is irritating. The Ad box (which was earlier on) on the right keeps jumping in and out, causing irritation while chatting. It would be better above.

  • Need help with installing the drivers for Satellite

    Help, please! One day, I restarted my pc I would normally, and it came with a code error on something in the sense of "we need to reboot your pc" so after days that I did get it back and actually log on windows. Now when I go into Device Manager, the

  • Formatting a string within a Cluster

    Hey people, I have a strange problem. I want to display a string with formatted text in a particular way. I went through the link that talks about the formatting of a string (http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16). T

  • PIXMA MG5320 print white pages

    Hello! I have a 3 years, Canon Pixma MG5320, who has started printing blank pages in recent weeks. I don't think that it is no longer under warranty. I changed all four cartridges, did several cleanings and deep cleanings (using about 2/3 of the ink)

  • Printer driver conflict

    I have a HP Deskjet 3050 a J611 (I think J611g) printer.  I can't find the original installation disc so I downloaded the driver from the HP website.  After I installed the driver and use it wireless, it works fine.  However, when I turn on the compu