Point Seclusion
Friday March 29, 2024, 06:45:38 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Post, Review, and Recruit
 
   Home   Help Search Arcade Gallery Links Staff List Calendar Members Login Register  
Pages: 1 [2] 3 4 ... 10
 11 
 on: Friday September 10, 2010, 04:39:04 am 
Started by raider00321 - Last post by Turn-Coat
Thats why you always tell flash what kind of a variable it is when you instantiate it.

var kuf:Number=0;

var stats:Object={}

var array:Array=[]

and so on and so forth.

In classes instead of instantiating a bunch of variables, I just use one:

var stats:Object={}

then when I need to use a ton of variable in my functions I reference the stats Object and create a variable right then and there: stats.x=67; stats.y=5; and when you want a number to be a string you either put it in quotations, or use stats.x.tostring();

 12 
 on: Friday September 10, 2010, 04:28:33 am 
Started by raider00321 - Last post by Turn-Coat

Code:
onClipEvent(enterFrame)
{
       recurrances = random(10);
      while(recurrances <= 8)
       {
              iterations++;
       }

       trace("Number of iterations occured: "+iterations);
}

 13 
 on: Friday September 10, 2010, 04:24:11 am 
Started by raider00321 - Last post by Turn-Coat

1. Top Left Corner
2. _width and _height found in the MovieClip Class
3. Used in a Switch, which is a simplified multiple if...then statement. Switch(expression or variable){
case "number or letter": put code here;break;
}
4. a for loop can perform hundreds of iterations for a variable in just seconds. A while loop evaluates whether or not a condition is true.
5. hittest, but you can also check using x and y coordinates.

BONUS QUESTION
This one is crazy, but logical. == stands for "is equal" so if I said a=2+3 and b=5, I could say a=b. === stands for "grammar nazi", a does not equal b, because flash is too stupid to realize that 2+3 is 5. But if I said a=6 and b=6, it
would totally be down for that.

 14 
 on: Tuesday November 17, 2009, 09:43:50 pm 
Started by § Skylinegodzilla ♪ - Last post by Larry the Viking
Well, you still suck sheep dick.

 15 
 on: Saturday November 14, 2009, 10:06:56 pm 
Started by Valerygot - Last post by Valerygot
 Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

 16 
 on: Tuesday October 06, 2009, 05:06:04 am 
Started by § Skylinegodzilla ♪ - Last post by § Skylinegodzilla ♪
GODAMNITTTTT
i still have more posts then you XD

 17 
 on: Wednesday July 29, 2009, 12:12:38 am 
Started by Larry the Viking - Last post by Larry the Viking
You **** cheater.

 18 
 on: Friday July 24, 2009, 01:59:44 am 
Started by FullMetalChaz - Last post by Anonymous
sorry dude, we are currently located herez:
http://flasharmory.comli.com/forums/index.php
I wonder why people keep showing up here...

 19 
 on: Friday July 17, 2009, 05:04:58 pm 
Started by FullMetalChaz - Last post by FullMetalChaz
Sprite Animaters!

im starting a Shadow The hedgehog collab

it can be something about how emo he is or that he has the coolest shoes around! 

to send me the fla file use this site        http://sendspace.com/
when u get the page that has a button that opens the fla file,send me the link so i can get it,its easier than sending by Email.
PS ill submit the movie to newgrounds so i would like your account name so i can include u.

Info

550 width
400 height
FPS 24
program must be FLASH 8 or lower, no cs3 crap

When you're done, just upload it on Mediafire or Sendspace and PM me the link.

chaza1@btinternet.com

JUST SO U NO

i dont exspect anything pro-ish but i dont take scat.

 20 
 on: Wednesday July 15, 2009, 12:18:06 pm 
Started by § Skylinegodzilla ♪ - Last post by Larry the Viking
GODAMNITTTTT

Pages: 1 [2] 3 4 ... 10
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy