-
dynamic text decrease / increase?
Problem solved..
Tank You.
Last edited by seners; 01-18-2011 at 08:17 PM.
-
Problem solved.
Thank You..
-
It would be more help to the community to post the problem and its solution.
As it is, it would be frustrating for someone using the search engine and landing on this thread.
gparis
-
you're right, sorry.
solution of the problem;
myText.text = "5000";
kutuText.text = "0";
myText1 = myText.text;
kutuText1 = kutuText.text;
var num:Number=number(myText1);
var kutunum:Number=number(kutuText1);
Arttir.onRelease = function() {
function topla () {
num-=250;
myText.text = num;
kutunum+=250;
kutuText.text = kutunum;
}
setTimeout(topla,0);
};
Azalt.onRelease = function() {
function cikar () {
num+=250;
myText.text = num;
kutunum-=250;
kutuText.text = kutunum;
}
setTimeout(cikar,0);
};
file attached...
File (FLA)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|