Modulus in Flash ActionScript 2...

The Modulus is the remainder of division between two integers. I was looking for this operator in Flash a little earlier. Flash CS3's help files are fairly difficult to wade through at the best of times and simply typing 'Modulus' into the search box didn't bring up any search results in Flash's help files.

I hit Google and discovered that the operator required is the % symbol:

X % Y = the remainder of X / Y

For example: 

10 % 3 = 1
10/3 = (3*3) + 1(remainder)

Comments

Adrian Laundry

HI, here is my profile page.

Posted on May 25, 2010 02:22 by Adrian Laundry

Anamaria Dinsmoor

Aw, this was a top quality post. In theory I'd like to write like that too - taking time and true energy to make a high quality posting... however what could I say... I put things off a lot and not seem to get things carried out...

Posted on May 31, 2010 02:51 by Anamaria Dinsmoor

Leland Searson

Very interesting page.  Your own web pages is swiftly turning out to be one of my top features.

Posted on June 16, 2010 06:06 by Leland Searson

Stefanie Mojzisik

Awesome blog post, a bunch of helpful details.

Posted on June 20, 2010 06:26 by Stefanie Mojzisik

harde films

Wow, keep it up. You got real talent and one day you're going to be famous.

Posted on June 22, 2010 13:18 by harde films

Natural Cures for BV

Here is the second occasion I've run into your blog in the last couple weeks.  Looks like I ought to bookmark it.

Posted on June 23, 2010 08:37 by Natural Cures for BV

laptops under 500 dollars

Hello webmaster can I use some of the information from this post if I provide a link back to your site?

Posted on July 12, 2010 12:59 by laptops under 500 dollars

ATM

Cool piece of writing, thanks. Could you clarify the third point in additional detail please?

Posted on July 12, 2010 20:28 by ATM

digital drum set

Thank you for the interesting read. The web is so cluttered with junk it's becoming difficult to find exactly what you're looking for these days. Have you got RSS on this site?

Posted on July 13, 2010 11:02 by digital drum set

Wallace Sipp

I had a website like this once, but it got spammed so bad I had to close it. You seem to have a better spam filter! Congratulations!

Posted on July 14, 2010 03:52 by Wallace Sipp

platinum diamond rings

Just a heads up... your web site looks really strange in Firefox on a Mac

Posted on July 15, 2010 19:51 by platinum diamond rings

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading