![]() |
![]() |
|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Spud |
If any of you guys on the forum know somthing about action script, I coudld use some help.
I am tryin to use a variable to show the players score when he clicks on a target. I can get the score to move up in points and all, but I cant make it so when it reaches a certain number to make it do somthing. What I did : The button named "target" has the script: on (release) { _root.myScore += 1; } Now i have a dynamic text field with the var. name myScore everything from here works fine the targets clicked add 1 point to the score. Here is my problem though...I added this script to frame 1 on the main timeline: if (myScore >= 10) { gotoAndStop(2); } I thought that would work, but I am new to action script so if any of you guys know how to make this work, please reply. |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

