Author |
Message |
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
That's the exact code I posted.
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Tue May 05, 2009 8:35 am |
|
|
Huntragon
Joined: Mon Aug 11, 2008 11:33 am Posts: 22
|
Its not the exact code.My code is to give a round number.Your code and x21 one its to give a number between 1 and 3,including decimals.My code will give 1,2 or 3.Yours and x21 would give 1,235432 or 2,2314141....
|
Wed May 06, 2009 12:22 am |
|
|
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
No, if you look closely, mine had Math.random(); too. Check the edited dates, I didn't change it just now.
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Wed May 06, 2009 6:28 am |
|
|
Mabelma95
Joined: Thu Mar 05, 2009 10:49 am Posts: 31
|
Thanks guys for all of your post and I have found one thing wrong with my actionscipt. It's that when I check for if something is happending I checked for a hall number not decimals and all of that. How can I check if the numbers is from say 1 to say 1.99 or the last number it can reach? I just whant to check if the random number is inside that "line" or sequence of numbers. Thanks for everything.
_________________Click the pod to go to my website.
|
Wed May 06, 2009 11:31 am |
|
|
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
trace(yourVariable);
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Wed May 06, 2009 12:19 pm |
|
|
Mabelma95
Joined: Thu Mar 05, 2009 10:49 am Posts: 31
|
I don't really get what you just said cause isn't trace for getting an output? If you didn't get what I said I meant that I wanted to check for a variable bewteen say a number to the number right next to it that includes decimals and all of that.
_________________Click the pod to go to my website.
|
Thu May 07, 2009 8:20 am |
|
|
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
if(myVar < 10 && myVar > 0){ //do stuff }
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Thu May 07, 2009 9:19 am |
|
|
Mabelma95
Joined: Thu Mar 05, 2009 10:49 am Posts: 31
|
Thanks I'll that let's see if it works. It didn't work but here's the zip file in case you guys need it.
_________________Click the pod to go to my website.
|
Thu May 07, 2009 10:22 am |
|
|
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
What zip file?
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Thu May 07, 2009 10:59 am |
|
|
Mabelma95
Joined: Thu Mar 05, 2009 10:49 am Posts: 31
|
I don't know every time I upload an attachment it doesn't work I'll give a link else where later.
_________________Click the pod to go to my website.
|
Thu May 07, 2009 3:17 pm |
|
|
Evilagram
Joined: Wed Apr 29, 2009 11:28 pm Posts: 323 Location: Nowhere, Antarctica
Gender: Anime Girl
Skype: Evilagram
|
Which is why I never trust forum upload scripts! Try Megaupload, SendSpace, or Mediafire (preferably the latter two).
_________________Style [Stayl] (n) - One's unique and personal method of defacing a perfectly good piece of paper. READ THIS: http://ipgd.freehostia.com/copypasta.html
|
Thu May 07, 2009 4:20 pm |
|
|