8586 posts Community Moderator
  • United Kingdom
  • 8 Years of Membership
  • Moderator
  • Winner
+10 more
MSFX
Moderator
says

yeah I would of done what fifty said

ease = String(xmlData.easingTransition.text());

Whats all this eval(..) stuff…?

1955 posts
  • 8 Years of Membership
  • Affiliate Level 2
  • Author Level 4
  • Collector Level 2
+3 more
Emroni
says

Indeed, why the eval()? I was going to suggest the same as fifty if he hadnt

279 posts
  • 8 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 1
+5 more
FonZ
says

eval is an ancient technique embedded in flash to ‘evaluate’ a certain property. Let’s say you have the name of a movieClip in a string and you have problems passing it, you could try eval(string) and hope it evaluates the string as a movieClip.

Best practise is NOT to use it, people say..

Regards, FonZ

563 posts
  • 8 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Brazil
+2 more
LuizZak
says

I was using eval() method to write a flash debugger, it wasn’t working, so I figured out some way to make it work. It worked, I deleted the .fla and now I can’t remember how I managed to do that.

by
by
by
by
by
by