User Name
|
mikeMarek |
Unique Hits
|
629 |
Real Name
|
Mike Marek |
Location
|
Canada Ontario |
Occupation
|
Student |
Gender
|
Male |
Age
|
16 Years Old |
WebSite
|
customhobo.com/ |
|
|
Reading And Programming In Binary
Other
|
Binary is the basis of all systems. The only language that computers know is binary, a two-base numerical system; consisting of only 1s and 0s. For example, here's the number 105 in binary:
Wait, what?
I'm sure you were thinking that, so let me explain.
A great way to interprete binary is using the "bowl" method. Say you have an infinite line of bowls. Starting with the first one on the left. The first bowl has a value of 1, and each bowl to the left has a value of double of the previous bowl. Next, you have some stones. You can only hold a single stone in each bowl. Your total value is added by the stones in the bowls. Here's an example:
[512] [256] [128] [64] [32] [16] [8] [4] [2] [1]
The bowls in BOLD contain stones.
You'll see that the first bowl that contains a stone is bowl "64". Your total number is 64. The next bowl to contain a stone is bowl "32". Your total is now 86. Next is bowl "8" (104), and finally bowl "1" (105).
Simple, right?
But what a... View In Full
 |
3 Comments |
7.00 out of 10 |
|
|
[PHP] Create A Unique Page Hits Counter
Programming
|
After coding through this for about 4 hours, I felt like I should share this
A hits counter is a counter that will display how many times your website (or a specified page) has been viewed. To start, open up a fresh text document and place the following code in:
Now save it as a .PHP. I called mine "page_hits.php", but you can call it whatever you want. Be sure to ed View In Full
 |
1 Comments |
6.00 out of 10 |
|
|
Actionscript Events
Programming
|
Events are the heart of Actionscript. Without them, you are pretty much completly rendered helpless when creating, pretty much anything, in Flash. Events are basically different actions that if performed, follow through with a block of code.
For example:
What this code does is it places the mouseDown() event into a function and traces (outputs) the text "Mouse Pressed" when the user clicks the mouse.
There are three different ways to use events... On movieclips, on buttons (now depreciated since Actionscript 3.0 and Adobe Flash CS3) and on frames.
When placing events on buttons, the syntax is quite simple:
Example:
The same method goes for the same with movieclips.
Placing events on frames is a little bit different... You can access them in a few ways:
[code]onMouseDown = myFunction;
function myFunction() { View In Full
 |
0 Comments |
7.00 out of 10 |
|
|
|
Tile Array Tool [Actionscript 2.0]
ActionScript 1 & 2
|
31 Days Ago
|
0
|
- - -
|
Yes
|
3,612 Chrs
|
|
I'm starting to make little individual "tools" that can be used to make long, tedious programming faster and more efficient. This will generate tile-based arrays for you. This is designed to give you
|
|
|
Effects Class [Actionscript 2.0]
ActionScript 1 & 2
|
31 Days Ago
|
0
|
- - -
|
Yes
|
9,013 Chrs
|
|
An effects class I made to allow different tweens and effects to be placed on dynamically added objects. You can tween, curve-tween, rotate, fade, or grow/shrink objects with a few lines of code. Enjo
|
|
|
Memory Heap Prank - Updated
C++
|
95 Days Ago
|
5
|
1.00
|
- - -
|
1,432 Chrs
|
|
An updated version of my memory heap joke. Now this will run silently run in the background and constantly update a text file with gigabytes of random data, causing most of the user's hard drive space
|
|
Please login to post comments. |
|
Wowza, you are learning alot of language at once =p.
Your learning C++.
Python,
and want to touch up your XHTML / PHP skills.
So many language would piss me off =p.
|
|
Love the 'Under Construction' animation on the site. So much better then the usual, I watched it like 5 times :P
|
|
Just thought i would let you know,
You have a small spelling mistake in, about you.
Under what you least injoy about coding, or something.
Kind regards,
Ant
Hope to speak around more soon.
Have fun, and check out the forums!
|
|
 |
Mike Marek (16) Canada, Ontario |
|
mikeMarek has 0 fans
become a fan |
|
 |
|
 |
|