And I stand corrected, you cannot use eval to evaluate an expression, or use it on the left side of an equation as of Flash 5: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16187&sliceId=2 http://www.senocular.com/flash/tutorials/faq/#varreference
BUT... looking through my bookmark archives, there is the D.eval class in AS3, which does allow you to use full evel functionality in AS3: http://www.riaone.com/products/deval/docs/user-guide/ug.html ...Which Andrew Trice used to good effect in his "Drawing API Explorer": http://www.insideria.com/2008/03/try-out-the-drawing-api-withou.html :) _______________________________________________________________ Joseph Balderson, Developer | http://joeflash.ca | 705-466-6345 Josh McDonald wrote: > You could evaluate any single expression though, right? Like eval("4 / > 2") == 2. That worked? Maybe it's been longer than I thought :) > > -Josh > > On Fri, Jun 20, 2008 at 10:26 AM, Tracy Spratt <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > You could not run code with eval(), for sure in AS2. I can't say > for sure in AS1, as I never used that. > > Tracy > > > > > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>