Lickle AS Syntax Q.
Lickle AS Syntax Q.
- Started
- Last post
- 5 Responses
- ToxicDesign
If I have a MC set on the Stage i.e. circle_01
And I have a variable "number" set to "01".
How can I target that MC with the Variable? i.e. circle_"number"._xscale=100;
Is using SetProperty the only way?
- tomkat0
_root["circle_" add var]._xscale = 100;
- ToxicDesign0
Sweet, thanks alot Tomkat.
...
- k0na_an0k0
did you just ask a lick ass syntax question?
you sick fuck!
- redFridge0
this.
never use _root
- monNom0
isn't 'add' phased out? supposed to use '+'. I recall hearing that AS 2.0 dislikes old code.
this["circle" + incremental]._x =