Using variables as variable names


hello (me again)

i know can use this[variable] evaluate variable name can used such things referring movie clip

e.g

this[variable]._x=100;

however... i'm trying create movieclips with:

var movieclipname:movieclip = new movieclip()

which doesn't work if use this[variable] instead of movieclipname.

use createemptymovieclip() method create movieclip using actionscript.


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial