Terrapins Sky
(Move to ...)
Home
Tutorials
Diary
Works
▼
Wednesday, November 24, 2010
[AS3] #1050 cannot assign a non-reference value
Actionscript 3.0 do not accept some type of the Variable.
if you use the illegal method to name the Variable,
it will appear the error.
wrong code:
"coin_atStage"+j.y -=10;
the code below is not good but the error disappear when i change it:
coin_atStage.y -=10;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment