AS short syntax help

New Member here, hey guys.
Need a lil help with ActionScript here.

Example:
[font=Verdana, Arial, Helvetica][size=2][color=Blue]if (monkeyBone == “good”)

{

var toy = "videogames";

} else {

var toy = "rocks";

}[/color][/size][/font]

can be written as

[font=Verdana, Arial, Helvetica][size=2][color=Blue] ([/color][/size][/font][font=Verdana, Arial, Helvetica][size=2][color=Blue]monkeyBone[/color][/size][/font][font=Verdana, Arial, Helvetica][size=2][color=Blue]==“good”) ? “videogames” : “rocks”;
[/color][/size][/font]
I find this useful,
I had seen a forum post where I found many such short cuts, sadly lost the link. :frowning:

Another Example:
[font=Verdana, Arial, Helvetica][size=2]
[color=Blue]if (monkey_behavior == “good”)

{

var toy = "videogames";

[/color][/size][/font][color=Blue]}
[/color]
can be written as

[font=Verdana, Arial, Helvetica][size=2][color=Blue]if (monkey_behavior == “good”) var toy = “videogames”;[/color]

[/size][/font]Does anyone have a link to any such page which lists it all?
Do we have this here?
Can any one of you contribute to this and add more?

Luke