Search:
Type: Posts; User: puke
Search:
Search took 0.06 seconds.
-
Just learning for a new job. I see they use the drag and drop a lot. And I see Flash CS5.5 has snippets for this but not the Target part. I have 3 questions and 3 possible answers to choose, How do...
-
I'm using this randome number generator.
//randomNumberGenerator
// function to randomize an array
function shuffle(){
return Math.floor(Math.random() * 2);
}
// create a master array
var...
-
Is there a way to prevent this. It would mean my number 13 car would win the race every time?
-
I appreciate it. Hey, when you run this, do you get the number 13 as the first number in the array every time?
-
I changed the declarations like you indicated and I get this; something in another language :)
ArgumentError: Error #1063: Argument count mismatch on Untitled_fla::MainTimeline/shuffle()....
-
I have this rng that I got from FK awhile ago. It works great in actionscript 2 but not in 3 so I need help making this work in 3. It gives me a set of numbers without repeating a number, which is...
-
Thanks for taking the time to explain, it's tough for guys like me who concentrate primarily on design. I'm creating a race game using 3d animation as the background. Even though the cars are...
-
Oh, I think I got it.
I placed the code on each car
onClipEvent (load) {
_x=Math.floor(Math.random()*300+150);
_y=Math.floor(Math.random()*100+250);
setProperty (rabbit2, _x, random);
-
I'm sorry, I'm kinda slow as far as actionscripting.
I have 5 cars, cars1mc, cars2mc etc.
The way I'm doing it doesn't seem to be the correct way to make each car locate to at random coordinates....
-
I'm trying to place my mc's at a different position each time the game starts but within a certain area. I've used random before...
random(300);
...but I want it to be randomly between the coords...
-
Hello,
Thanks for all your help so far.
I have one more question and I'll be done with my project.
I have a variable var list:String = "8,9,3";
These are my winning numbers.
At the end...
-
I have 15 movie clips that play one at a time. When the first one calls the second movie clip there is a short space (black screen) between the two which I have to eliminate. I tried loading the...
-
Can I display these numbers of the array vertically and without the commas?
1
3
5
6
etc.
The only way I can right now is 1,3,5,6 etc.
-
This is exactly what I needed. Dang, you guys are good!
-
Can I make a set of random numbers in a string 1-15 that don't repeat the numbers?
var ball_number:String = "8,2,7,12,15,1,3,6,14,11,5,4,9,10,13";
Thanks,
Puke
-
Doh, I just thought about this...can I have the series of random numbers only chosen once each, I can't have the same number twice in the string???
-
I'm using this code to create a random number;
minNum = 0;
maxNum = 15;
rndNum = Math.ceil(Math.random() * (maxNum - minNum + 1)) + (minNum - 1);
but can I create a string of 15 random...
-
I have a monster_mc that shoots a bullet_mc at a target_mc.
When I click the Keyboard.RIGHT the bullet jumps once then hesitates or pauses then continues -=25 pixels, instead of shooting smoothly.
...
-
-
Hello,
At work I created a project using AS3. It's loading my mc onto the page from the library and fading in.
Works great at work and the other machines its been played on. I took it home and...
-
Every game I work on gets a little more complicated (relative term) and it has to communicate with a shell program written in C#. I'm studying AS3 tuts on Lynda and it seems to me that 3 is the way...
-
I figured it out!
Let me ask you a question about AS3. I'm watching some video now on Lynda to learn it and actionscripting in general. Do you suggest using AS3 even though I've been creating...
-
Sorry, clicked the wrong category!
-
I had to strip out all the images and there are actually fifteen donkeys. But this should be enough to help. The file was huge.
The system this runs through sends a series of pre-determined...
-
Am I able to send you the .Fla. I can't figure it out and I'm over my head right now. Just thought Id'e ask?
Puke
|
Click Here to Expand Forum to Full Width
|