-
Changing Var # on button click
I was wondering how do i change the Var # on button click like say
Var = 100 is the highest it can go then after the button press it goes down to like Var = 90
-
Just decrease the variable in the function that handles the event when a button is clicked.
What code to use depends on the ActionScript version you are using (AS1 / AS3) and the kind of button (a component or a button you have drawn yourself using the gui).
-
Problem is i am not sure how to do that i am still new to AS Scripting
-
What kind of button do you want to use ?
Tags for this Thread
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
|