blah-de-blah
April 7th, 2003, 06:08 AM
hello,
well i'm trying to make a dynamic text box show the y value of an object, and the dynamic text box number changes as the object does...and i was thinking the trace function should do it, so heres my code, but it doesn't seem to work. i'm not sure why, any input would be good thx
blah1.onLoad = function() {
blah = setInterval(function () {
trace(_root.bong._y);
}, 100);
};
blah1 is the instance name of the dynamic box which i thougth you would need, and blah is the variable name of the dynamic text box, while bong is the instance name of the object thats moving. thx again
well i'm trying to make a dynamic text box show the y value of an object, and the dynamic text box number changes as the object does...and i was thinking the trace function should do it, so heres my code, but it doesn't seem to work. i'm not sure why, any input would be good thx
blah1.onLoad = function() {
blah = setInterval(function () {
trace(_root.bong._y);
}, 100);
};
blah1 is the instance name of the dynamic box which i thougth you would need, and blah is the variable name of the dynamic text box, while bong is the instance name of the object thats moving. thx again