120 Forum Posts by "TheUltimateMe"
Nope, that ain't it either.
It reaches zero, and nothing. =(
Anyone else got a guess?
The function is running, and intialising, because I have a dynamic text box displaying the value of displayTime, and it counts down to 0 from ten. At 0, it stops. This means, it is running. I am having a problem getting it to move the movie to Scene 2 after displayTime reaches 0.
Na na, I know what you mean, due to NG BBS' lack of an edit button, I tried to double post, telling people I forgot to add the interval command after the function:
timer = setInterval(countDown, 1000);
It wouldn't let me. Maybe they should work on that.
Okay, I've got a function that removes 1 from the variable displayTime (set at 10), and then its run on an interval every 800 miliseconds.
In this function, I also have an "if" statement right below, and it checks to see if displayTime has reached zero. If it has, it stops the interval.
Since it was a premade script I used, I added a gotoandStop after the clearInterval. Its in the same "if" statement, but for some reason, it doesn't function. Or at least, doesn't move the entire movie...
If that's too confusing, here's my script:
displayTime = 10;
countDown = function () {
displayTime--;
if (displayTime == 0) {
clearInterval(timer);
_root.gotoandStop ("Scene 2", 2);
}
};
This is all placed inside a movieclip on the main stage. I haven't relabeled my scenes, so its going to scene two if you hadn't noticed. When displayTime reaches zero, it stops removing 1 from it, but it doesn't move the movie to scene 2. Any reason?
Thanks for all your help in advance. If you need clarification, reply.
timer = setInterval(countDown, 1000);
It does. I just re-downloaded it 3 times. Maybe its something to do with Windows?
Hey, if anyone here uses fruity loops, and knows what this is, please lend a hand.
I downloaded the FL Studio trial, and whenever I click to install it, it sits for a few seconds and gives me this:
"NSIS Error
Error writing temporary file: Make sure your temp file is valid."
Any help is appreciated.
Thanks, I'll try that!!!
Okay, I want to make it so, that when variable "locked" is at value 1, all the choices become a avaliable. So, I wanted an "if" statement where if the variable "locked" is at value 1, it goes to and plays a frame. I can't work it out by myself, please help!
I've got a problem. I've got most of the BASIC AS for a shooter, but I need to know how I would make it so that the "enemies" I have, appear randomly, but they play out their entire movieclip frames.
Okay, how would I put an actionscript link that sends you straight to my e-mail?
My e-mail is riddlequizzle@hotmail.com.
Okay, I have everything set correctly. I have declared my variable (scorenum) in the main timeline, put this AS to relate to my dynamic text box score,
_root.score.text =scorenum.
And, I have when the correct answer is input, the code adds (++scorenum) one to the variable value.
AFTER ALL THIS PERFECTNESS, WHEN I PUT IN THE RIGHT ANSWER, THE TEXT BOX STILL SAYS "0"!!! WHY???
*HUGGLES* YOU RULE!!!
Okay, I have a game where it asks you a question, and you answer by putting your answer in text box. Now, I have it rigged so, if the answer is correct, it goes to the right screen, and it is SUPPOSED to add 1 to the variable scorenum. But, I put scorenum = scorenum + 1.
Apparently, this isn't correct, so I need someone to help me!!! This info is in a button's AS panel.
Would the scorenum ++work in an "if" statement? (Such as,
if (ans1 eq "1831") {
???
Wrong forum buddy.
Okay, this is probably really easy for you guys. I want to have a score, and if you get the answer right, one point goes on to that score. But, there are questions and you can choose any of them at any time. So, what I want, is, to have a text box that keeps track of your score, and represents the variable score. For example, if the variable's value was 7, the dynamic text box would read 7. Get it? Please, please, PLEASE help! I have researched variables and I STILL don't get it. Lend me a hand will you?
Um... Yeah, I knew that... (is confuzzled to the max)
Thanks both of you. Also, I don't want to hold YOUR hand. It's all goopy. I can't help it if I'm not a good searcher.
You, are a dumbass.
What in blamnation is this shit?
Okay, I need a piece of AS, that, say you press the button "YES", you would add on 5, but if you pressed no, you would just continue. At the end, the game tallies the score up. How would you do that?
You guys are really all I have, and I really need your help...
Jesus, what a nooblet.
It takes as long as it takes. (or until your brains melt)
Ah, be quiet.
Okay, this is my second tutorial which is now at 3.07, and I know this is a help board, so I'm posting my tutorial up, for anyone who needs it! It has great help, so please check it out!
Just any old tips! Like, you got any shading tips? I need some big help here...
Hi, I need to draw some backgrounds, and mine suck. Is anyone a good artist out there who can give me some tips? I really need them! Thanks!

