Hiya, I've inherited a project with uncommented code. Great. Its from MX and Im from MX 2004. Super. After Ive loaded the proj into MX2004, i ctrl enter and i get the following error msg; Scene=Scene 1, layer=mc - controller, frame=1:Line 15: Left side of assignment operator must be variable or property. eval("w" + i) = 2000 * i - 25000; Im not an advanced actionscripter, Id say more of an early intermediate, so my guess is that this prehaps has to do with syntax differences between ActionScript and ActionScript 2.0? If anyone could offer wisdom on this Id appreciate it
Hi, The problem is eval("w" + i) = 2000 * i - 25000; Well eval returns a fully qualified reference to the object who's name is passed to it and that should be assigned to some variable but here you are trying to assign the value to a eval function itself that is not posible. Good Luck Hemendra Singh Shaktawat Mindfire Solutions
|