On button press, increase number by 1
hello everyone..i hope can me out thing again
so im working on as2 , have following things :
a dynamic text field instance name "pressure" number 50
a button instance name "but_up" on press has increase number 50 one.
and button instance name "but_down" have decrease number 50 one.
so far have code, isnt working... :
var count:number = 50;
but_augsu.onrelease = function()
{
count++;
trace(count);
pressure.text = count;
}
could me problem? ideas wrong?
do see trace output?
if not, but_augsu incorrect reference. if yes, pressure incorrect reference.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment