I
I
intTosha2016-06-29 22:50:27
Programming
intTosha, 2016-06-29 22:50:27

AS 3.0 How to translate a string value into a code value?

Good day. I really want to know whether it is possible to convert a value of type String into a code value?
Let's say that the value of the variable Test:String = "var myArray:Array = new Array()" of type String, I want to turn it into code. As a result, I should have an array myArray.
I would be very grateful if someone could help me. I really want to know if there is such a way.
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2016-06-29
@GavriKos

https://www.kirupa.com/forum/showthread.php?325182... - it seems not

A
Andrey Burov, 2016-06-29
@BuriK666

stackoverflow.com/questions/16703758/actionscript-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question