Please forgive me if these are dumb questions
but I have yet to find clear concise answers. My current experience: I feel very confident with AS1, never bothered with AS2 and am currently learning AS3. I have the fundamentals down but there are a few things that are frustrating me....
1. Data types: Number, int and unit. I have seen the three used in example files but am confused as to when and or why to use anything but Number. Moock keeps switching but never explains as to why.
My understanding:
Numbercan represent both int or unit
intwhole numbers only
unitno clue
---
2. I keep seeing examples that deviate from the specification, specifically when declaring the event type.
Example:
function onClick(event:MouseEvent):void {
//do something
}
I have seen the event type abbreviated as evt and even simply as e. The only explanation that I have found so far is it is developer preference. Yet Flash only recognizeschanges to bluethe term event. In most of the examples that I have seenranging from Moock Colin's book to Foundation Flash CS3 and lynda.com's Professional Trainingthere is no explanation as to why they are substituting. Why is this allowed as I see it confusing for beginners to AS3 like myself.
---
3. Continuing with the function question: when dealing with constructor functions vs. typical functions. Why does the constructor function not receive a return type? A typical function is always given a return typeI have seen a few examples where even normal functions lack the return type. Why is a constructor function different?
---
Thank you to anyone who might be able to clarify any of the above questions.

I will also seek help on a few Flash forums but generally I find this community to be more responsive.
1. Data types: Number, int and unit. I have seen the three used in example files but am confused as to when and or why to use anything but Number. Moock keeps switching but never explains as to why.
My understanding:
Numbercan represent both int or unit
intwhole numbers only
unitno clue
---
2. I keep seeing examples that deviate from the specification, specifically when declaring the event type.
Example:
function onClick(event:MouseEvent):void {
//do something
}
I have seen the event type abbreviated as evt and even simply as e. The only explanation that I have found so far is it is developer preference. Yet Flash only recognizeschanges to bluethe term event. In most of the examples that I have seenranging from Moock Colin's book to Foundation Flash CS3 and lynda.com's Professional Trainingthere is no explanation as to why they are substituting. Why is this allowed as I see it confusing for beginners to AS3 like myself.
---
3. Continuing with the function question: when dealing with constructor functions vs. typical functions. Why does the constructor function not receive a return type? A typical function is always given a return typeI have seen a few examples where even normal functions lack the return type. Why is a constructor function different?
---
Thank you to anyone who might be able to clarify any of the above questions.
I will also seek help on a few Flash forums but generally I find this community to be more responsive.