[Laszlo-dev] Call to a possibly undefined method eval

P T Withington ptw at pobox.com
Tue Aug 25 19:36:42 PDT 2009


Eval is not available in all runtimes.  In this case you don't need  
eval.  Try:

   var itemclass = lz[parent.itemclass];

On 2009-08-25, at 22:14EDT, Rami Ojares / AMG Oy wrote:

> I was developing with swf8.
> Now that I checked the app with swf9 compiler I get the following  
> error for all eval function calls that is use
> "Call to a possibly undefined method eval"
> The eval calls worked fine with swf8 and are something like
> var itemclass = eval("lz." + parent.itemclass);
>
> Any ideas?
>
> - Rami Ojares
>



More information about the Laszlo-dev mailing list