actionscript 3 - AS3 I need to convert a string from input to an AS3 object -


how can this? here's have:

function send(input):void{    // input.text = "{key: 'value'}"    var x:* = stringtoobject(input.text)     // able    var y:* = x.key;     // y must equal 'value'    trace(y) // string } 

you'll need include json library able parse json strings objects.

reference as3corelib library more info.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -