all groups > flash actionscript > april 2006 >
You're in the

flash actionscript

group:

Changing text of an instance


Changing text of an instance mac monkey
4/16/2006 7:41:43 PM
flash actionscript: Hi,
I have an instance represented by a variable (stationinstance) and i want to
change the text of this instance but can't quite think of how to put the
variable in the path...

It won't work with
stationinstance.text="whatever"

I guess it's taking the variable literally and not placing its value into the
path. Pleas help
Re: Changing text of an instance mac monkey
4/16/2006 8:39:25 PM
I have this at the moment

var path:String="someinstancename";
path.text="Hello World";

AddThis Social Bookmark Button