Understanding MCs/Textfield created by a variable
i hoping clarification on concept. i'm using variable create multiple textfields, varible contain object data of textfield created
theword = this.createtextfield("action_" +n, this.getnexthighestdepth(), 10, 10, 70, 30);
i have concatination each textfield name unique.
my confusion use of variable. in other languges variable can hold 1 value. in as2 appears (to me) can have multiple textfields on stage with/created using same variable name? go 1 step further confusion can tween multiple textfiled under sane tween name using textfield var name(var sometween = (theword..............), , delete them individually @ end of thier tween? agian if named same variable how dose know? or need use instance names created.
hopefully explanation of confusion isn't confusing ;}
you should show code stands example of having problem with. in general, right, variables cannot identify more 1 object. possible create object , store in such manner variable/name used create not used beyond creation... future reference object via other means of targeting object, such storing on array , using array target it.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment