PDA

View Full Version : setting a varriable add



jazzman121
June 2nd, 2003, 04:34 PM
how can i set a variable named

add

in flash?? is it possible?? thanks....

pom
June 2nd, 2003, 05:04 PM
Even if is was possible, it's always a bad idea to name variables after reserved words.

senocular
June 2nd, 2003, 06:54 PM
this["add"] = 10;
trace(this["add"]); // 10


but listen to ilyaslamasse ;)

jazzman121
June 3rd, 2003, 10:30 AM
Dude thanks a ton... that solved a wholeeeee chunck of problems for me...you rock http://www.cgtalk.com/images/smilies/buttrock.gif. HOW THE HECK DO U KNOW THIS STUFFF....... anyways thanks again http://www.cgtalk.com/images/smilies/bouncy.gif

senocular
June 3rd, 2003, 11:18 AM
Originally posted by jazzman121
Dude thanks a ton... that solved a wholeeeee chunck of problems for me...you rock http://www.cgtalk.com/images/smilies/buttrock.gif. HOW THE HECK DO U KNOW THIS STUFFF....... anyways thanks again http://www.cgtalk.com/images/smilies/bouncy.gif

posts like this (http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12082) on Kirupa :P
:beam:

pom
June 3rd, 2003, 11:20 AM
Originally posted by senocular
but listen to ilyaslamasse ;) That's a good advice, provided I'm 100% sober :P

senocular
June 3rd, 2003, 11:21 AM
Originally posted by ilyaslamasse
That's a good advice, provided I'm 100% sober :P

Im going to assume thats most of the time :)
(let me live in my dillusions!)


http://userpages.umbc.edu/~tmccau1/images/smilies/lookdown.gif

pom
June 3rd, 2003, 11:24 AM
Don't be so sure... :bad: