Eval For ActionScript 3 – Svetka
By admin | March 22, 2010
As you know, ActionScript 3 doesn’t have eval function. How to solve this problem? The solution is to create objects on-the-fly on the JS-side with stub methods calling corresponding methods on the AS-side. It is what the Svetka done. It uses browser’s Javascript. It is an open source project then you can watch the tutorial video and get more details in following URL:
http://www.assembla.com/wiki/show/svetka/
Topics:
Adobe-Flash |
1 Comment »
|
Tags: ActionScript 3, Eval, Svetka
instead of eval u can use
this["variable "+i]
it is easy and also it works