I want to create an if function that queries whether an object’s (in this case a movieclip with its own class) variable is > a certain amount, for example in plain english “If the fighter’s speed is >10 then trace yay” but I don’t know how to ask about a variable in a specific class i.e. don’t know how to say “fighter’s”. Could someone post me an example of what that would look like?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
For..in with variables
|
0 | 43 | December 17, 2005 | |
| Get variables declared in class | 0 | 113 | January 9, 2011 | |
|
Referring to different MC's with variables
|
0 | 109 | May 20, 2005 | |
| Referring to different MC's with variables | 0 | 86 | May 20, 2005 | |
|
Cannot access Variables inside movieclip classes
|
0 | 115 | January 29, 2011 |