<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://dbbd.sg/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=116.12.248.162</id>
		<title>Wikicliki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://dbbd.sg/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=116.12.248.162"/>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Special:Contributions/116.12.248.162"/>
		<updated>2026-07-30T13:04:13Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4544</id>
		<title>Lexical Adventures</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4544"/>
				<updated>2009-08-21T08:53:06Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;False friends&amp;#039;&amp;#039;&amp;#039; - False Friends (or faux amis) are pairs of words in two languages or dialects (or letters in two alphabets) that look and/or sound similar, but differ in meaning. This may cause difficulty for the beginner who may experience linguistic interference&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Diacritic&amp;#039;&amp;#039;&amp;#039; - A special mark added to a letter to indicate a different pronunciation, stress, tone, or meaning. eg: the Kreska in polish and the carca in czech&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chianti&amp;#039;&amp;#039;&amp;#039; - Chianti (keey an teh) is a red Italian wine produced in Tuscany. It was historically associated with a squat bottle enclosed in a straw basket, called a fiasco&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Ossuary&amp;#039;&amp;#039;&amp;#039; - An ossuary is a chest, building, well, or site made to serve as the final resting place of human skeletal remains. They are frequently used where burial space is scarce. A body is first buried in a temporary grave, then after some years the skeletal remains are removed and placed in an ossuary.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Mulesing&amp;#039;&amp;#039;&amp;#039; - Mulesing is a surgical task that involves the removal of strips of wool-bearing skin from around the breech (buttocks) of a sheep. Mulesing is common practice in Australia as a way to reduce the incidence of flystrike (myiasis) on Merino sheep in regions where flystrike is common.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Jawohl&amp;#039;&amp;#039;&amp;#039; - Affirmative, Yes. German word.&lt;br /&gt;
Uffz Schmidt: &amp;quot;Müller! Tun Sie dies und das! Bewegung!&amp;quot; (Sgt. Schmidt: &amp;quot;Müller! Do this and that! Move your ass!&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
G Müller: &amp;quot;Jawohl, Herr Unteroffizier! (Pvt. Müller: &amp;quot;Yes, Sergeant!&amp;quot;)&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Garden Path sentence&amp;#039;&amp;#039;&amp;#039; - See [[Garden Path sentence]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Iconoclasm&amp;#039;&amp;#039;&amp;#039; - Iconoclasm, Greek for &amp;quot;image-breaking&amp;quot;, is the deliberate destruction within a culture of the culture&amp;#039;s own religious icons and other symbols or monuments&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pease&amp;#039;&amp;#039;&amp;#039; - was originally the singular for &amp;quot;pea&amp;quot; but due to its spelling it was historically misread as plural and then it was used in phrases like &amp;quot;pease pudding&amp;quot;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Schwa&amp;#039;&amp;#039;&amp;#039; - The Latin letter ə (upside-down e)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Just Deserts&amp;#039;&amp;#039;&amp;#039; - Deserts, in the sense of &amp;#039;things deserved&amp;#039; has been used in English since at least the 13th century. A citation in which it is linked with &amp;#039;just&amp;#039; comes from 1599, in Warning Faire Women: &amp;#039;&amp;#039;&amp;quot;Upon a pillory - that al the world may see, A just desert for such impiety.&amp;quot;&amp;#039;&amp;#039; The spelling &amp;quot;Just Desserts&amp;quot; is a corruption on the phrase, likely from the Australians.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Madrigal&amp;#039;&amp;#039;&amp;#039; - A madrigal is a type of secular vocal music composition, written during the Renaissance and early Baroque eras. Throughout most of its history it was polyphonic and unaccompanied by instruments, with the number of voices varying from two to eight, but most frequently three to six.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Clusterfuck&amp;#039;&amp;#039;&amp;#039; - also known in the polite form as compound fiasco, of military origin. A combination of things going extremely wrong in a short period of time within the same general activity - caused by stupidity and/or ineptitude. example of use: clusterfuck trifecta par excellence (simultaneous failure of all three levels of government: local, state, and federal)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Custodial sentence&amp;#039;&amp;#039;&amp;#039; - a custodial sentence is the kind of sentence that leads to something like prison (incarceration) or in some other closed therapeutic and/or (re)educational institution, such as a reformatory, (maximum security) psychiatry or drug detoxication. serious crimes are likely to receive a custodial sentence. non-custodial are things such as fines, judicial beatings, various mandatory but &amp;#039;open&amp;#039; therapy and courses, restriction orders, loss or suspension of civil rights, or even suspended sentences.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;efficacious&amp;#039;&amp;#039;&amp;#039; - having the power to produce a desired effect&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Gone Bolshevik&amp;#039;&amp;#039;&amp;#039; - slang&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Trebuchet&amp;#039;&amp;#039;&amp;#039; - A trebuchet is a siege engine that was employed in the Middle Ages either to smash masonry walls or to throw projectiles over them. Like a sling really.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Aerogel&amp;#039;&amp;#039;&amp;#039; - low-density solid-state material derived from gel in which the liquid component of the gel has been replaced with gas.The result is an extremely low density solid with several remarkable properties, most notably its effectiveness as an insulator, its rigidness. (aka &amp;quot;solid smoke&amp;quot;)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Lame Duck&amp;#039;&amp;#039;&amp;#039; - politician who has lost power (eg: Sarah Palin)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pessary&amp;#039;&amp;#039;&amp;#039; - small removable plastic or silicone medical device which is inserted into the vagina or rectum and held in place by the pelvic floor to treat uterine prolapse or something other&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chemoprophylaxis&amp;#039;&amp;#039;&amp;#039; - administration of a medication for the purpose of preventing disease or infection. eg: a drug given to people in quarantine to prevent them from catching H1N1&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Piggy Bank&amp;#039;&amp;#039;&amp;#039; - In Middle English, &amp;quot;pygg&amp;quot; referred to a type of orange clay used for making various household objects such as jars. People often saved money in kitchen pots and jars made of pygg, called &amp;quot;pygg jars&amp;quot;. By the 18th century, the spelling of &amp;quot;pygg&amp;quot; had changed and the term &amp;quot;pygg jar&amp;quot; had evolved to &amp;quot;pig bank.&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Wicky Wicky&amp;#039;&amp;#039;&amp;#039; - (Slang) hip-hop music especially with turntablism. wicky is that DJ scratch that only involves moving the vinyl back and forth without using a fader or transformer. Usually the first scratch that is learned by a novice.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Metasyntactic&amp;#039;&amp;#039;&amp;#039; - The phrase metasyntactic variable is a neologism that is used in some programmer communities to describe a placeholder name or an alias term commonly used to denote the subject matter under discussion or an arbitrary member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the principal example.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Postcode Lottery&amp;#039;&amp;#039;&amp;#039; - The postcode lottery is shorthand for seemingly random countrywide variations in the provision and quality of public services - the huge gap between the best and the rest. Where you live defines the standard of services you can expect. So if you live in the &amp;quot;wrong&amp;quot; area, and, in extreme cases, on the &amp;quot;wrong&amp;quot; side of a road, you may get a poorer service than your neighbour or you may not get the service at all and have to pay for it privately. The postcode lottery is a big issue in the NHS, where the gap between the rhetoric of a comprehensive and universal &amp;quot;national&amp;quot; service and the reality is increasingly stretched.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Opprobrium&amp;#039;&amp;#039;&amp;#039; -  scornful reproach or contempt, eg: term of opprobrium, opprobrium from society&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Escutcheon&amp;#039;&amp;#039;&amp;#039; - an architectural item of door furniture that surrounds a keyhole or lock cylinder. in bathroom plumbing, the term is used for any back-plate, ornamental or otherwise (usually round) used to cover a gap between a penetrating pipe or control valve, and the finished wall surface from which it protrudes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rebate&amp;#039;&amp;#039;&amp;#039; - when the word rebate is used in conjunction with things like woodworking or locks it refers to the things which fit into the recess/form the recess. like the extra metal bits they give you for a lock which you screw over the lock which fits into the recess of your door, making it flat. also known as Rabbet in north america.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Untriaged&amp;#039;&amp;#039;&amp;#039;: (Definition, Computing) An Untriaged bug is a bug that a has not been investigated or and approved. It comes from the word Triage. Triage is a process of prioritizing patients based on the severity of their condition so as to treat as many as possible when resources are insufficient for all to be treated immediately. This term comes from the French verb trier, meaning to sort, sift or select. &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Comestible&amp;#039;&amp;#039;&amp;#039;: (Definition) Something that can be eaten as food: meat, cheese, and other comestibles.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Poison Centre&amp;#039;&amp;#039;&amp;#039;: Paracetamol is the most common drugs which people in the UK overdose on (often in conjunction with alcohol). This makes up over 40% of poisoning cases in the UK.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Scrumtrilescent&amp;#039;&amp;#039;&amp;#039;: a word that conveys the existence of something that cannot be expressed; the indescribable. it was made up by Will Ferrell&amp;#039;s character on SNL to describe utter perfection that, ironically, is too perfect to describe.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Colophon&amp;#039;&amp;#039;&amp;#039;: in publishing, in most cases it is a description of the text typography, often entitled A note about the type / A brief description usually located at the end of a book, describing production notes relevant to the edition / A printer&amp;#039;s mark or logotype. The term &amp;quot;colophon&amp;quot; derives from the Late Latin colophon, from the Greek κολοφων (meaning &amp;quot;summit&amp;quot;, &amp;quot;top&amp;quot;, or &amp;quot;finishing&amp;quot;); when ancient scribes recorded information on clay tablets and would add this colophon of catch phrases or random facts about the scribe or numbers so that the tablets could be identified as being in the same set. not to be confused with Colophon, an ancient city in Asia Minor, though.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Idiolect&amp;#039;&amp;#039;&amp;#039;: An idiolect is a variety of a language unique to an individual. It is manifested by patterns of word selection, vocabulary and word lexicon, grammar, or words, phrases, idioms, or pronunciations that are unique to that individual. Used by forensic experts to determine if someone really said/wrote something. [shld read more about [http://en.wikipedia.org/wiki/June_and_Jennifer_Gibbons june and jennifer gibbons]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cf.&amp;#039;&amp;#039;&amp;#039;: cf. is an abbreviation for the Latin-derived (but also modern English) word confer, meaning &amp;quot;compare&amp;quot; or &amp;quot;consult&amp;quot;. It is mainly used in common and statute law contexts as well as in academic writing&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bunting&amp;#039;&amp;#039;&amp;#039;: Strips of cloth or material usually in the colors of the national flag, used especially as drapery or streamers for festive decoration&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;BOGOF&amp;#039;&amp;#039;&amp;#039;: &amp;quot;Buy one, get one free&amp;quot; is a common form of sales promotion. While rarely presented to customers in acronym form, this marketing technique is universally known in the marketing industry by the acronym BOGOF.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Peloton&amp;#039;&amp;#039;&amp;#039;:  The peloton (from French, literally meaning little ball or platoon and also related to the English word pellet), field, bunch or pack is the large main group in a road bicycle race. Riders in a group save energy by riding close (drafting or slipstreaming) near (particularly behind) other riders. The reduction in drag is dramatic; in the middle of a well-developed group it can be as much as 40%&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Which vs That&amp;#039;&amp;#039;&amp;#039;: &amp;quot;which&amp;quot; can refer to a thing, &amp;quot;that&amp;quot; also refers to a thing but its for when its a specific one, eg: &amp;#039;&amp;#039;a cat &amp;#039;&amp;#039;&amp;#039;which&amp;#039;&amp;#039;&amp;#039; eats my food must die&amp;#039;&amp;#039; VS &amp;#039;&amp;#039;the cat &amp;#039;&amp;#039;&amp;#039;that&amp;#039;&amp;#039;&amp;#039; ate my food has died&amp;#039;&amp;#039;. but obsessive correction (sarcastically called a which hunt) is best avoided.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hot Button&amp;#039;&amp;#039;&amp;#039; (US Politics): &amp;quot;word or issue that ignites anger, fear, enthusiasm, or other passionate response. The phrase is often hyphenated and used adjectivally in &amp;#039;hot-button issue.&amp;#039; Such an issue, frequently involving values or morals, serves to lift an audience out of its seats. Hot button, perhaps related to &amp;#039;panic button,&amp;#039; began as a marketing term. Walter Kiechel 3d wrote in a September 1978 issue of Fortune: &amp;#039;The marketers are searching for what they call &amp;#039;consumer hot buttons&amp;#039; - needs to be satisfied, desires to be slaked - and the means to push those buttons.&amp;#039;.Since 1981 hot button has been used in political jargon.For earlier versions of &amp;#039;hot buttons,&amp;#039; see GUT ISSUE, SWITCHER, AND STIR UP THE ANIMALS. FOR A LATER VERSION, SEE WEDGE ISSUES. &amp;quot; From &amp;quot;Safire&amp;#039;s New Political Dictionary&amp;quot; by William Safire (Random House, New York, 1993).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Third Rail&amp;#039;&amp;#039;&amp;#039; (US Politics):  the &amp;#039;third rail&amp;#039; issues are issues so politically charged that touching them could cause instant electrocution and political suicide. It was said for a long while that the issue of Social Security was one of these....no solution, and whatever you suggested would lose votes from large blocks of voters.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pro-rata&amp;#039;&amp;#039;&amp;#039;: Propotional according to the rate&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rube Goldberg machine&amp;#039;&amp;#039;&amp;#039;: A Rube Goldberg machine is a deliberately overengineered apparatus that performs a very simple task in a very indirect and convoluted fashion. Goldberg&amp;#039;s drawings, for example, almost always included a live animal which was expected to perform part of the sequence of tasks. (1930s); see wiki for [http://en.wikipedia.org/wiki/Rube_Goldberg_machine similar expressions in other countries]. The japanese have a word for it too -  [http://en.wikipedia.org/wiki/Chindōgu Chindōgu]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Graticule&amp;#039;&amp;#039;&amp;#039;:  A design or draught which has been divided into squares, in order to reproduce it in other dimensions.  In cartography, a network of lines representing the Earth&amp;#039;s parallels of latitude and meridians of longitude. In imagery interpretation, see reticle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Reticle&amp;#039;&amp;#039;&amp;#039;: Crosshairs [http://en.wikipedia.org/wiki/Reticle]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hoosier&amp;#039;&amp;#039;&amp;#039;: Hoosier (americanised slang) is a low-life redneck, somebody you can recognize because they have a car on concrete blocks in their front yard and are likely to have just shot their wife who may also be their sister. Serial killer Carl Panzram&amp;#039;s last words were reportedly, &amp;quot;Hurry it up, you Hoosier bastard! I could hang 10 men while you&amp;#039;re fooling around!&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Myokymia&amp;#039;&amp;#039;&amp;#039;: eyelid myokymia (twitching) is usually due to magnesium deficiency (magnesium is muscle relaxant)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tenesmus&amp;#039;&amp;#039;&amp;#039;: Tenesmus is a feeling of incomplete defecation. It is experienced as an inability or difficulty to empty the bowel at defecation. It is frequently painful and may be accompanied by involuntary straining and other gastrointestinal symptoms. Vesical tenesmus is a similar condition, referring to difficult or failed attempts to urinate despite the bladder feeling full.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tchotchke&amp;#039;&amp;#039;&amp;#039;: (&amp;quot;chawch-key&amp;quot;) originally from a Slavic word for &amp;quot;toys&amp;quot; (Polish cacka, tsatsca; Russian цацки, tsatsci)—adapted to Yiddish טשאַטשקע tshatshke, tshàtshq·qh|tshawtshq·qh, &amp;quot;trinket&amp;quot;, are small toys, gewgaws, knickknacks, baubles, trinkets, or kitsch. The term has a connotation of worthlessness or disposability, as well as tackiness, and was long used in the Jewish-American community and in the regional speech of New York City.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;kvetch&amp;#039;&amp;#039;&amp;#039;: yiddish for complaining&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Learning_Czech&amp;diff=4543</id>
		<title>Learning Czech</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Learning_Czech&amp;diff=4543"/>
				<updated>2009-08-21T08:50:29Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CZECH&lt;br /&gt;
&lt;br /&gt;
another one of those fine slavic languages i eventually want to learn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== čarka ==&lt;br /&gt;
&lt;br /&gt;
a diacritic in czech closely resembling an acute accent?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www.milotice.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Slavic_Languages&amp;diff=4542</id>
		<title>Slavic Languages</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Slavic_Languages&amp;diff=4542"/>
				<updated>2009-08-21T08:49:50Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://slavicscript.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4541</id>
		<title>Lexical Adventures</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4541"/>
				<updated>2009-08-21T08:44:21Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;Diacritic&amp;#039;&amp;#039;&amp;#039; - A special mark added to a letter to indicate a different pronunciation, stress, tone, or meaning. eg: the Kreska in polish and the carca in czech&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chianti&amp;#039;&amp;#039;&amp;#039; - Chianti (keey an teh) is a red Italian wine produced in Tuscany. It was historically associated with a squat bottle enclosed in a straw basket, called a fiasco&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Ossuary&amp;#039;&amp;#039;&amp;#039; - An ossuary is a chest, building, well, or site made to serve as the final resting place of human skeletal remains. They are frequently used where burial space is scarce. A body is first buried in a temporary grave, then after some years the skeletal remains are removed and placed in an ossuary.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Mulesing&amp;#039;&amp;#039;&amp;#039; - Mulesing is a surgical task that involves the removal of strips of wool-bearing skin from around the breech (buttocks) of a sheep. Mulesing is common practice in Australia as a way to reduce the incidence of flystrike (myiasis) on Merino sheep in regions where flystrike is common.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Jawohl&amp;#039;&amp;#039;&amp;#039; - Affirmative, Yes. German word.&lt;br /&gt;
Uffz Schmidt: &amp;quot;Müller! Tun Sie dies und das! Bewegung!&amp;quot; (Sgt. Schmidt: &amp;quot;Müller! Do this and that! Move your ass!&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
G Müller: &amp;quot;Jawohl, Herr Unteroffizier! (Pvt. Müller: &amp;quot;Yes, Sergeant!&amp;quot;)&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Garden Path sentence&amp;#039;&amp;#039;&amp;#039; - See [[Garden Path sentence]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Iconoclasm&amp;#039;&amp;#039;&amp;#039; - Iconoclasm, Greek for &amp;quot;image-breaking&amp;quot;, is the deliberate destruction within a culture of the culture&amp;#039;s own religious icons and other symbols or monuments&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pease&amp;#039;&amp;#039;&amp;#039; - was originally the singular for &amp;quot;pea&amp;quot; but due to its spelling it was historically misread as plural and then it was used in phrases like &amp;quot;pease pudding&amp;quot;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Schwa&amp;#039;&amp;#039;&amp;#039; - The Latin letter ə (upside-down e)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Just Deserts&amp;#039;&amp;#039;&amp;#039; - Deserts, in the sense of &amp;#039;things deserved&amp;#039; has been used in English since at least the 13th century. A citation in which it is linked with &amp;#039;just&amp;#039; comes from 1599, in Warning Faire Women: &amp;#039;&amp;#039;&amp;quot;Upon a pillory - that al the world may see, A just desert for such impiety.&amp;quot;&amp;#039;&amp;#039; The spelling &amp;quot;Just Desserts&amp;quot; is a corruption on the phrase, likely from the Australians.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Madrigal&amp;#039;&amp;#039;&amp;#039; - A madrigal is a type of secular vocal music composition, written during the Renaissance and early Baroque eras. Throughout most of its history it was polyphonic and unaccompanied by instruments, with the number of voices varying from two to eight, but most frequently three to six.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Clusterfuck&amp;#039;&amp;#039;&amp;#039; - also known in the polite form as compound fiasco, of military origin. A combination of things going extremely wrong in a short period of time within the same general activity - caused by stupidity and/or ineptitude. example of use: clusterfuck trifecta par excellence (simultaneous failure of all three levels of government: local, state, and federal)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Custodial sentence&amp;#039;&amp;#039;&amp;#039; - a custodial sentence is the kind of sentence that leads to something like prison (incarceration) or in some other closed therapeutic and/or (re)educational institution, such as a reformatory, (maximum security) psychiatry or drug detoxication. serious crimes are likely to receive a custodial sentence. non-custodial are things such as fines, judicial beatings, various mandatory but &amp;#039;open&amp;#039; therapy and courses, restriction orders, loss or suspension of civil rights, or even suspended sentences.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;efficacious&amp;#039;&amp;#039;&amp;#039; - having the power to produce a desired effect&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Gone Bolshevik&amp;#039;&amp;#039;&amp;#039; - slang&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Trebuchet&amp;#039;&amp;#039;&amp;#039; - A trebuchet is a siege engine that was employed in the Middle Ages either to smash masonry walls or to throw projectiles over them. Like a sling really.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Aerogel&amp;#039;&amp;#039;&amp;#039; - low-density solid-state material derived from gel in which the liquid component of the gel has been replaced with gas.The result is an extremely low density solid with several remarkable properties, most notably its effectiveness as an insulator, its rigidness. (aka &amp;quot;solid smoke&amp;quot;)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Lame Duck&amp;#039;&amp;#039;&amp;#039; - politician who has lost power (eg: Sarah Palin)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pessary&amp;#039;&amp;#039;&amp;#039; - small removable plastic or silicone medical device which is inserted into the vagina or rectum and held in place by the pelvic floor to treat uterine prolapse or something other&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chemoprophylaxis&amp;#039;&amp;#039;&amp;#039; - administration of a medication for the purpose of preventing disease or infection. eg: a drug given to people in quarantine to prevent them from catching H1N1&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Piggy Bank&amp;#039;&amp;#039;&amp;#039; - In Middle English, &amp;quot;pygg&amp;quot; referred to a type of orange clay used for making various household objects such as jars. People often saved money in kitchen pots and jars made of pygg, called &amp;quot;pygg jars&amp;quot;. By the 18th century, the spelling of &amp;quot;pygg&amp;quot; had changed and the term &amp;quot;pygg jar&amp;quot; had evolved to &amp;quot;pig bank.&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Wicky Wicky&amp;#039;&amp;#039;&amp;#039; - (Slang) hip-hop music especially with turntablism. wicky is that DJ scratch that only involves moving the vinyl back and forth without using a fader or transformer. Usually the first scratch that is learned by a novice.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Metasyntactic&amp;#039;&amp;#039;&amp;#039; - The phrase metasyntactic variable is a neologism that is used in some programmer communities to describe a placeholder name or an alias term commonly used to denote the subject matter under discussion or an arbitrary member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the principal example.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Postcode Lottery&amp;#039;&amp;#039;&amp;#039; - The postcode lottery is shorthand for seemingly random countrywide variations in the provision and quality of public services - the huge gap between the best and the rest. Where you live defines the standard of services you can expect. So if you live in the &amp;quot;wrong&amp;quot; area, and, in extreme cases, on the &amp;quot;wrong&amp;quot; side of a road, you may get a poorer service than your neighbour or you may not get the service at all and have to pay for it privately. The postcode lottery is a big issue in the NHS, where the gap between the rhetoric of a comprehensive and universal &amp;quot;national&amp;quot; service and the reality is increasingly stretched.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Opprobrium&amp;#039;&amp;#039;&amp;#039; -  scornful reproach or contempt, eg: term of opprobrium, opprobrium from society&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Escutcheon&amp;#039;&amp;#039;&amp;#039; - an architectural item of door furniture that surrounds a keyhole or lock cylinder. in bathroom plumbing, the term is used for any back-plate, ornamental or otherwise (usually round) used to cover a gap between a penetrating pipe or control valve, and the finished wall surface from which it protrudes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rebate&amp;#039;&amp;#039;&amp;#039; - when the word rebate is used in conjunction with things like woodworking or locks it refers to the things which fit into the recess/form the recess. like the extra metal bits they give you for a lock which you screw over the lock which fits into the recess of your door, making it flat. also known as Rabbet in north america.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Untriaged&amp;#039;&amp;#039;&amp;#039;: (Definition, Computing) An Untriaged bug is a bug that a has not been investigated or and approved. It comes from the word Triage. Triage is a process of prioritizing patients based on the severity of their condition so as to treat as many as possible when resources are insufficient for all to be treated immediately. This term comes from the French verb trier, meaning to sort, sift or select. &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Comestible&amp;#039;&amp;#039;&amp;#039;: (Definition) Something that can be eaten as food: meat, cheese, and other comestibles.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Poison Centre&amp;#039;&amp;#039;&amp;#039;: Paracetamol is the most common drugs which people in the UK overdose on (often in conjunction with alcohol). This makes up over 40% of poisoning cases in the UK.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Scrumtrilescent&amp;#039;&amp;#039;&amp;#039;: a word that conveys the existence of something that cannot be expressed; the indescribable. it was made up by Will Ferrell&amp;#039;s character on SNL to describe utter perfection that, ironically, is too perfect to describe.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Colophon&amp;#039;&amp;#039;&amp;#039;: in publishing, in most cases it is a description of the text typography, often entitled A note about the type / A brief description usually located at the end of a book, describing production notes relevant to the edition / A printer&amp;#039;s mark or logotype. The term &amp;quot;colophon&amp;quot; derives from the Late Latin colophon, from the Greek κολοφων (meaning &amp;quot;summit&amp;quot;, &amp;quot;top&amp;quot;, or &amp;quot;finishing&amp;quot;); when ancient scribes recorded information on clay tablets and would add this colophon of catch phrases or random facts about the scribe or numbers so that the tablets could be identified as being in the same set. not to be confused with Colophon, an ancient city in Asia Minor, though.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Idiolect&amp;#039;&amp;#039;&amp;#039;: An idiolect is a variety of a language unique to an individual. It is manifested by patterns of word selection, vocabulary and word lexicon, grammar, or words, phrases, idioms, or pronunciations that are unique to that individual. Used by forensic experts to determine if someone really said/wrote something. [shld read more about [http://en.wikipedia.org/wiki/June_and_Jennifer_Gibbons june and jennifer gibbons]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cf.&amp;#039;&amp;#039;&amp;#039;: cf. is an abbreviation for the Latin-derived (but also modern English) word confer, meaning &amp;quot;compare&amp;quot; or &amp;quot;consult&amp;quot;. It is mainly used in common and statute law contexts as well as in academic writing&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bunting&amp;#039;&amp;#039;&amp;#039;: Strips of cloth or material usually in the colors of the national flag, used especially as drapery or streamers for festive decoration&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;BOGOF&amp;#039;&amp;#039;&amp;#039;: &amp;quot;Buy one, get one free&amp;quot; is a common form of sales promotion. While rarely presented to customers in acronym form, this marketing technique is universally known in the marketing industry by the acronym BOGOF.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Peloton&amp;#039;&amp;#039;&amp;#039;:  The peloton (from French, literally meaning little ball or platoon and also related to the English word pellet), field, bunch or pack is the large main group in a road bicycle race. Riders in a group save energy by riding close (drafting or slipstreaming) near (particularly behind) other riders. The reduction in drag is dramatic; in the middle of a well-developed group it can be as much as 40%&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Which vs That&amp;#039;&amp;#039;&amp;#039;: &amp;quot;which&amp;quot; can refer to a thing, &amp;quot;that&amp;quot; also refers to a thing but its for when its a specific one, eg: &amp;#039;&amp;#039;a cat &amp;#039;&amp;#039;&amp;#039;which&amp;#039;&amp;#039;&amp;#039; eats my food must die&amp;#039;&amp;#039; VS &amp;#039;&amp;#039;the cat &amp;#039;&amp;#039;&amp;#039;that&amp;#039;&amp;#039;&amp;#039; ate my food has died&amp;#039;&amp;#039;. but obsessive correction (sarcastically called a which hunt) is best avoided.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hot Button&amp;#039;&amp;#039;&amp;#039; (US Politics): &amp;quot;word or issue that ignites anger, fear, enthusiasm, or other passionate response. The phrase is often hyphenated and used adjectivally in &amp;#039;hot-button issue.&amp;#039; Such an issue, frequently involving values or morals, serves to lift an audience out of its seats. Hot button, perhaps related to &amp;#039;panic button,&amp;#039; began as a marketing term. Walter Kiechel 3d wrote in a September 1978 issue of Fortune: &amp;#039;The marketers are searching for what they call &amp;#039;consumer hot buttons&amp;#039; - needs to be satisfied, desires to be slaked - and the means to push those buttons.&amp;#039;.Since 1981 hot button has been used in political jargon.For earlier versions of &amp;#039;hot buttons,&amp;#039; see GUT ISSUE, SWITCHER, AND STIR UP THE ANIMALS. FOR A LATER VERSION, SEE WEDGE ISSUES. &amp;quot; From &amp;quot;Safire&amp;#039;s New Political Dictionary&amp;quot; by William Safire (Random House, New York, 1993).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Third Rail&amp;#039;&amp;#039;&amp;#039; (US Politics):  the &amp;#039;third rail&amp;#039; issues are issues so politically charged that touching them could cause instant electrocution and political suicide. It was said for a long while that the issue of Social Security was one of these....no solution, and whatever you suggested would lose votes from large blocks of voters.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pro-rata&amp;#039;&amp;#039;&amp;#039;: Propotional according to the rate&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rube Goldberg machine&amp;#039;&amp;#039;&amp;#039;: A Rube Goldberg machine is a deliberately overengineered apparatus that performs a very simple task in a very indirect and convoluted fashion. Goldberg&amp;#039;s drawings, for example, almost always included a live animal which was expected to perform part of the sequence of tasks. (1930s); see wiki for [http://en.wikipedia.org/wiki/Rube_Goldberg_machine similar expressions in other countries]. The japanese have a word for it too -  [http://en.wikipedia.org/wiki/Chindōgu Chindōgu]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Graticule&amp;#039;&amp;#039;&amp;#039;:  A design or draught which has been divided into squares, in order to reproduce it in other dimensions.  In cartography, a network of lines representing the Earth&amp;#039;s parallels of latitude and meridians of longitude. In imagery interpretation, see reticle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Reticle&amp;#039;&amp;#039;&amp;#039;: Crosshairs [http://en.wikipedia.org/wiki/Reticle]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hoosier&amp;#039;&amp;#039;&amp;#039;: Hoosier (americanised slang) is a low-life redneck, somebody you can recognize because they have a car on concrete blocks in their front yard and are likely to have just shot their wife who may also be their sister. Serial killer Carl Panzram&amp;#039;s last words were reportedly, &amp;quot;Hurry it up, you Hoosier bastard! I could hang 10 men while you&amp;#039;re fooling around!&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Myokymia&amp;#039;&amp;#039;&amp;#039;: eyelid myokymia (twitching) is usually due to magnesium deficiency (magnesium is muscle relaxant)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tenesmus&amp;#039;&amp;#039;&amp;#039;: Tenesmus is a feeling of incomplete defecation. It is experienced as an inability or difficulty to empty the bowel at defecation. It is frequently painful and may be accompanied by involuntary straining and other gastrointestinal symptoms. Vesical tenesmus is a similar condition, referring to difficult or failed attempts to urinate despite the bladder feeling full.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tchotchke&amp;#039;&amp;#039;&amp;#039;: (&amp;quot;chawch-key&amp;quot;) originally from a Slavic word for &amp;quot;toys&amp;quot; (Polish cacka, tsatsca; Russian цацки, tsatsci)—adapted to Yiddish טשאַטשקע tshatshke, tshàtshq·qh|tshawtshq·qh, &amp;quot;trinket&amp;quot;, are small toys, gewgaws, knickknacks, baubles, trinkets, or kitsch. The term has a connotation of worthlessness or disposability, as well as tackiness, and was long used in the Jewish-American community and in the regional speech of New York City.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;kvetch&amp;#039;&amp;#039;&amp;#039;: yiddish for complaining&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Learning_Czech&amp;diff=4540</id>
		<title>Learning Czech</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Learning_Czech&amp;diff=4540"/>
				<updated>2009-08-21T08:43:11Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CZECH&lt;br /&gt;
&lt;br /&gt;
another one of those fine slavic languages i eventually want to learn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== čarka ==&lt;br /&gt;
&lt;br /&gt;
a diacritic closely resembling an acute accent?&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Learning_Polish&amp;diff=4539</id>
		<title>Learning Polish</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Learning_Polish&amp;diff=4539"/>
				<updated>2009-08-21T08:40:20Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Polish Language is based on the Latin alphabet but uses diacritics such as the kreska, which is graphically similar to an acute accent (ć, ń, ó, ś, ź), the dot above (ż), the ogonek (ą, ę), and the stroke (ł).&lt;br /&gt;
&lt;br /&gt;
* Good morning - Dzien dobry (djien dohbrie)&lt;br /&gt;
* Thank you - Dziekuje (djienkooyeh)&lt;br /&gt;
&lt;br /&gt;
== Kreska ==&lt;br /&gt;
&lt;br /&gt;
Although it may appear as if the acute accent is being used in Polish, it is actually a kreska which is angled EVEN STEEPER than the normal acute accent. The word kreska means stroke. Kreseczka is a diminutive, meaning little stroke. It marks out soft consonants.&lt;br /&gt;
&lt;br /&gt;
*http://www.twardoch.com/download/polishhowto/kreska.html&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Learning Russian]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Learning_Polish&amp;diff=4538</id>
		<title>Learning Polish</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Learning_Polish&amp;diff=4538"/>
				<updated>2009-08-21T08:38:10Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Polish Language is based on the Latin alphabet but uses diacritics such as the kreska, which is graphically similar to an acute accent (ć, ń, ó, ś, ź), the dot above (ż), the ogonek (ą, ę), and the stroke (ł).&lt;br /&gt;
&lt;br /&gt;
* Good morning - Dzien dobry (djien dohbrie)&lt;br /&gt;
* Thank you - Dziekuje (djienkooyeh)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Learning Russian]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Learning_Russian&amp;diff=4537</id>
		<title>Learning Russian</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Learning_Russian&amp;diff=4537"/>
				<updated>2009-08-21T08:32:27Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Handwritten Russian ==&lt;br /&gt;
&lt;br /&gt;
Russian cursive is the handwritten form of the modern Russian language, used instead of the block letters seen in printed materia&lt;br /&gt;
&lt;br /&gt;
http://en.wikipedia.org/wiki/Russian_cursive&lt;br /&gt;
&lt;br /&gt;
http://www.omniglot.com/writing/russian.htm&lt;br /&gt;
&lt;br /&gt;
http://www.ia.net/~jcarroll/privet/script.html&lt;br /&gt;
&lt;br /&gt;
== Russian ==&lt;br /&gt;
&lt;br /&gt;
http://www.rusklaviatura.com/images/hand1.jpg&lt;br /&gt;
&lt;br /&gt;
*http://nekin.narod.ru/e24.htm&lt;br /&gt;
*http://www.videojug.com/webvideo/how-to-learn-about-basic-russian-grammar&lt;br /&gt;
*http://russian.cornell.edu/grammar/&lt;br /&gt;
*http://masterrussian.com/vocabulary/days_of_the_week.htm&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4531</id>
		<title>Hokkien Dialect</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4531"/>
				<updated>2009-08-21T04:43:12Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;my father is hokchew and my mother is cantonese however i have never actually learnt any chinese dialects as my father forgot his dialect after having not spoken it for more than 30/40 years (since he left home) and my mother only taught me how to count in cantonese (BUT only the even numbers??? as she thought it was unimportant to count in anything other than in pairs so as to make the counting process faster???). well done, parents! &lt;br /&gt;
&lt;br /&gt;
generally speaking im effectively billingual in english and chinese but dialect is a whole other ball game. i would like to speak hokkien one day and pretend to be a hokkien peng. lets see whether listening to hokkien cha cha and hanging around geylang will be able to teach me hokkien...&lt;br /&gt;
&lt;br /&gt;
== Simple Phrases ==&lt;br /&gt;
&lt;br /&gt;
* You ok or not? / 你好吗？- dih hoh boh&lt;br /&gt;
* Good, thank you / 好，多谢 - hoh, toh siah&lt;br /&gt;
* Ok or not? / 好吗？- Hoh boh? &lt;br /&gt;
* Good / hoh - 好&lt;br /&gt;
* Guah / Me, I - 我&lt;br /&gt;
* Dee / You -你&lt;br /&gt;
* Ee / He She It - 他 / 她&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4530</id>
		<title>Hokkien Dialect</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4530"/>
				<updated>2009-08-21T04:41:20Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;my father is hokchew and my mother is cantonese however i have never actually learnt any chinese dialects as my father forgot his dialect and my mother only taught me how to count in cantonese, and only the even numbers. well done mum! generally speaking im effectively billingual in english and chinese but dialect is a whole other ball game...&lt;br /&gt;
&lt;br /&gt;
lets see whether listening to hokkien cha cha will be able to teach me hokkien...&lt;br /&gt;
&lt;br /&gt;
== Simple Phrases ==&lt;br /&gt;
&lt;br /&gt;
* You ok or not? / 你好吗？- dih hoh boh&lt;br /&gt;
* Good, thank you / 好，多谢 - hoh, toh siah&lt;br /&gt;
* Ok or not? / 好吗？- Hoh boh? &lt;br /&gt;
* Good / hoh - 好&lt;br /&gt;
* Guah / Me, I - 我&lt;br /&gt;
* Dee / You -你&lt;br /&gt;
* Ee / He She It - 他 / 她&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4529</id>
		<title>Hokkien Dialect</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Hokkien_Dialect&amp;diff=4529"/>
				<updated>2009-08-21T04:38:36Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* You ok or not? / 你好吗？- dih hoh boh&lt;br /&gt;
* Good, thank you / 好，多谢 - hoh, toh siah&lt;br /&gt;
* Ok or not? / 好吗？- Hoh boh? &lt;br /&gt;
* Good / hoh - 好&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Guah / Me, I - 我&lt;br /&gt;
* Dee / You -你&lt;br /&gt;
* Ee / He She It - 他 / 她&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lotus_Notes&amp;diff=4528</id>
		<title>Lotus Notes</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lotus_Notes&amp;diff=4528"/>
				<updated>2009-08-21T04:37:28Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: /* Cannot delete timesheet */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WHY LOTUS NOTES IS THE STUPIDEST PROGRAM IN THE WORLD&lt;br /&gt;
&lt;br /&gt;
== Cannot delete timesheet ==&lt;br /&gt;
&lt;br /&gt;
[[Image:deletetimesheet1.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:deletetimesheet2.png]]&lt;br /&gt;
&lt;br /&gt;
[[Image:deletetimesheet3.png]]&lt;br /&gt;
&lt;br /&gt;
there is NO WAY to delete a timesheet EVER&lt;br /&gt;
&lt;br /&gt;
sometimes it will try to annoy you by pretending to concede by putting a cancel line through the item. this does not mean its deleted. it just means lotus has put a line over your item, which means absolutely fuckall!! DO NOT BELIEVE LOTUS NOTES! the item will never be deleted! EVER! you will have to live with the 15 minutes timesheeted there for the hell of it. when you submit your timesheet it will still have the offending hours onnit!&lt;br /&gt;
&lt;br /&gt;
== Cannot delete email ==&lt;br /&gt;
&lt;br /&gt;
[[Image:deleteemail.png]]&lt;br /&gt;
&lt;br /&gt;
why have a delete button on this window if it never works??&lt;br /&gt;
&lt;br /&gt;
it should be a basic feature to be able to DELETE the email you are currently viewing!&lt;br /&gt;
&lt;br /&gt;
if you press ok, you will be bounced out of it and be unable to find the OFFENDING EMAIL YOU WANT TO DELETE&lt;br /&gt;
&lt;br /&gt;
SMART MOVE LOTUS NOTES!!!&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4520</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4520"/>
				<updated>2009-08-20T12:28:09Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* http://abduzeedo.com/creating-crazy-cool-logo&lt;br /&gt;
* http://www.computerarts.co.uk/tutorials/2d__and__photoshop/pixels_and_vectors&lt;br /&gt;
&lt;br /&gt;
FONT CONSTRUCTOR&lt;br /&gt;
* http://fontstruct.fontshop.com/&lt;br /&gt;
* http://pentacom.jp/soft/ex/font/edit_canvas.html&lt;br /&gt;
&lt;br /&gt;
CONSUME / CONNECT / CREATE&lt;br /&gt;
http://www.dailymail.co.uk/news/article-1084248/Football-stars-actors-pay-tribute-glamour-model-19-stabbed-death-row-home.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://community.livejournal.com/learn_russian/595215.html&lt;br /&gt;
&lt;br /&gt;
http://www.helped.com.sg&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
счаз&lt;br /&gt;
&lt;br /&gt;
шаз&lt;br /&gt;
&lt;br /&gt;
деббиеa&lt;br /&gt;
&lt;br /&gt;
GREAT::&lt;br /&gt;
* http://www.blog.spoongraphics.co.uk/tutorials/creating-road-maps-in-adobe-illustrator&lt;br /&gt;
&lt;br /&gt;
* http://www.smashingmagazine.com/2008/02/05/illustrator-tutorials-best-of/&lt;br /&gt;
* http://www.vectordiary.com/illustrator/best-illustrator-tutorials-articles-of-2008/&lt;br /&gt;
&lt;br /&gt;
== TO DO ==&lt;br /&gt;
Rich Media Infused Ubiquitous Systems&lt;br /&gt;
Out of browser experience&lt;br /&gt;
* http://blog.inkd.com/&lt;br /&gt;
* http://www.rossracine.com/artwork/subdivs2/8/8.html&lt;br /&gt;
* http://www.idm.sg/&lt;br /&gt;
&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
SEKRET PASSWURD IN FLASH?&lt;br /&gt;
&lt;br /&gt;
“We started picking them before they could ripen. A certain crucial growing period was lost, as marketing evolved and the mechanisms of recommodification became quicker, more rapacious. Authentic subcultures required backwaters, and time, and there are no more backwaters…” [William Gibson, All Tomorrow&amp;#039;s Parties]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
breadcrumb system nav&lt;br /&gt;
*http://www.booreiland.nl/&lt;br /&gt;
&lt;br /&gt;
*http://www.unouplus.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.jca-online.com/serra.html&lt;br /&gt;
*http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
*http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
*http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
*http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
*http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
*http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
*http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
*http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
* mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4494</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4494"/>
				<updated>2009-08-18T20:27:05Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== linebreak for xml ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &amp;amp;#xD; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== fscommand for fullscreen ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fscommand(&amp;quot;fullscreen&amp;quot;, true);&lt;br /&gt;
fscommand(&amp;quot;allowscale&amp;quot;, false); // if you have images that cannot be distorted out of dimensions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cssStyle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import TextField.StyleSheet;&lt;br /&gt;
&lt;br /&gt;
newHTMLboxText = &amp;quot;&lt;br /&gt;
&amp;lt;h1&amp;gt;SAMPLE HEADER&amp;lt;/h1&amp;gt; sample text text text&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
var newCSS:StyleSheet = new StyleSheet();&lt;br /&gt;
newCSS.setStyle(&amp;quot;body&amp;quot;, {fontSize:&amp;#039;12&amp;#039;,color:&amp;#039;#000066&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;h1&amp;quot;, {fontSize:&amp;#039;45&amp;#039;,color:&amp;#039;#000000&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:link&amp;quot;, {color:&amp;#039;#0000CC&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:hover&amp;quot;, {color:&amp;#039;#0000FF&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;b&amp;quot;, {fontWeight:&amp;#039;bold&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
newHTMLbox.html = true;&lt;br /&gt;
newHTMLbox.styleSheet = newCSS;&lt;br /&gt;
newHTMLbox.htmlText = newHTMLboxText;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== eval vs array ==&lt;br /&gt;
&lt;br /&gt;
eval and array are NOT THE SAME THING&lt;br /&gt;
&lt;br /&gt;
== unloading XML ==&lt;br /&gt;
&lt;br /&gt;
it is harder to unload an XML than it is to take the xml-fed  file, chuck it into another swf, and loadmovie instead&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;gallery.swf&amp;quot;,_root.containment);&lt;br /&gt;
&lt;br /&gt;
and when you dont want the gallery at all just do this:&lt;br /&gt;
&lt;br /&gt;
unloadMovie(&amp;quot;_root.containment&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hurgh ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
   // createTextField(&amp;quot;INSTANCE NAME&amp;quot;, depth, x, y, width, height);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4493</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4493"/>
				<updated>2009-08-18T20:20:07Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== linebreak for xml ==&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#xD; &lt;br /&gt;
&lt;br /&gt;
== fscommand for fullscreen ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fscommand(&amp;quot;fullscreen&amp;quot;, true);&lt;br /&gt;
fscommand(&amp;quot;allowscale&amp;quot;, false); // if you have images that cannot be distorted out of dimensions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cssStyle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import TextField.StyleSheet;&lt;br /&gt;
&lt;br /&gt;
newHTMLboxText = &amp;quot;&lt;br /&gt;
&amp;lt;h1&amp;gt;SAMPLE HEADER&amp;lt;/h1&amp;gt; sample text text text&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
var newCSS:StyleSheet = new StyleSheet();&lt;br /&gt;
newCSS.setStyle(&amp;quot;body&amp;quot;, {fontSize:&amp;#039;12&amp;#039;,color:&amp;#039;#000066&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;h1&amp;quot;, {fontSize:&amp;#039;45&amp;#039;,color:&amp;#039;#000000&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:link&amp;quot;, {color:&amp;#039;#0000CC&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:hover&amp;quot;, {color:&amp;#039;#0000FF&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;b&amp;quot;, {fontWeight:&amp;#039;bold&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
newHTMLbox.html = true;&lt;br /&gt;
newHTMLbox.styleSheet = newCSS;&lt;br /&gt;
newHTMLbox.htmlText = newHTMLboxText;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== eval vs array ==&lt;br /&gt;
&lt;br /&gt;
eval and array are NOT THE SAME THING&lt;br /&gt;
&lt;br /&gt;
== unloading XML ==&lt;br /&gt;
&lt;br /&gt;
it is harder to unload an XML than it is to take the xml-fed  file, chuck it into another swf, and loadmovie instead&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;gallery.swf&amp;quot;,_root.containment);&lt;br /&gt;
&lt;br /&gt;
and when you dont want the gallery at all just do this:&lt;br /&gt;
&lt;br /&gt;
unloadMovie(&amp;quot;_root.containment&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hurgh ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
   // createTextField(&amp;quot;INSTANCE NAME&amp;quot;, depth, x, y, width, height);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4470</id>
		<title>Radio Trivia</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4470"/>
				<updated>2009-08-13T12:05:39Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I listen to [http://www.bbc.co.uk/iplayer/ BBC iplayer] all day long. I&amp;#039;ve listened to it until I had nothing else to listen to for the day. The channels i favour are: BBC 1, 4, and 7. And 1xtra, for the lulz. Somehow i fancy that the little scrapings of information i pick up from the radio may one day be useful so i am making small notes here:&lt;br /&gt;
&lt;br /&gt;
* Old man who called up Tech Support about how he couldn&amp;#039;t find the shutdown button on Windows says that the problem is that he could not understand why he had to press the Start button in order to see the shutdown button. Computer illiterate people are being left behind as certain social services and public utilities move their services online to save customer costs.&lt;br /&gt;
* &amp;quot;Allah allah&amp;quot; - middle east comedy show&lt;br /&gt;
* A series of Psychotic Episodes - &amp;quot;Jungle is dead. East London grime mcs are flocking to the countryside and becoming... Horse racing commentators&amp;quot;&lt;br /&gt;
* The indifferent enemy, as described by Thomas Mann - in reference to young men killed in the prime of their iconoclastic selves. Like Zarathusha&lt;br /&gt;
* Harry Harlow - American psychologist best known for his maternal-separation and social isolation experiments on rhesus monkeys, which demonstrated the importance of care-giving and companionship in social and cognitive development.&lt;br /&gt;
* Merino wool comes from Merino Sheep, a special kind of sheep which is especially wrinkly and produces a lot more wool than normal sheep. however their folds trap moisture and they often are susceptible to flystrike which can be fatal. at the centre of the animal rights debate is the issue of mulesing these sheep to prevent flrstrikes&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4469</id>
		<title>Radio Trivia</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4469"/>
				<updated>2009-08-13T11:11:39Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I listen to [http://www.bbc.co.uk/iplayer/ BBC iplayer] all day long. I&amp;#039;ve listened to it until I had nothing else to listen to for the day. The channels i favour are: BBC 1, 4, and 7. And 1xtra, for the lulz. Somehow i fancy that the little scrapings of information i pick up from the radio may one day be useful so i am making small notes here:&lt;br /&gt;
&lt;br /&gt;
* Old man who called up Tech Support about how he couldn&amp;#039;t find the shutdown button on Windows says that the problem is that he could not understand why he had to press the Start button in order to see the shutdown button. Computer illiterate people are being left behind as certain social services and public utilities move their services online to save customer costs.&lt;br /&gt;
* &amp;quot;Allah allah&amp;quot; - middle east comedy show&lt;br /&gt;
* A series of Psychotic Episodes - &amp;quot;Jungle is dead. East London grime mcs are flocking to the countryside and becoming... Horse racing commentators&amp;quot;&lt;br /&gt;
* The indifferent enemy, as described by Thomas Mann - in reference to young men killed in the prime of their iconoclastic selves. Like Zarathusha&lt;br /&gt;
* Harry Harlow - American psychologist best known for his maternal-separation and social isolation experiments on rhesus monkeys, which demonstrated the importance of care-giving and companionship in social and cognitive development.&lt;br /&gt;
* Merino wool comes from Merino Sheep&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4468</id>
		<title>Lexical Adventures</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4468"/>
				<updated>2009-08-13T08:31:18Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;Mulesing&amp;#039;&amp;#039;&amp;#039; - Mulesing is a surgical task that involves the removal of strips of wool-bearing skin from around the breech (buttocks) of a sheep. Mulesing is common practice in Australia as a way to reduce the incidence of flystrike (myiasis) on Merino sheep in regions where flystrike is common.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Jawohl&amp;#039;&amp;#039;&amp;#039; - Affirmative, Yes. German word.&lt;br /&gt;
Uffz Schmidt: &amp;quot;Müller! Tun Sie dies und das! Bewegung!&amp;quot; (Sgt. Schmidt: &amp;quot;Müller! Do this and that! Move your ass!&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
G Müller: &amp;quot;Jawohl, Herr Unteroffizier! (Pvt. Müller: &amp;quot;Yes, Sergeant!&amp;quot;)&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Garden Path sentence&amp;#039;&amp;#039;&amp;#039; - See [[Garden Path sentence]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Iconoclasm&amp;#039;&amp;#039;&amp;#039; - Iconoclasm, Greek for &amp;quot;image-breaking&amp;quot;, is the deliberate destruction within a culture of the culture&amp;#039;s own religious icons and other symbols or monuments&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pease&amp;#039;&amp;#039;&amp;#039; - was originally the singular for &amp;quot;pea&amp;quot; but due to its spelling it was historically misread as plural and then it was used in phrases like &amp;quot;pease pudding&amp;quot;.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Schwa&amp;#039;&amp;#039;&amp;#039; - The Latin letter ə (upside-down e)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Just Deserts&amp;#039;&amp;#039;&amp;#039; - Deserts, in the sense of &amp;#039;things deserved&amp;#039; has been used in English since at least the 13th century. A citation in which it is linked with &amp;#039;just&amp;#039; comes from 1599, in Warning Faire Women: &amp;#039;&amp;#039;&amp;quot;Upon a pillory - that al the world may see, A just desert for such impiety.&amp;quot;&amp;#039;&amp;#039; The spelling &amp;quot;Just Desserts&amp;quot; is a corruption on the phrase, likely from the Australians.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Madrigal&amp;#039;&amp;#039;&amp;#039; - A madrigal is a type of secular vocal music composition, written during the Renaissance and early Baroque eras. Throughout most of its history it was polyphonic and unaccompanied by instruments, with the number of voices varying from two to eight, but most frequently three to six.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Clusterfuck&amp;#039;&amp;#039;&amp;#039; - also known in the polite form as compound fiasco, of military origin. A combination of things going extremely wrong in a short period of time within the same general activity - caused by stupidity and/or ineptitude. example of use: clusterfuck trifecta par excellence (simultaneous failure of all three levels of government: local, state, and federal)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Custodial sentence&amp;#039;&amp;#039;&amp;#039; - a custodial sentence is the kind of sentence that leads to something like prison (incarceration) or in some other closed therapeutic and/or (re)educational institution, such as a reformatory, (maximum security) psychiatry or drug detoxication. serious crimes are likely to receive a custodial sentence. non-custodial are things such as fines, judicial beatings, various mandatory but &amp;#039;open&amp;#039; therapy and courses, restriction orders, loss or suspension of civil rights, or even suspended sentences.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;efficacious&amp;#039;&amp;#039;&amp;#039; - having the power to produce a desired effect&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Gone Bolshevik&amp;#039;&amp;#039;&amp;#039; - slang&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Trebuchet&amp;#039;&amp;#039;&amp;#039; - A trebuchet is a siege engine that was employed in the Middle Ages either to smash masonry walls or to throw projectiles over them. Like a sling really.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Aerogel&amp;#039;&amp;#039;&amp;#039; - low-density solid-state material derived from gel in which the liquid component of the gel has been replaced with gas.The result is an extremely low density solid with several remarkable properties, most notably its effectiveness as an insulator, its rigidness. (aka &amp;quot;solid smoke&amp;quot;)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Lame Duck&amp;#039;&amp;#039;&amp;#039; - politician who has lost power (eg: Sarah Palin)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pessary&amp;#039;&amp;#039;&amp;#039; - small removable plastic or silicone medical device which is inserted into the vagina or rectum and held in place by the pelvic floor to treat uterine prolapse or something other&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chemoprophylaxis&amp;#039;&amp;#039;&amp;#039; - administration of a medication for the purpose of preventing disease or infection. eg: a drug given to people in quarantine to prevent them from catching H1N1&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Piggy Bank&amp;#039;&amp;#039;&amp;#039; - In Middle English, &amp;quot;pygg&amp;quot; referred to a type of orange clay used for making various household objects such as jars. People often saved money in kitchen pots and jars made of pygg, called &amp;quot;pygg jars&amp;quot;. By the 18th century, the spelling of &amp;quot;pygg&amp;quot; had changed and the term &amp;quot;pygg jar&amp;quot; had evolved to &amp;quot;pig bank.&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Wicky Wicky&amp;#039;&amp;#039;&amp;#039; - (Slang) hip-hop music especially with turntablism. wicky is that DJ scratch that only involves moving the vinyl back and forth without using a fader or transformer. Usually the first scratch that is learned by a novice.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Metasyntactic&amp;#039;&amp;#039;&amp;#039; - The phrase metasyntactic variable is a neologism that is used in some programmer communities to describe a placeholder name or an alias term commonly used to denote the subject matter under discussion or an arbitrary member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the principal example.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Postcode Lottery&amp;#039;&amp;#039;&amp;#039; - The postcode lottery is shorthand for seemingly random countrywide variations in the provision and quality of public services - the huge gap between the best and the rest. Where you live defines the standard of services you can expect. So if you live in the &amp;quot;wrong&amp;quot; area, and, in extreme cases, on the &amp;quot;wrong&amp;quot; side of a road, you may get a poorer service than your neighbour or you may not get the service at all and have to pay for it privately. The postcode lottery is a big issue in the NHS, where the gap between the rhetoric of a comprehensive and universal &amp;quot;national&amp;quot; service and the reality is increasingly stretched.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Opprobrium&amp;#039;&amp;#039;&amp;#039; -  scornful reproach or contempt, eg: term of opprobrium, opprobrium from society&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Escutcheon&amp;#039;&amp;#039;&amp;#039; - an architectural item of door furniture that surrounds a keyhole or lock cylinder. in bathroom plumbing, the term is used for any back-plate, ornamental or otherwise (usually round) used to cover a gap between a penetrating pipe or control valve, and the finished wall surface from which it protrudes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rebate&amp;#039;&amp;#039;&amp;#039; - when the word rebate is used in conjunction with things like woodworking or locks it refers to the things which fit into the recess/form the recess. like the extra metal bits they give you for a lock which you screw over the lock which fits into the recess of your door, making it flat. also known as Rabbet in north america.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Untriaged&amp;#039;&amp;#039;&amp;#039;: (Definition, Computing) An Untriaged bug is a bug that a has not been investigated or and approved. It comes from the word Triage. Triage is a process of prioritizing patients based on the severity of their condition so as to treat as many as possible when resources are insufficient for all to be treated immediately. This term comes from the French verb trier, meaning to sort, sift or select. &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Comestible&amp;#039;&amp;#039;&amp;#039;: (Definition) Something that can be eaten as food: meat, cheese, and other comestibles.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Poison Centre&amp;#039;&amp;#039;&amp;#039;: Paracetamol is the most common drugs which people in the UK overdose on (often in conjunction with alcohol). This makes up over 40% of poisoning cases in the UK.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Scrumtrilescent&amp;#039;&amp;#039;&amp;#039;: a word that conveys the existence of something that cannot be expressed; the indescribable. it was made up by Will Ferrell&amp;#039;s character on SNL to describe utter perfection that, ironically, is too perfect to describe.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Colophon&amp;#039;&amp;#039;&amp;#039;: in publishing, in most cases it is a description of the text typography, often entitled A note about the type / A brief description usually located at the end of a book, describing production notes relevant to the edition / A printer&amp;#039;s mark or logotype. The term &amp;quot;colophon&amp;quot; derives from the Late Latin colophon, from the Greek κολοφων (meaning &amp;quot;summit&amp;quot;, &amp;quot;top&amp;quot;, or &amp;quot;finishing&amp;quot;); when ancient scribes recorded information on clay tablets and would add this colophon of catch phrases or random facts about the scribe or numbers so that the tablets could be identified as being in the same set. not to be confused with Colophon, an ancient city in Asia Minor, though.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Idiolect&amp;#039;&amp;#039;&amp;#039;: An idiolect is a variety of a language unique to an individual. It is manifested by patterns of word selection, vocabulary and word lexicon, grammar, or words, phrases, idioms, or pronunciations that are unique to that individual. Used by forensic experts to determine if someone really said/wrote something. [shld read more about [http://en.wikipedia.org/wiki/June_and_Jennifer_Gibbons june and jennifer gibbons]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cf.&amp;#039;&amp;#039;&amp;#039;: cf. is an abbreviation for the Latin-derived (but also modern English) word confer, meaning &amp;quot;compare&amp;quot; or &amp;quot;consult&amp;quot;. It is mainly used in common and statute law contexts as well as in academic writing&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bunting&amp;#039;&amp;#039;&amp;#039;: Strips of cloth or material usually in the colors of the national flag, used especially as drapery or streamers for festive decoration&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;BOGOF&amp;#039;&amp;#039;&amp;#039;: &amp;quot;Buy one, get one free&amp;quot; is a common form of sales promotion. While rarely presented to customers in acronym form, this marketing technique is universally known in the marketing industry by the acronym BOGOF.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Peloton&amp;#039;&amp;#039;&amp;#039;:  The peloton (from French, literally meaning little ball or platoon and also related to the English word pellet), field, bunch or pack is the large main group in a road bicycle race. Riders in a group save energy by riding close (drafting or slipstreaming) near (particularly behind) other riders. The reduction in drag is dramatic; in the middle of a well-developed group it can be as much as 40%&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Which vs That&amp;#039;&amp;#039;&amp;#039;: &amp;quot;which&amp;quot; can refer to a thing, &amp;quot;that&amp;quot; also refers to a thing but its for when its a specific one, eg: &amp;#039;&amp;#039;a cat &amp;#039;&amp;#039;&amp;#039;which&amp;#039;&amp;#039;&amp;#039; eats my food must die&amp;#039;&amp;#039; VS &amp;#039;&amp;#039;the cat &amp;#039;&amp;#039;&amp;#039;that&amp;#039;&amp;#039;&amp;#039; ate my food has died&amp;#039;&amp;#039;. but obsessive correction (sarcastically called a which hunt) is best avoided.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hot Button&amp;#039;&amp;#039;&amp;#039; (US Politics): &amp;quot;word or issue that ignites anger, fear, enthusiasm, or other passionate response. The phrase is often hyphenated and used adjectivally in &amp;#039;hot-button issue.&amp;#039; Such an issue, frequently involving values or morals, serves to lift an audience out of its seats. Hot button, perhaps related to &amp;#039;panic button,&amp;#039; began as a marketing term. Walter Kiechel 3d wrote in a September 1978 issue of Fortune: &amp;#039;The marketers are searching for what they call &amp;#039;consumer hot buttons&amp;#039; - needs to be satisfied, desires to be slaked - and the means to push those buttons.&amp;#039;.Since 1981 hot button has been used in political jargon.For earlier versions of &amp;#039;hot buttons,&amp;#039; see GUT ISSUE, SWITCHER, AND STIR UP THE ANIMALS. FOR A LATER VERSION, SEE WEDGE ISSUES. &amp;quot; From &amp;quot;Safire&amp;#039;s New Political Dictionary&amp;quot; by William Safire (Random House, New York, 1993).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Third Rail&amp;#039;&amp;#039;&amp;#039; (US Politics):  the &amp;#039;third rail&amp;#039; issues are issues so politically charged that touching them could cause instant electrocution and political suicide. It was said for a long while that the issue of Social Security was one of these....no solution, and whatever you suggested would lose votes from large blocks of voters.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pro-rata&amp;#039;&amp;#039;&amp;#039;: Propotional according to the rate&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rube Goldberg machine&amp;#039;&amp;#039;&amp;#039;: A Rube Goldberg machine is a deliberately overengineered apparatus that performs a very simple task in a very indirect and convoluted fashion. Goldberg&amp;#039;s drawings, for example, almost always included a live animal which was expected to perform part of the sequence of tasks. (1930s); see wiki for [http://en.wikipedia.org/wiki/Rube_Goldberg_machine similar expressions in other countries]. The japanese have a word for it too -  [http://en.wikipedia.org/wiki/Chindōgu Chindōgu]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Graticule&amp;#039;&amp;#039;&amp;#039;:  A design or draught which has been divided into squares, in order to reproduce it in other dimensions.  In cartography, a network of lines representing the Earth&amp;#039;s parallels of latitude and meridians of longitude. In imagery interpretation, see reticle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Reticle&amp;#039;&amp;#039;&amp;#039;: Crosshairs [http://en.wikipedia.org/wiki/Reticle]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hoosier&amp;#039;&amp;#039;&amp;#039;: Hoosier (americanised slang) is a low-life redneck, somebody you can recognize because they have a car on concrete blocks in their front yard and are likely to have just shot their wife who may also be their sister. Serial killer Carl Panzram&amp;#039;s last words were reportedly, &amp;quot;Hurry it up, you Hoosier bastard! I could hang 10 men while you&amp;#039;re fooling around!&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Myokymia&amp;#039;&amp;#039;&amp;#039;: eyelid myokymia (twitching) is usually due to magnesium deficiency (magnesium is muscle relaxant)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tenesmus&amp;#039;&amp;#039;&amp;#039;: Tenesmus is a feeling of incomplete defecation. It is experienced as an inability or difficulty to empty the bowel at defecation. It is frequently painful and may be accompanied by involuntary straining and other gastrointestinal symptoms. Vesical tenesmus is a similar condition, referring to difficult or failed attempts to urinate despite the bladder feeling full.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tchotchke&amp;#039;&amp;#039;&amp;#039;: (&amp;quot;chawch-key&amp;quot;) originally from a Slavic word for &amp;quot;toys&amp;quot; (Polish cacka, tsatsca; Russian цацки, tsatsci)—adapted to Yiddish טשאַטשקע tshatshke, tshàtshq·qh|tshawtshq·qh, &amp;quot;trinket&amp;quot;, are small toys, gewgaws, knickknacks, baubles, trinkets, or kitsch. The term has a connotation of worthlessness or disposability, as well as tackiness, and was long used in the Jewish-American community and in the regional speech of New York City.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;kvetch&amp;#039;&amp;#039;&amp;#039;: yiddish for complaining&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4467</id>
		<title>Radio Trivia</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4467"/>
				<updated>2009-08-13T08:11:28Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I listen to [http://www.bbc.co.uk/iplayer/ BBC iplayer] all day long. I&amp;#039;ve listened to it until I had nothing else to listen to for the day. The channels i favour are: BBC 1, 4, and 7. And 1xtra, for the lulz. Somehow i fancy that the little scrapings of information i pick up from the radio may one day be useful so i am making small notes here:&lt;br /&gt;
&lt;br /&gt;
* Old man who called up Tech Support about how he couldn&amp;#039;t find the shutdown button on Windows says that the problem is that he could not understand why he had to press the Start button in order to see the shutdown button. Computer illiterate people are being left behind as certain social services and public utilities move their services online to save customer costs.&lt;br /&gt;
* &amp;quot;Allah allah&amp;quot; - middle east comedy show&lt;br /&gt;
* A series of Psychotic Episodes - &amp;quot;Jungle is dead. East London grime mcs are flocking to the countryside and becoming... Horse racing commentators&amp;quot;&lt;br /&gt;
* The indifferent enemy, as described by Thomas Mann - in reference to young men killed in the prime of their iconoclastic selves. Like Zarathusha&lt;br /&gt;
* Harry Harlow - American psychologist best known for his maternal-separation and social isolation experiments on rhesus monkeys, which demonstrated the importance of care-giving and companionship in social and cognitive development.&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4466</id>
		<title>Radio Trivia</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4466"/>
				<updated>2009-08-13T08:11:01Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I listen to [http://www.bbc.co.uk/iplayer/ BBC iplayer] all day long. I&amp;#039;ve listened to it until I had nothing else to listen to for the day. The channels i favour are: BBC 1, 4, and 7. And 1xtra, for the lulz. Somehow i fancy that the little scrapings of information i pick up from the radio may one day be useful so i am making small notes here:&lt;br /&gt;
&lt;br /&gt;
* Old man who called up Tech Support about how he couldn&amp;#039;t find the shutdown button on Windows says that the problem is that he could not understand why he had to press the Start button in order to see the shutdown button. Computer illiterate people are being left behind as certain social services and public utilities move their services online to save customer costs.&lt;br /&gt;
* &amp;quot;Allah allah&amp;quot; - middle east comedy show&lt;br /&gt;
* A series of Psychotic Episodes - &amp;quot;Jungle is dead. East London grime mcs are flocking to the countryside and becoming... Horse racing commentators&amp;quot;&lt;br /&gt;
* The indifferent enemy, as described by Thomas Mann - in reference to young men killed in the prime of their iconoclastic selves.&lt;br /&gt;
* Harry Harlow - American psychologist best known for his maternal-separation and social isolation experiments on rhesus monkeys, which demonstrated the importance of care-giving and companionship in social and cognitive development.&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4465</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4465"/>
				<updated>2009-08-13T07:53:53Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== fscommand for fullscreen ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fscommand(&amp;quot;fullscreen&amp;quot;, true);&lt;br /&gt;
fscommand(&amp;quot;allowscale&amp;quot;, false); // if you have images that cannot be distorted out of dimensions&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cssStyle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import TextField.StyleSheet;&lt;br /&gt;
&lt;br /&gt;
newHTMLboxText = &amp;quot;&lt;br /&gt;
&amp;lt;h1&amp;gt;SAMPLE HEADER&amp;lt;/h1&amp;gt; sample text text text&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
var newCSS:StyleSheet = new StyleSheet();&lt;br /&gt;
newCSS.setStyle(&amp;quot;body&amp;quot;, {fontSize:&amp;#039;12&amp;#039;,color:&amp;#039;#000066&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;h1&amp;quot;, {fontSize:&amp;#039;45&amp;#039;,color:&amp;#039;#000000&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:link&amp;quot;, {color:&amp;#039;#0000CC&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:hover&amp;quot;, {color:&amp;#039;#0000FF&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;b&amp;quot;, {fontWeight:&amp;#039;bold&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
newHTMLbox.html = true;&lt;br /&gt;
newHTMLbox.styleSheet = newCSS;&lt;br /&gt;
newHTMLbox.htmlText = newHTMLboxText;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== eval vs array ==&lt;br /&gt;
&lt;br /&gt;
eval and array are NOT THE SAME THING&lt;br /&gt;
&lt;br /&gt;
== unloading XML ==&lt;br /&gt;
&lt;br /&gt;
it is harder to unload an XML than it is to take the xml-fed  file, chuck it into another swf, and loadmovie instead&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;gallery.swf&amp;quot;,_root.containment);&lt;br /&gt;
&lt;br /&gt;
and when you dont want the gallery at all just do this:&lt;br /&gt;
&lt;br /&gt;
unloadMovie(&amp;quot;_root.containment&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hurgh ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
   // createTextField(&amp;quot;INSTANCE NAME&amp;quot;, depth, x, y, width, height);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript-XML_Interaction&amp;diff=4440</id>
		<title>Actionscript-XML Interaction</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript-XML_Interaction&amp;diff=4440"/>
				<updated>2009-08-13T00:58:43Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&amp;lt;box&amp;gt;&lt;br /&gt;
	&amp;lt;thing&amp;gt;&lt;br /&gt;
		&amp;lt;name&amp;gt;apple&amp;lt;/name&amp;gt;&lt;br /&gt;
		&amp;lt;colour&amp;gt;red&amp;lt;/colour&amp;gt;&lt;br /&gt;
	&amp;lt;/thing&amp;gt;&lt;br /&gt;
	&amp;lt;thing&amp;gt;&lt;br /&gt;
		&amp;lt;name&amp;gt;elephant&amp;lt;/name&amp;gt;&lt;br /&gt;
		&amp;lt;colour&amp;gt;gray&amp;lt;colour&amp;gt;&lt;br /&gt;
	&amp;lt;/thing&amp;gt;&lt;br /&gt;
&amp;lt;/box&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*APPLE is this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;&lt;br /&gt;
*RED is this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;&lt;br /&gt;
*ELEPHANT is this.firstChild.childNodes[1].childNodes[0].firstChild.nodeValue;&lt;br /&gt;
*GRAY is this.firstChild.childNodes[1].childNodes[1].firstChild.nodeValue;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Working Example ==&lt;br /&gt;
&lt;br /&gt;
loading in the xml &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var bannersXML:XML = new XML();&lt;br /&gt;
bannersXML.ignoreWhite = true;&lt;br /&gt;
bannersXML.load(&amp;quot;banners3.xml&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
xml structure&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;rotator isRandom=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;bannerTime&amp;gt;5&amp;lt;/bannerTime&amp;gt;&lt;br /&gt;
  &amp;lt;numberOfBanners&amp;gt;3&amp;lt;/numberOfBanners&amp;gt;&lt;br /&gt;
  &amp;lt;banners showHeader=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;banner&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;Banner 1&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;Lorem Ipsum&amp;lt;/body&amp;gt;&lt;br /&gt;
      &amp;lt;imagePath&amp;gt;rotator/newpro1.jpg&amp;lt;/imagePath&amp;gt;&lt;br /&gt;
      &amp;lt;bannerTime&amp;gt;3&amp;lt;/bannerTime&amp;gt;&lt;br /&gt;
      &amp;lt;link&amp;gt;url&amp;lt;/link&amp;gt;&lt;br /&gt;
    &amp;lt;/banner&amp;gt;&lt;br /&gt;
    &amp;lt;banner&amp;gt;&lt;br /&gt;
      &amp;lt;name&amp;gt;Banner 2&amp;lt;/name&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;Lorem Ipsum&amp;lt;/body&amp;gt;&lt;br /&gt;
      &amp;lt;imagePath&amp;gt;rotator/newpro2.jpg&amp;lt;/imagePath&amp;gt;&lt;br /&gt;
      &amp;lt;bannerTime&amp;gt;10&amp;lt;/bannerTime&amp;gt;&lt;br /&gt;
      &amp;lt;link&amp;gt;url&amp;lt;/link&amp;gt;&lt;br /&gt;
    &amp;lt;/banner&amp;gt;&lt;br /&gt;
  &amp;lt;/banners&amp;gt;&lt;br /&gt;
&amp;lt;/rotator&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AS 2.0 ==&lt;br /&gt;
&lt;br /&gt;
*firstChild is the next level, childNode of the firstChild is the level below that&lt;br /&gt;
&lt;br /&gt;
*first childnode is childNodes[0]&lt;br /&gt;
*second childnode is childNode[1]&lt;br /&gt;
*third childnode is childNode[2] you get the idea&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
		banners.push(this.firstChild.childNodes[2].childNodes[bannerSequence[i]].firstChild.firstChild.toString());&lt;br /&gt;
		bodyTexts.push(this.firstChild.childNodes[2].childNodes[bannerSequence[i]].childNodes[1].firstChild.nodeValue);&lt;br /&gt;
		imagePaths.push(this.firstChild.childNodes[2].childNodes[bannerSequence[i]].childNodes[2].firstChild.nodeValue);&lt;br /&gt;
		links.push(this.firstChild.childNodes[2].childNodes[bannerSequence[i]].childNodes[3].firstChild.nodeValue);&lt;br /&gt;
&lt;br /&gt;
// loop: draw box and print number inside it then repeat and draw the next box on the right of the first box and repeat&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc3.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(2,0xCCCCCC,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xCCCCCC,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc3.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		&lt;br /&gt;
&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRollOver = function() {&lt;br /&gt;
			trace(&amp;quot;rolloverbuttonmoon&amp;quot;);&lt;br /&gt;
		myColor = new Color(this);&lt;br /&gt;
		myColor.setRGB(0xff0000, 40);&lt;br /&gt;
		}&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRollOut = function() {&lt;br /&gt;
			trace(&amp;quot;rolloverbuttonmoon&amp;quot;);&lt;br /&gt;
		myColor = new Color(this);&lt;br /&gt;
		myColor.setRGB(0xCCCCCC, 20);&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Another Implementation ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xmlette = this.firstChild;&lt;br /&gt;
total = xmlette.childNodes.length;&lt;br /&gt;
image = [];&lt;br /&gt;
header = [];&lt;br /&gt;
subheader = [];&lt;br /&gt;
for (k=0; k&amp;lt;total; k++) {&lt;br /&gt;
image[k] = xmlette.childNodes[k].childNodes[0].firstChild.nodeValue;&lt;br /&gt;
header[k] = xmlette.childNodes[k].childNodes[1].firstChild.nodeValue;&lt;br /&gt;
subheader[k] = xmlette.childNodes[k].childNodes[2].firstChild.nodeValue;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
a = 0;&lt;br /&gt;
aleft = a-1;&lt;br /&gt;
aright = a+1;&lt;br /&gt;
&lt;br /&gt;
avalue_txt.text = a; // this for cheking&lt;br /&gt;
arightvalue_txt.text = aright;&lt;br /&gt;
aleftvalue_txt.text = aleft; &lt;br /&gt;
		&lt;br /&gt;
container.loadMovie(image[a], 1);&lt;br /&gt;
containerleft.loadMovie(image[aleft], 1); // container for the slide before&lt;br /&gt;
containerright.loadMovie(image[aright], 1); // container for the slide after&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;slides&amp;gt;&lt;br /&gt;
	&amp;lt;slide&amp;gt;&lt;br /&gt;
		&amp;lt;image&amp;gt;swf/filename.swf&amp;lt;/image&amp;gt;&lt;br /&gt;
		&amp;lt;header&amp;gt;&amp;lt;/header&amp;gt;&lt;br /&gt;
		&amp;lt;subheader&amp;gt;&amp;lt;/subheader&amp;gt;&lt;br /&gt;
	&amp;lt;/slide&amp;gt;&lt;br /&gt;
&amp;lt;/slides&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== One More ==&lt;br /&gt;
&lt;br /&gt;
with thanks to Kun:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function readysteadygoforKun2(fileNum,newballNumber){&lt;br /&gt;
	//trace(&amp;quot;READY KUN!&amp;quot;)&lt;br /&gt;
	momo.enabled = false;&lt;br /&gt;
	itHasMoved = 1;&lt;br /&gt;
	subHeader._visible = 1;&lt;br /&gt;
	currentLoaded_txt._visible = 1;&lt;br /&gt;
	destinoXML = new XML();&lt;br /&gt;
	destinoXML.ignoreWhite = true;&lt;br /&gt;
	destinoXML.onLoad = function(){&lt;br /&gt;
		//trace(&amp;quot;XML LOADED&amp;quot;);&lt;br /&gt;
		loadXMLKun(fileNum);&lt;br /&gt;
	}&lt;br /&gt;
	var xmlFileName = &amp;quot;cat&amp;quot;+newballNumber+&amp;quot;.xml&amp;quot;;&lt;br /&gt;
	loadedFile = &amp;quot;cat&amp;quot;+newballNumber;&lt;br /&gt;
	//trace(&amp;quot;xmlFileName: &amp;quot;+xmlFileName);&lt;br /&gt;
	destinoXML.load(xmlFileName);&lt;br /&gt;
	//trace(&amp;quot;DONE&amp;quot;);&lt;br /&gt;
	pChecker();		&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function loadXMLKun(fileNum) {&lt;br /&gt;
	xmlNode = destinoXML.firstChild;&lt;br /&gt;
	//trace(&amp;quot;xmlNode: &amp;quot;+destinoXML)&lt;br /&gt;
	image = [];&lt;br /&gt;
	header = [];&lt;br /&gt;
	subheader = [];&lt;br /&gt;
	total = xmlNode.childNodes.length;&lt;br /&gt;
	for (k=0; k&amp;lt;total; k++) {&lt;br /&gt;
		image[k] = xmlNode.childNodes[k].childNodes[0].firstChild.nodeValue;&lt;br /&gt;
		header[k] = xmlNode.childNodes[k].childNodes[1].firstChild.nodeValue;&lt;br /&gt;
		subheader[k] = xmlNode.childNodes[k].childNodes[2].firstChild.nodeValue;&lt;br /&gt;
	}&lt;br /&gt;
	ptotal_txt.text = total;&lt;br /&gt;
	loadSectionKun(fileNum);&lt;br /&gt;
	pChecker();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function loadSectionKun(fileNum){&lt;br /&gt;
	p = fileNum;&lt;br /&gt;
	pleft = p+1;&lt;br /&gt;
	pvalue_txt.text = p;&lt;br /&gt;
	pleftvalue_txt.text = pleft;&lt;br /&gt;
&lt;br /&gt;
	container._alpha = 0;&lt;br /&gt;
	trace(&amp;quot;fileNum: &amp;quot;+fileNum)&lt;br /&gt;
	cat_txt.text = fileNum;&lt;br /&gt;
	trace(&amp;quot;image[fileNum]: &amp;quot;+image[fileNum])&lt;br /&gt;
	container.loadMovie(image[fileNum],1);&lt;br /&gt;
		&lt;br /&gt;
	Header.text = header[fileNum];&lt;br /&gt;
	subHeader.text = subheader[fileNum];&lt;br /&gt;
	content_txt.text = image[fileNum];&lt;br /&gt;
	pChecker();		&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4438</id>
		<title>Radio Trivia</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Radio_Trivia&amp;diff=4438"/>
				<updated>2009-08-10T07:16:34Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Old man who called up Tech Support about how he couldn&amp;#039;t find the shutdown button on Windows says that the problem is that he could not understand why he had to press the Start button in order to see the shutdown button. Computer illiterate people are being left behind as certain social services and public utilities move their services online to save customer costs.&lt;br /&gt;
* &amp;quot;Allah allah&amp;quot; middle east comedy show&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4418</id>
		<title>Lexical Adventures</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4418"/>
				<updated>2009-08-04T06:50:04Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;efficacious&amp;#039;&amp;#039;&amp;#039; - having the power to produce a desired effect&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Gone Bolshevik&amp;#039;&amp;#039;&amp;#039; - slang&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Trebuchet&amp;#039;&amp;#039;&amp;#039; - A trebuchet is a siege engine that was employed in the Middle Ages either to smash masonry walls or to throw projectiles over them. Like a sling really.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Aerogel&amp;#039;&amp;#039;&amp;#039; - low-density solid-state material derived from gel in which the liquid component of the gel has been replaced with gas.The result is an extremely low density solid with several remarkable properties, most notably its effectiveness as an insulator, its rigidness. (aka &amp;quot;solid smoke&amp;quot;)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Lame Duck&amp;#039;&amp;#039;&amp;#039; - politician who has lost power (eg: Sarah Palin)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pessary&amp;#039;&amp;#039;&amp;#039; - small removable plastic or silicone medical device which is inserted into the vagina or rectum and held in place by the pelvic floor to treat uterine prolapse or something other&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chemoprophylaxis&amp;#039;&amp;#039;&amp;#039; - administration of a medication for the purpose of preventing disease or infection. eg: a drug given to people in quarantine to prevent them from catching H1N1&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Piggy Bank&amp;#039;&amp;#039;&amp;#039; - In Middle English, &amp;quot;pygg&amp;quot; referred to a type of orange clay used for making various household objects such as jars. People often saved money in kitchen pots and jars made of pygg, called &amp;quot;pygg jars&amp;quot;. By the 18th century, the spelling of &amp;quot;pygg&amp;quot; had changed and the term &amp;quot;pygg jar&amp;quot; had evolved to &amp;quot;pig bank.&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Wicky Wicky&amp;#039;&amp;#039;&amp;#039; - (Slang) hip-hop music especially with turntablism. wicky is that DJ scratch that only involves moving the vinyl back and forth without using a fader or transformer. Usually the first scratch that is learned by a novice.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Metasyntactic&amp;#039;&amp;#039;&amp;#039; - The phrase metasyntactic variable is a neologism that is used in some programmer communities to describe a placeholder name or an alias term commonly used to denote the subject matter under discussion or an arbitrary member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the principal example.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Postcode Lottery&amp;#039;&amp;#039;&amp;#039; - The postcode lottery is shorthand for seemingly random countrywide variations in the provision and quality of public services - the huge gap between the best and the rest. Where you live defines the standard of services you can expect. So if you live in the &amp;quot;wrong&amp;quot; area, and, in extreme cases, on the &amp;quot;wrong&amp;quot; side of a road, you may get a poorer service than your neighbour or you may not get the service at all and have to pay for it privately. The postcode lottery is a big issue in the NHS, where the gap between the rhetoric of a comprehensive and universal &amp;quot;national&amp;quot; service and the reality is increasingly stretched.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Opprobrium&amp;#039;&amp;#039;&amp;#039; -  scornful reproach or contempt, eg: term of opprobrium, opprobrium from society&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Escutcheon&amp;#039;&amp;#039;&amp;#039; - an architectural item of door furniture that surrounds a keyhole or lock cylinder. in bathroom plumbing, the term is used for any back-plate, ornamental or otherwise (usually round) used to cover a gap between a penetrating pipe or control valve, and the finished wall surface from which it protrudes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rebate&amp;#039;&amp;#039;&amp;#039; - when the word rebate is used in conjunction with things like woodworking or locks it refers to the things which fit into the recess/form the recess. like the extra metal bits they give you for a lock which you screw over the lock which fits into the recess of your door, making it flat. also known as Rabbet in north america.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Untriaged&amp;#039;&amp;#039;&amp;#039;: (Definition, Computing) An Untriaged bug is a bug that a has not been investigated or and approved. It comes from the word Triage. Triage is a process of prioritizing patients based on the severity of their condition so as to treat as many as possible when resources are insufficient for all to be treated immediately. This term comes from the French verb trier, meaning to sort, sift or select. &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Comestible&amp;#039;&amp;#039;&amp;#039;: (Definition) Something that can be eaten as food: meat, cheese, and other comestibles.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Poison Centre&amp;#039;&amp;#039;&amp;#039;: Paracetamol is the most common drugs which people in the UK overdose on (often in conjunction with alcohol). This makes up over 40% of poisoning cases in the UK.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Scrumtrilescent&amp;#039;&amp;#039;&amp;#039;: a word that conveys the existence of something that cannot be expressed; the indescribable. it was made up by Will Ferrell&amp;#039;s character on SNL to describe utter perfection that, ironically, is too perfect to describe.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Colophon&amp;#039;&amp;#039;&amp;#039;: in publishing, in most cases it is a description of the text typography, often entitled A note about the type / A brief description usually located at the end of a book, describing production notes relevant to the edition / A printer&amp;#039;s mark or logotype. The term &amp;quot;colophon&amp;quot; derives from the Late Latin colophon, from the Greek κολοφων (meaning &amp;quot;summit&amp;quot;, &amp;quot;top&amp;quot;, or &amp;quot;finishing&amp;quot;); when ancient scribes recorded information on clay tablets and would add this colophon of catch phrases or random facts about the scribe or numbers so that the tablets could be identified as being in the same set. not to be confused with Colophon, an ancient city in Asia Minor, though.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Idiolect&amp;#039;&amp;#039;&amp;#039;: An idiolect is a variety of a language unique to an individual. It is manifested by patterns of word selection, vocabulary and word lexicon, grammar, or words, phrases, idioms, or pronunciations that are unique to that individual. Used by forensic experts to determine if someone really said/wrote something. [shld read more about [http://en.wikipedia.org/wiki/June_and_Jennifer_Gibbons june and jennifer gibbons]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cf.&amp;#039;&amp;#039;&amp;#039;: cf. is an abbreviation for the Latin-derived (but also modern English) word confer, meaning &amp;quot;compare&amp;quot; or &amp;quot;consult&amp;quot;. It is mainly used in common and statute law contexts as well as in academic writing&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bunting&amp;#039;&amp;#039;&amp;#039;: Strips of cloth or material usually in the colors of the national flag, used especially as drapery or streamers for festive decoration&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;BOGOF&amp;#039;&amp;#039;&amp;#039;: &amp;quot;Buy one, get one free&amp;quot; is a common form of sales promotion. While rarely presented to customers in acronym form, this marketing technique is universally known in the marketing industry by the acronym BOGOF.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Peloton&amp;#039;&amp;#039;&amp;#039;:  The peloton (from French, literally meaning little ball or platoon and also related to the English word pellet), field, bunch or pack is the large main group in a road bicycle race. Riders in a group save energy by riding close (drafting or slipstreaming) near (particularly behind) other riders. The reduction in drag is dramatic; in the middle of a well-developed group it can be as much as 40%&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Which vs That&amp;#039;&amp;#039;&amp;#039;: &amp;quot;which&amp;quot; can refer to a thing, &amp;quot;that&amp;quot; also refers to a thing but its for when its a specific one, eg: &amp;#039;&amp;#039;a cat &amp;#039;&amp;#039;&amp;#039;which&amp;#039;&amp;#039;&amp;#039; eats my food must die&amp;#039;&amp;#039; VS &amp;#039;&amp;#039;the cat &amp;#039;&amp;#039;&amp;#039;that&amp;#039;&amp;#039;&amp;#039; ate my food has died&amp;#039;&amp;#039;. but obsessive correction (sarcastically called a which hunt) is best avoided.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hot Button&amp;#039;&amp;#039;&amp;#039; (US Politics): &amp;quot;word or issue that ignites anger, fear, enthusiasm, or other passionate response. The phrase is often hyphenated and used adjectivally in &amp;#039;hot-button issue.&amp;#039; Such an issue, frequently involving values or morals, serves to lift an audience out of its seats. Hot button, perhaps related to &amp;#039;panic button,&amp;#039; began as a marketing term. Walter Kiechel 3d wrote in a September 1978 issue of Fortune: &amp;#039;The marketers are searching for what they call &amp;#039;consumer hot buttons&amp;#039; - needs to be satisfied, desires to be slaked - and the means to push those buttons.&amp;#039;.Since 1981 hot button has been used in political jargon.For earlier versions of &amp;#039;hot buttons,&amp;#039; see GUT ISSUE, SWITCHER, AND STIR UP THE ANIMALS. FOR A LATER VERSION, SEE WEDGE ISSUES. &amp;quot; From &amp;quot;Safire&amp;#039;s New Political Dictionary&amp;quot; by William Safire (Random House, New York, 1993).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Third Rail&amp;#039;&amp;#039;&amp;#039; (US Politics):  the &amp;#039;third rail&amp;#039; issues are issues so politically charged that touching them could cause instant electrocution and political suicide. It was said for a long while that the issue of Social Security was one of these....no solution, and whatever you suggested would lose votes from large blocks of voters.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pro-rata&amp;#039;&amp;#039;&amp;#039;: Propotional according to the rate&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rube Goldberg machine&amp;#039;&amp;#039;&amp;#039;: A Rube Goldberg machine is a deliberately overengineered apparatus that performs a very simple task in a very indirect and convoluted fashion. Goldberg&amp;#039;s drawings, for example, almost always included a live animal which was expected to perform part of the sequence of tasks. (1930s); see wiki for [http://en.wikipedia.org/wiki/Rube_Goldberg_machine similar expressions in other countries]. The japanese have a word for it too -  [http://en.wikipedia.org/wiki/Chindōgu Chindōgu]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Graticule&amp;#039;&amp;#039;&amp;#039;:  A design or draught which has been divided into squares, in order to reproduce it in other dimensions.  In cartography, a network of lines representing the Earth&amp;#039;s parallels of latitude and meridians of longitude. In imagery interpretation, see reticle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Reticle&amp;#039;&amp;#039;&amp;#039;: Crosshairs [http://en.wikipedia.org/wiki/Reticle]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hoosier&amp;#039;&amp;#039;&amp;#039;: Hoosier (americanised slang) is a low-life redneck, somebody you can recognize because they have a car on concrete blocks in their front yard and are likely to have just shot their wife who may also be their sister. Serial killer Carl Panzram&amp;#039;s last words were reportedly, &amp;quot;Hurry it up, you Hoosier bastard! I could hang 10 men while you&amp;#039;re fooling around!&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Myokymia&amp;#039;&amp;#039;&amp;#039;: eyelid myokymia (twitching) is usually due to magnesium deficiency (magnesium is muscle relaxant)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tenesmus&amp;#039;&amp;#039;&amp;#039;: Tenesmus is a feeling of incomplete defecation. It is experienced as an inability or difficulty to empty the bowel at defecation. It is frequently painful and may be accompanied by involuntary straining and other gastrointestinal symptoms. Vesical tenesmus is a similar condition, referring to difficult or failed attempts to urinate despite the bladder feeling full.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tchotchke&amp;#039;&amp;#039;&amp;#039;: (&amp;quot;chawch-key&amp;quot;) originally from a Slavic word for &amp;quot;toys&amp;quot; (Polish cacka, tsatsca; Russian цацки, tsatsci)—adapted to Yiddish טשאַטשקע tshatshke, tshàtshq·qh|tshawtshq·qh, &amp;quot;trinket&amp;quot;, are small toys, gewgaws, knickknacks, baubles, trinkets, or kitsch. The term has a connotation of worthlessness or disposability, as well as tackiness, and was long used in the Jewish-American community and in the regional speech of New York City.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;kvetch&amp;#039;&amp;#039;&amp;#039;: yiddish for complaining&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4402</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4402"/>
				<updated>2009-07-28T04:50:49Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== cssStyle ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import TextField.StyleSheet;&lt;br /&gt;
&lt;br /&gt;
newHTMLboxText = &amp;quot;&lt;br /&gt;
&amp;lt;h1&amp;gt;SAMPLE HEADER&amp;lt;/h1&amp;gt; sample text text text&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
var newCSS:StyleSheet = new StyleSheet();&lt;br /&gt;
newCSS.setStyle(&amp;quot;body&amp;quot;, {fontSize:&amp;#039;12&amp;#039;,color:&amp;#039;#000066&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;h1&amp;quot;, {fontSize:&amp;#039;45&amp;#039;,color:&amp;#039;#000000&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:link&amp;quot;, {color:&amp;#039;#0000CC&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;a:hover&amp;quot;, {color:&amp;#039;#0000FF&amp;#039;,textDecoration:&amp;#039;none&amp;#039;});&lt;br /&gt;
newCSS.setStyle(&amp;quot;b&amp;quot;, {fontWeight:&amp;#039;bold&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
newHTMLbox.html = true;&lt;br /&gt;
newHTMLbox.styleSheet = newCSS;&lt;br /&gt;
newHTMLbox.htmlText = newHTMLboxText;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== eval vs array ==&lt;br /&gt;
&lt;br /&gt;
eval and array are NOT THE SAME THING&lt;br /&gt;
&lt;br /&gt;
== unloading XML ==&lt;br /&gt;
&lt;br /&gt;
it is harder to unload an XML than it is to take the xml-fed  file, chuck it into another swf, and loadmovie instead&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;gallery.swf&amp;quot;,_root.containment);&lt;br /&gt;
&lt;br /&gt;
and when you dont want the gallery at all just do this:&lt;br /&gt;
&lt;br /&gt;
unloadMovie(&amp;quot;_root.containment&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== hurgh ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
   // createTextField(&amp;quot;INSTANCE NAME&amp;quot;, depth, x, y, width, height);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4400</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4400"/>
				<updated>2009-07-24T10:03:43Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* http://abduzeedo.com/creating-crazy-cool-logo&lt;br /&gt;
* http://www.computerarts.co.uk/tutorials/2d__and__photoshop/pixels_and_vectors&lt;br /&gt;
&lt;br /&gt;
FONT CONSTRUCTOR&lt;br /&gt;
* http://fontstruct.fontshop.com/&lt;br /&gt;
* http://pentacom.jp/soft/ex/font/edit_canvas.html&lt;br /&gt;
&lt;br /&gt;
CONSUME / CONNECT / CREATE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
GREAT::&lt;br /&gt;
* http://www.blog.spoongraphics.co.uk/tutorials/creating-road-maps-in-adobe-illustrator&lt;br /&gt;
&lt;br /&gt;
* http://www.smashingmagazine.com/2008/02/05/illustrator-tutorials-best-of/&lt;br /&gt;
* http://www.vectordiary.com/illustrator/best-illustrator-tutorials-articles-of-2008/&lt;br /&gt;
&lt;br /&gt;
== TO DO ==&lt;br /&gt;
Rich Media Infused Ubiquitous Systems&lt;br /&gt;
Out of browser experience&lt;br /&gt;
* http://blog.inkd.com/&lt;br /&gt;
* http://www.rossracine.com/artwork/subdivs2/8/8.html&lt;br /&gt;
* http://www.idm.sg/&lt;br /&gt;
&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
SEKRET PASSWURD IN FLASH?&lt;br /&gt;
&lt;br /&gt;
“We started picking them before they could ripen. A certain crucial growing period was lost, as marketing evolved and the mechanisms of recommodification became quicker, more rapacious. Authentic subcultures required backwaters, and time, and there are no more backwaters…” [William Gibson, All Tomorrow&amp;#039;s Parties]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
breadcrumb system nav&lt;br /&gt;
*http://www.booreiland.nl/&lt;br /&gt;
&lt;br /&gt;
*http://www.unouplus.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.jca-online.com/serra.html&lt;br /&gt;
*http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
*http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
*http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
*http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
*http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
*http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
*http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
*http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
* mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4399</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4399"/>
				<updated>2009-07-24T10:01:50Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* http://abduzeedo.com/creating-crazy-cool-logo&lt;br /&gt;
* http://www.computerarts.co.uk/tutorials/2d__and__photoshop/pixels_and_vectors&lt;br /&gt;
* http://pentacom.jp/soft/ex/font/edit_canvas.html&lt;br /&gt;
&lt;br /&gt;
CONSUME / CONNECT / CREATE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
GREAT::&lt;br /&gt;
* http://www.blog.spoongraphics.co.uk/tutorials/creating-road-maps-in-adobe-illustrator&lt;br /&gt;
&lt;br /&gt;
* http://www.smashingmagazine.com/2008/02/05/illustrator-tutorials-best-of/&lt;br /&gt;
* http://www.vectordiary.com/illustrator/best-illustrator-tutorials-articles-of-2008/&lt;br /&gt;
&lt;br /&gt;
== TO DO ==&lt;br /&gt;
Rich Media Infused Ubiquitous Systems&lt;br /&gt;
Out of browser experience&lt;br /&gt;
* http://blog.inkd.com/&lt;br /&gt;
* http://www.rossracine.com/artwork/subdivs2/8/8.html&lt;br /&gt;
* http://www.idm.sg/&lt;br /&gt;
&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
SEKRET PASSWURD IN FLASH?&lt;br /&gt;
&lt;br /&gt;
“We started picking them before they could ripen. A certain crucial growing period was lost, as marketing evolved and the mechanisms of recommodification became quicker, more rapacious. Authentic subcultures required backwaters, and time, and there are no more backwaters…” [William Gibson, All Tomorrow&amp;#039;s Parties]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
breadcrumb system nav&lt;br /&gt;
*http://www.booreiland.nl/&lt;br /&gt;
&lt;br /&gt;
*http://www.unouplus.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.jca-online.com/serra.html&lt;br /&gt;
*http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
*http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
*http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
*http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
*http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
*http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
*http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
*http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
* mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4389</id>
		<title>Getting the things I want</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4389"/>
				<updated>2009-07-14T10:37:17Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I always get the things that I want.&lt;br /&gt;
&lt;br /&gt;
But first, I must be certain about what I really want.&lt;br /&gt;
&lt;br /&gt;
== Like what? ==&lt;br /&gt;
&lt;br /&gt;
* i want to have a beer with simon&lt;br /&gt;
* i want to go back to london&lt;br /&gt;
* i want to make good music&lt;br /&gt;
* i want to finish my dream map&lt;br /&gt;
* i want to be so proficient in flash that i can make anything i want&lt;br /&gt;
* i want to be able to do simple electronics&lt;br /&gt;
* i want to be able to understand how electrical things are wired up in an average house&lt;br /&gt;
* i want to be able to understand how the plumbing works&lt;br /&gt;
&lt;br /&gt;
[[Category:Productivity]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4388</id>
		<title>Getting the things I want</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4388"/>
				<updated>2009-07-14T10:36:27Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I always get the things that I want.&lt;br /&gt;
&lt;br /&gt;
But first, I must be certain about what I really want.&lt;br /&gt;
&lt;br /&gt;
== Like what? ==&lt;br /&gt;
&lt;br /&gt;
* i want to have a beer with simon&lt;br /&gt;
* i want to go back to london&lt;br /&gt;
* i want to make good music&lt;br /&gt;
* i want to be so proficient in flash that i can make anything i want&lt;br /&gt;
* i want to be able to do simple electronics&lt;br /&gt;
* i want to be able to understand how electrical things are wired up in an average house&lt;br /&gt;
* i want to be able to understand how the plumbing works&lt;br /&gt;
&lt;br /&gt;
[[Category:Productivity]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4387</id>
		<title>Getting the things I want</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Getting_the_things_I_want&amp;diff=4387"/>
				<updated>2009-07-14T10:36:12Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I always get the things that I want.&lt;br /&gt;
&lt;br /&gt;
But first, I must be certain about what I really want.&lt;br /&gt;
&lt;br /&gt;
== Like what? ==&lt;br /&gt;
&lt;br /&gt;
* i want to go back to london&lt;br /&gt;
* i want to make good music&lt;br /&gt;
* i want to have a beer with simon&lt;br /&gt;
* i want to be so proficient in flash that i can make anything i want&lt;br /&gt;
* i want to be able to do simple electronics&lt;br /&gt;
* i want to be able to understand how electrical things are wired up in an average house&lt;br /&gt;
* i want to be able to understand how the plumbing works&lt;br /&gt;
&lt;br /&gt;
[[Category:Productivity]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Web_2.0&amp;diff=4333</id>
		<title>Web 2.0</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Web_2.0&amp;diff=4333"/>
				<updated>2009-06-30T02:07:04Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Generic Web 2.0 Look ==&lt;br /&gt;
&lt;br /&gt;
http://www.dezinerfolio.com/2007/05/06/ultimate-web-20-layer-styles/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Dingbats&amp;diff=4331</id>
		<title>Dingbats</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Dingbats&amp;diff=4331"/>
				<updated>2009-06-30T01:38:02Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Essential Dingbats&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*[[Typography]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Typography&amp;diff=4330</id>
		<title>Typography</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Typography&amp;diff=4330"/>
				<updated>2009-06-30T01:37:37Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Important fonts ==&lt;br /&gt;
&lt;br /&gt;
Important realist san serifs:&lt;br /&gt;
&lt;br /&gt;
* Akzidenz Grotekz&lt;br /&gt;
* FF Dax&lt;br /&gt;
* Gill Sans&lt;br /&gt;
* Univers&lt;br /&gt;
* Helvetica&lt;br /&gt;
* VAG Rounded&lt;br /&gt;
* Frutiger&lt;br /&gt;
&lt;br /&gt;
why is it that england doesn&amp;#039;t have a fancy classic font and people had to assemble it from documents here: http://www.cbrd.co.uk/media/fonts/ ?&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt; research more on the history of the Transport font: &lt;br /&gt;
&lt;br /&gt;
Although developed in the United Kingdom, the typeface has been used in many other countries around the world. As well as the Crown dependencies, British overseas territories and some limited residual usage in Commonwealth states, the typeface is also used in Hong Kong, Iceland, Ireland, Italy, Greece, Spain and Portugal, and in much of the Middle East. &lt;br /&gt;
&lt;br /&gt;
http://en.wikipedia.org/wiki/Transport_(typeface)&lt;br /&gt;
&lt;br /&gt;
== Extra junk info ==&lt;br /&gt;
&lt;br /&gt;
=== Digital type ===&lt;br /&gt;
&lt;br /&gt;
*Aliasing - Jagged edges on bitmap fonts&lt;br /&gt;
*Anti-aliasing - Smoothed edges on fonts&lt;br /&gt;
&lt;br /&gt;
=== Cases of  fonts being used ===&lt;br /&gt;
&lt;br /&gt;
[[Image:dax_sample.png|frame|left|FF Dax]] Morrisons uses FF Dax for most of its instore promotional materials.&lt;br /&gt;
&lt;br /&gt;
=== Links to articles about fonts ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.inspirationbit.com/16-best-loved-font-bits-in-web-design/ best loved fonts in design]&lt;br /&gt;
*[http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/ excellent freefonts]&lt;br /&gt;
&lt;br /&gt;
*[http://desktoppub.about.com/od/glossary/g/xheight.htm READ THIS]&lt;br /&gt;
&lt;br /&gt;
*[http://www.westudy.cn/blog/article/237.htm chinese sites have everything omg...]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[[Dingbats]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Dingbats&amp;diff=4326</id>
		<title>Dingbats</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Dingbats&amp;diff=4326"/>
				<updated>2009-06-29T09:55:51Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*http://www.houseoflime.com/dings.htm&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Kinetic_Art&amp;diff=4325</id>
		<title>Kinetic Art</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Kinetic_Art&amp;diff=4325"/>
				<updated>2009-06-29T04:59:33Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*http://en.wikipedia.org/wiki/Kinetic_art&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kinetic Artists ==&lt;br /&gt;
&lt;br /&gt;
*Theo Jansen (Netherlands)&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Kinetic_Art&amp;diff=4324</id>
		<title>Kinetic Art</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Kinetic_Art&amp;diff=4324"/>
				<updated>2009-06-29T04:59:14Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*http://en.wikipedia.org/wiki/Kinetic_art&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kinetic Artists ==&lt;br /&gt;
&lt;br /&gt;
*Theo Jansen&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=CMS&amp;diff=4323</id>
		<title>CMS</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=CMS&amp;diff=4323"/>
				<updated>2009-06-29T04:58:15Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Content Management Systems&lt;br /&gt;
*http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-%11-which-one-is-right-for-you?/&lt;br /&gt;
*http://forum.joomla.org/viewtopic.php?t=4364&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=List_of_Amazing_Flash_Sites&amp;diff=4322</id>
		<title>List of Amazing Flash Sites</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=List_of_Amazing_Flash_Sites&amp;diff=4322"/>
				<updated>2009-06-29T03:43:07Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* http://www.thefwa.com/&lt;br /&gt;
*[http://www.profedota.ru/ russian fullflash landscape]&lt;br /&gt;
*[http://www.schematic.com Schematic] - Excellent use of SWFObject, SWFAddress, plus fully indexable alternative HTML.&lt;br /&gt;
*[http://www.msnbc.msn.com/id/24207533/ Spectra Visual Newsreader for msnbc] - Great use of dynamic news content and Papervision 3D.&lt;br /&gt;
*[http://www.varywell.com Varywell]&lt;br /&gt;
*[http://www.searchme.com Search me] - visual search engine made in collaboration with Adobe&lt;br /&gt;
*[http://www.typophile.com Typophile]&lt;br /&gt;
*http://five3d.mathieu-badimon.com/&lt;br /&gt;
*http://neutral.gs/www/index.html&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Microsoft_Silverlight&amp;diff=4316</id>
		<title>Microsoft Silverlight</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Microsoft_Silverlight&amp;diff=4316"/>
				<updated>2009-06-26T04:49:35Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;According to Microsoft&amp;#039;s website: &amp;quot;Microsoft Silverlight is a cross-browser, cross-platform, and cross-device plug-in for delivering the next generation of [[.NET]] based media experiences and rich interactive applications for the Web. Silverlight offers a flexible programming model that supports [[AJAX]], VB, C#, [[IronPython]], and [[IronRuby]], and integrates with existing Web applications. By using Expression Studio and Visual Studio, designers and developers can collaborate more effectively using the skills they have today to light up the Web of tomorrow. By leveraging Silverlight&amp;#039;s support for .NET, High Definition video, cost-effective advanced streaming, unparalleled high-resolution interactivity with Deep Zoom technology, and controls, businesses can reach out to new markets across the Web, desktop, and devices.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TL;DR.&lt;br /&gt;
&lt;br /&gt;
EYES HAVE GLAZED OVER.&lt;br /&gt;
&lt;br /&gt;
== Microsoft REMIX 2009, Singapore ==&lt;br /&gt;
&lt;br /&gt;
Expression Blend 3 Beta&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*http://www.microsoft.com/silverlight/&lt;br /&gt;
*[[Adobe AIR]]&lt;br /&gt;
*[[Mozilla Prism]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://gallery.expression.microsoft.com/en-us/site/items/samples&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4315</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4315"/>
				<updated>2009-06-26T04:26:56Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TO DO ==&lt;br /&gt;
Rich Media Infused Ubiquitous Systems&lt;br /&gt;
Out of browser experience&lt;br /&gt;
* http://www.rossracine.com/artwork/subdivs2/8/8.html&lt;br /&gt;
* http://www.idm.sg/&lt;br /&gt;
&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
SEKRET PASSWURD IN FLASH?&lt;br /&gt;
&lt;br /&gt;
*http://www.unouplus.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.jca-online.com/serra.html&lt;br /&gt;
*http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
*http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
*http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
*http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
*http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
*http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
*http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
*http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
* mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Macbook_Pro&amp;diff=4306</id>
		<title>Macbook Pro</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Macbook_Pro&amp;diff=4306"/>
				<updated>2009-06-22T08:54:51Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To calibrate your laptop’s battery:&lt;br /&gt;
&lt;br /&gt;
   1. Plug your laptop in and let it charge completely (your battery icon in the menu bar will be completely full and the charger’s connector light turns green).&lt;br /&gt;
   2. Keep the laptop plugged in for another two hours (after it is fully charged).&lt;br /&gt;
   3. Disconnect your laptop from power. Use it until it falls asleep from low battery.&lt;br /&gt;
   4. Turn off the laptop and let it “rest” for about five hours.&lt;br /&gt;
   5. Plug your laptop back in and let it fully charge.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;If you intend your MBP to be a desktop computer, leave it connected to AC power most of the time. Disconnect the AC and use the machine on battery power for a couple of hours (a 40-80% discharge, depending on what you&amp;#039;re doing) once or twice a week. Fully discharge and recalibrate the battery every six or eight weeks. This will result in something like 40-50 cycles a year, maybe a few more or less, and will keep your battery alive and kicking despite its sedentary existence.&amp;quot;&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=MySQL&amp;diff=4296</id>
		<title>MySQL</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=MySQL&amp;diff=4296"/>
				<updated>2009-06-19T02:48:13Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Alter collation of wordpress tables to utf8 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ALTER TABLE `wp_comments`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_links`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_options`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_postmeta`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_posts`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_terms`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_term_relationships`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_term_taxonomy`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_usermeta`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
ALTER TABLE `wp_users`  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the default is latin_swedish cos mysql is made in sweden!&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Interface&amp;diff=4288</id>
		<title>Interface</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Interface&amp;diff=4288"/>
				<updated>2009-06-16T08:12:27Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An interface defines the communication boundary between two entities, such as a piece of software, a hardware device, or a user. It generally refers to an abstraction that an entity provides of itself to the outside.&lt;br /&gt;
&lt;br /&gt;
Minority report style interface:&lt;br /&gt;
http://www.ted.com/index.php/talks/pattie_maes_demos_the_sixth_sense.html&lt;br /&gt;
&lt;br /&gt;
== Interface ideas ==&lt;br /&gt;
&lt;br /&gt;
* Carousel - [[Actionscript Carousel]], [[jQuery Carousel]]&lt;br /&gt;
* Accordian&lt;br /&gt;
* Corner - see the top right hand corner of http://sorgalla.com/jcarousel/ (jquery)&lt;br /&gt;
* Tool tip - [http://craigsworks.com/projects/qtip/ qTip] | [http://craigsworks.com/projects/simpletip Simpletip]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== qTip ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$(&amp;quot;#pam&amp;quot;).qtip({&lt;br /&gt;
   content: &amp;#039;Click here to find out more about Prudential Asset Management&amp;#039;,&lt;br /&gt;
	  style: { &lt;br /&gt;
      width: 150,&lt;br /&gt;
      padding: 5,&lt;br /&gt;
      background: &amp;#039;#eeeeee&amp;#039;,&lt;br /&gt;
      color: &amp;#039;black&amp;#039;,&lt;br /&gt;
      textAlign: &amp;#039;center&amp;#039;,&lt;br /&gt;
      border: {&lt;br /&gt;
         width: 7,&lt;br /&gt;
         radius: 5,&lt;br /&gt;
         color: &amp;#039;#dddddd&amp;#039;&lt;br /&gt;
      },&lt;br /&gt;
      tip: { &lt;br /&gt;
       corner: &amp;#039;topLeft&amp;#039;,&lt;br /&gt;
      },&lt;br /&gt;
      name: &amp;#039;dark&amp;#039;&lt;br /&gt;
   },&lt;br /&gt;
	position: { adjust: { x: -60, y: -50 } }&lt;br /&gt;
});&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4273</id>
		<title>Lexical Adventures</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Lexical_Adventures&amp;diff=4273"/>
				<updated>2009-06-16T02:43:16Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;Pessary&amp;#039;&amp;#039;&amp;#039; - small removable plastic or silicone medical device which is inserted into the vagina or rectum and held in place by the pelvic floor to treat uterine prolapse or something other&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Chemoprophylaxis&amp;#039;&amp;#039;&amp;#039; - administration of a medication for the purpose of preventing disease or infection. eg: a drug given to people in quarantine to prevent them from catching H1N1&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Piggy Bank&amp;#039;&amp;#039;&amp;#039; - In Middle English, &amp;quot;pygg&amp;quot; referred to a type of orange clay used for making various household objects such as jars. People often saved money in kitchen pots and jars made of pygg, called &amp;quot;pygg jars&amp;quot;. By the 18th century, the spelling of &amp;quot;pygg&amp;quot; had changed and the term &amp;quot;pygg jar&amp;quot; had evolved to &amp;quot;pig bank.&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Wicky Wicky&amp;#039;&amp;#039;&amp;#039; - (Slang) hip-hop music especially with turntablism. wicky is that DJ scratch that only involves moving the vinyl back and forth without using a fader or transformer. Usually the first scratch that is learned by a novice.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Metasyntactic&amp;#039;&amp;#039;&amp;#039; - The phrase metasyntactic variable is a neologism that is used in some programmer communities to describe a placeholder name or an alias term commonly used to denote the subject matter under discussion or an arbitrary member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the principal example.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Postcode Lottery&amp;#039;&amp;#039;&amp;#039; - The postcode lottery is shorthand for seemingly random countrywide variations in the provision and quality of public services - the huge gap between the best and the rest. Where you live defines the standard of services you can expect. So if you live in the &amp;quot;wrong&amp;quot; area, and, in extreme cases, on the &amp;quot;wrong&amp;quot; side of a road, you may get a poorer service than your neighbour or you may not get the service at all and have to pay for it privately. The postcode lottery is a big issue in the NHS, where the gap between the rhetoric of a comprehensive and universal &amp;quot;national&amp;quot; service and the reality is increasingly stretched.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Opprobrium&amp;#039;&amp;#039;&amp;#039; -  scornful reproach or contempt, eg: term of opprobrium, opprobrium from society&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Escutcheon&amp;#039;&amp;#039;&amp;#039; - an architectural item of door furniture that surrounds a keyhole or lock cylinder. in bathroom plumbing, the term is used for any back-plate, ornamental or otherwise (usually round) used to cover a gap between a penetrating pipe or control valve, and the finished wall surface from which it protrudes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rebate&amp;#039;&amp;#039;&amp;#039; - when the word rebate is used in conjunction with things like woodworking or locks it refers to the things which fit into the recess/form the recess. like the extra metal bits they give you for a lock which you screw over the lock which fits into the recess of your door, making it flat. also known as Rabbet in north america.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Untriaged&amp;#039;&amp;#039;&amp;#039;: (Definition, Computing) An Untriaged bug is a bug that a has not been investigated or and approved. It comes from the word Triage. Triage is a process of prioritizing patients based on the severity of their condition so as to treat as many as possible when resources are insufficient for all to be treated immediately. This term comes from the French verb trier, meaning to sort, sift or select. &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Comestible&amp;#039;&amp;#039;&amp;#039;: (Definition) Something that can be eaten as food: meat, cheese, and other comestibles.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Poison Centre&amp;#039;&amp;#039;&amp;#039;: Paracetamol is the most common drugs which people in the UK overdose on (often in conjunction with alcohol). This makes up over 40% of poisoning cases in the UK.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Scrumtrilescent&amp;#039;&amp;#039;&amp;#039;: a word that conveys the existence of something that cannot be expressed; the indescribable. it was made up by Will Ferrell&amp;#039;s character on SNL to describe utter perfection that, ironically, is too perfect to describe.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Colophon&amp;#039;&amp;#039;&amp;#039;: in publishing, in most cases it is a description of the text typography, often entitled A note about the type / A brief description usually located at the end of a book, describing production notes relevant to the edition / A printer&amp;#039;s mark or logotype. The term &amp;quot;colophon&amp;quot; derives from the Late Latin colophon, from the Greek κολοφων (meaning &amp;quot;summit&amp;quot;, &amp;quot;top&amp;quot;, or &amp;quot;finishing&amp;quot;); when ancient scribes recorded information on clay tablets and would add this colophon of catch phrases or random facts about the scribe or numbers so that the tablets could be identified as being in the same set. not to be confused with Colophon, an ancient city in Asia Minor, though.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Idiolect&amp;#039;&amp;#039;&amp;#039;: An idiolect is a variety of a language unique to an individual. It is manifested by patterns of word selection, vocabulary and word lexicon, grammar, or words, phrases, idioms, or pronunciations that are unique to that individual. Used by forensic experts to determine if someone really said/wrote something. [shld read more about [http://en.wikipedia.org/wiki/June_and_Jennifer_Gibbons june and jennifer gibbons]]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;cf.&amp;#039;&amp;#039;&amp;#039;: cf. is an abbreviation for the Latin-derived (but also modern English) word confer, meaning &amp;quot;compare&amp;quot; or &amp;quot;consult&amp;quot;. It is mainly used in common and statute law contexts as well as in academic writing&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Bunting&amp;#039;&amp;#039;&amp;#039;: Strips of cloth or material usually in the colors of the national flag, used especially as drapery or streamers for festive decoration&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;BOGOF&amp;#039;&amp;#039;&amp;#039;: &amp;quot;Buy one, get one free&amp;quot; is a common form of sales promotion. While rarely presented to customers in acronym form, this marketing technique is universally known in the marketing industry by the acronym BOGOF.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Peloton&amp;#039;&amp;#039;&amp;#039;:  The peloton (from French, literally meaning little ball or platoon and also related to the English word pellet), field, bunch or pack is the large main group in a road bicycle race. Riders in a group save energy by riding close (drafting or slipstreaming) near (particularly behind) other riders. The reduction in drag is dramatic; in the middle of a well-developed group it can be as much as 40%&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Which vs That&amp;#039;&amp;#039;&amp;#039;: &amp;quot;which&amp;quot; can refer to a thing, &amp;quot;that&amp;quot; also refers to a thing but its for when its a specific one, eg: &amp;#039;&amp;#039;a cat &amp;#039;&amp;#039;&amp;#039;which&amp;#039;&amp;#039;&amp;#039; eats my food must die&amp;#039;&amp;#039; VS &amp;#039;&amp;#039;the cat &amp;#039;&amp;#039;&amp;#039;that&amp;#039;&amp;#039;&amp;#039; ate my food has died&amp;#039;&amp;#039;. but obsessive correction (sarcastically called a which hunt) is best avoided.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hot Button&amp;#039;&amp;#039;&amp;#039; (US Politics): &amp;quot;word or issue that ignites anger, fear, enthusiasm, or other passionate response. The phrase is often hyphenated and used adjectivally in &amp;#039;hot-button issue.&amp;#039; Such an issue, frequently involving values or morals, serves to lift an audience out of its seats. Hot button, perhaps related to &amp;#039;panic button,&amp;#039; began as a marketing term. Walter Kiechel 3d wrote in a September 1978 issue of Fortune: &amp;#039;The marketers are searching for what they call &amp;#039;consumer hot buttons&amp;#039; - needs to be satisfied, desires to be slaked - and the means to push those buttons.&amp;#039;.Since 1981 hot button has been used in political jargon.For earlier versions of &amp;#039;hot buttons,&amp;#039; see GUT ISSUE, SWITCHER, AND STIR UP THE ANIMALS. FOR A LATER VERSION, SEE WEDGE ISSUES. &amp;quot; From &amp;quot;Safire&amp;#039;s New Political Dictionary&amp;quot; by William Safire (Random House, New York, 1993).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Third Rail&amp;#039;&amp;#039;&amp;#039; (US Politics):  the &amp;#039;third rail&amp;#039; issues are issues so politically charged that touching them could cause instant electrocution and political suicide. It was said for a long while that the issue of Social Security was one of these....no solution, and whatever you suggested would lose votes from large blocks of voters.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Pro-rata&amp;#039;&amp;#039;&amp;#039;: Propotional according to the rate&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Rube Goldberg machine&amp;#039;&amp;#039;&amp;#039;: A Rube Goldberg machine is a deliberately overengineered apparatus that performs a very simple task in a very indirect and convoluted fashion. Goldberg&amp;#039;s drawings, for example, almost always included a live animal which was expected to perform part of the sequence of tasks. (1930s); see wiki for [http://en.wikipedia.org/wiki/Rube_Goldberg_machine similar expressions in other countries]. The japanese have a word for it too -  [http://en.wikipedia.org/wiki/Chindōgu Chindōgu]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Graticule&amp;#039;&amp;#039;&amp;#039;:  A design or draught which has been divided into squares, in order to reproduce it in other dimensions.  In cartography, a network of lines representing the Earth&amp;#039;s parallels of latitude and meridians of longitude. In imagery interpretation, see reticle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Reticle&amp;#039;&amp;#039;&amp;#039;: Crosshairs [http://en.wikipedia.org/wiki/Reticle]&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Hoosier&amp;#039;&amp;#039;&amp;#039;: Hoosier (americanised slang) is a low-life redneck, somebody you can recognize because they have a car on concrete blocks in their front yard and are likely to have just shot their wife who may also be their sister. Serial killer Carl Panzram&amp;#039;s last words were reportedly, &amp;quot;Hurry it up, you Hoosier bastard! I could hang 10 men while you&amp;#039;re fooling around!&amp;quot;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Myokymia&amp;#039;&amp;#039;&amp;#039;: eyelid myokymia (twitching) is usually due to magnesium deficiency (magnesium is muscle relaxant)&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tenesmus&amp;#039;&amp;#039;&amp;#039;: Tenesmus is a feeling of incomplete defecation. It is experienced as an inability or difficulty to empty the bowel at defecation. It is frequently painful and may be accompanied by involuntary straining and other gastrointestinal symptoms. Vesical tenesmus is a similar condition, referring to difficult or failed attempts to urinate despite the bladder feeling full.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Tchotchke&amp;#039;&amp;#039;&amp;#039;: (&amp;quot;chawch-key&amp;quot;) originally from a Slavic word for &amp;quot;toys&amp;quot; (Polish cacka, tsatsca; Russian цацки, tsatsci)—adapted to Yiddish טשאַטשקע tshatshke, tshàtshq·qh|tshawtshq·qh, &amp;quot;trinket&amp;quot;, are small toys, gewgaws, knickknacks, baubles, trinkets, or kitsch. The term has a connotation of worthlessness or disposability, as well as tackiness, and was long used in the Jewish-American community and in the regional speech of New York City.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;kvetch&amp;#039;&amp;#039;&amp;#039;: yiddish for complaining&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4271</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4271"/>
				<updated>2009-06-15T08:48:50Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TO DO ==&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
SEKRET PASSWURD IN FLASH?&lt;br /&gt;
&lt;br /&gt;
*http://www.unouplus.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.jca-online.com/serra.html&lt;br /&gt;
*http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
*http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
*http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
*http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
*http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
*http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
*http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
*http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
* mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4252</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4252"/>
				<updated>2009-06-05T06:45:23Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: /* Loop with eval */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
   // createTextField(&amp;quot;INSTANCE NAME&amp;quot;, depth, x, y, width, height);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4251</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4251"/>
				<updated>2009-06-05T03:59:54Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	for (var i = 0; i&amp;lt;numberOfBanners; i++) {&lt;br /&gt;
&lt;br /&gt;
		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(1,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).beginFill(0xFFFFFF,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,20);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(15,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(-5,0);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).endFill();&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 10;&lt;br /&gt;
		_root.wn.banner_mc.createTextField(&amp;quot;ButtonNum&amp;quot;+i, i+10, 0, 3, 20, 20);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).text = i+1;&lt;br /&gt;
		var prufont:TextFormat = new TextFormat();&lt;br /&gt;
		prufont.size = 13;&lt;br /&gt;
		prufont.font = &amp;quot;Arial&amp;quot;;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i).setTextFormat(prufont);&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._x = 20+i*24;&lt;br /&gt;
		eval(&amp;quot;ButtonNum&amp;quot;+i)._y = 10;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
			}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4250</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4250"/>
				<updated>2009-06-05T03:21:27Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: /*  */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== Loop with eval ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;		_root.wn.banner_mc.createEmptyMovieClip(&amp;quot;ButtonImage&amp;quot;+i, i+10);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineStyle(10,0,40);&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).lineTo(.15,.25); &lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._x = 20+i*20;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i)._y = 15;&lt;br /&gt;
		eval(&amp;quot;ButtonImage&amp;quot;+i).onRelease = function(){&lt;br /&gt;
			trace(&amp;quot;buttonycliksy&amp;quot;);&lt;br /&gt;
			play();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4249</id>
		<title>Actionscript 2 Sandbox</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Actionscript_2_Sandbox&amp;diff=4249"/>
				<updated>2009-06-05T03:20:10Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the readable stuff is at the [[Actionscript]] page, the sandbox is the-messing-around-with-snippets-section.&lt;br /&gt;
&lt;br /&gt;
* http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking/&lt;br /&gt;
* http://www.senocular.com/flash/tutorials/faq/&lt;br /&gt;
* http://senocular.com/&lt;br /&gt;
* http://www.gotoandlearn.com/&lt;br /&gt;
* http://www.kirupa.com/developer/flash/index.htm&lt;br /&gt;
* http://www.actionscript.org/resource...ies/Tutorials/&lt;br /&gt;
* http://www.flashkit.com/movies/&lt;br /&gt;
&lt;br /&gt;
and one math website:&lt;br /&gt;
http://library.thinkquest.org/20991/home.html&lt;br /&gt;
&lt;br /&gt;
== ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Skinning Components ==&lt;br /&gt;
&lt;br /&gt;
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00002480.html&lt;br /&gt;
&lt;br /&gt;
== ASO ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ASO files exist in an aso subdirectory of the Classes folder within your LocalData directory (as see in your global classpath list by default - not the one in the Flash install directory). What these files are, are &amp;quot;caches&amp;quot; of your class files. Being the slick application Flash is, to improve performance in publishing your movies, it creates temporary pre-compiled versions of your external classes every time you test or publish your movie. Then, the next time you test or publish, it can reuse those pre-compiled aso versions without having to recompile the original .as files (assuming they didn&amp;#039;t change) saving time and allowing for a faster publish.&lt;br /&gt;
&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Adobe says : If you experience problems in which Flash appears to be compiling older versions of a file you have edited, delete the ASO files and then recompile. If you plan to delete ASO files, delete them when Flash is not performing other operations, such as checking syntax or exporting SWFs.&lt;br /&gt;
&lt;br /&gt;
== multiple flash overlay / flashblock glitch ==&lt;br /&gt;
&lt;br /&gt;
extremely strange multiplication of gradient shadow (w/ transparency) over html area between the overlap of two flash overlays.&lt;br /&gt;
&lt;br /&gt;
SOLUTION: INCREASE AREA OF WHITE BACKGROUND ON LOWER FLASH FILE SO NO GAP&lt;br /&gt;
&lt;br /&gt;
== visibility ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;	personal_dd._visible = false;&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
&lt;br /&gt;
personal.onRollOver = function() {&lt;br /&gt;
	personal_dd._visible = true;	&lt;br /&gt;
	business_dd._visible = false;&lt;br /&gt;
	aboutus_dd._visible = false;&lt;br /&gt;
	mediacentre_dd._visible = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SOLUTION FOR DROPDOWN MENUS&lt;br /&gt;
&lt;br /&gt;
ACTUALLY THERE&amp;quot;S ALSO _enabled which is better&lt;br /&gt;
&lt;br /&gt;
use discretion i suppose&lt;br /&gt;
&lt;br /&gt;
== level0 vs root ==&lt;br /&gt;
&lt;br /&gt;
http://forum.oxylusflash.com/sliding-list/324-scroll-when-loaded-into-parent-swf.html&lt;br /&gt;
&lt;br /&gt;
http://kb2.adobe.com/cps/146/tn_14686.html&lt;br /&gt;
&lt;br /&gt;
When a SWF file is loaded into the Flash player, it&amp;#039;s main timeline is loaded into level 0. In this movie and this movie only will _root and _level0 reference the same timeline. Additional SWF files can be loaded into additional levels using loadMovie or loadMovieNum. References of _root in those files then reference the level in which that SWF referencing _root was loaded. For example, if a SWF is loaded into level 2, a reference to _root in that SWF will reference the same timeline that _level2 references, but will not reference the same timeline as _level0. A reference to _root will only equal _level0 in the SWF that was first loaded into the player (level 0).&lt;br /&gt;
&lt;br /&gt;
If you are using loadMovie to load SWF files into movie clips instead of levels, _root in those movie clips will still reference the main timeline of the level, not the main timeline of the SWF that was loaded into the player. If you want _root to reference the main timeline of that SWF, you will want to use _lockroot.&lt;br /&gt;
&lt;br /&gt;
== onRelease vs onMouseDown ==&lt;br /&gt;
&lt;br /&gt;
onMouseDown doesn&amp;#039;t matter what the mc is. the whole file is a fucking button. use onRelease for MCs............&lt;br /&gt;
&lt;br /&gt;
== ALIGNMENT IS QUITE IMPORTANT ==&lt;br /&gt;
&lt;br /&gt;
SO USE THE DAMN ALIGN PANEL MORE&lt;br /&gt;
think about registration points and dont just move them all.....&lt;br /&gt;
&lt;br /&gt;
== audio button ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Pre&amp;gt;stopAllSounds();&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
because all my sounds were on the stage as events the global volume is the only way to do it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// changes colour of audio button and controls global volume....&lt;br /&gt;
&lt;br /&gt;
var globalVolume:Sound = new Sound();&lt;br /&gt;
var audioState = 1;&lt;br /&gt;
&lt;br /&gt;
Color.prototype.clearRGB = function(){&lt;br /&gt;
     audiospecial.setTransform({ra:100, rb:0,ga:100,gb:0,ba:100,bb:0,aa:100,ab:0});&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOver = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFFFFFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onRollOut = function() {&lt;br /&gt;
	var newColor = new Color(eval(audiospecial));&lt;br /&gt;
	newColor.setRGB(0xFE6AFF);&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
audiospecial.onMouseDown = function() {&lt;br /&gt;
if (audioState == 1){&lt;br /&gt;
audiospecial.gotoAndPlay(&amp;quot;soundoff&amp;quot;);&lt;br /&gt;
globalVolume.setVolume(0);&lt;br /&gt;
audioState = 0;&lt;br /&gt;
} else if (audioState == 0) {&lt;br /&gt;
audiospecial.gotoAndPlay(1);&lt;br /&gt;
globalVolume.setVolume(100);&lt;br /&gt;
audioState = 1;&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
	null&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==failproof mouseover ==&lt;br /&gt;
on the main timeline &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;stop();&lt;br /&gt;
mc1.onRollOver = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;open&amp;quot;);&lt;br /&gt;
};&lt;br /&gt;
mc1.onRollOut = function() {&lt;br /&gt;
	mc1.gotoAndPlay(&amp;quot;close&amp;quot;);&lt;br /&gt;
};&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
on mc1 - &lt;br /&gt;
* put a stop on frame 1&lt;br /&gt;
* frame 2 name it as open&lt;br /&gt;
*frame 10 (or whatever) name it as close&lt;br /&gt;
&lt;br /&gt;
== swapdepths ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mc.swapDepths(&amp;quot;1000&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or each time you can up the depth using variable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;on (press, release, dragOver, dragOut) {&lt;br /&gt;
_root.x +=5;&lt;br /&gt;
mc.swapDepths(_root.x);&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loadmovie ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;loadMovie(&amp;quot;somecontent.jpg/gif/swf/png&amp;quot;, &amp;quot;_root.container&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 2.0 ==&lt;br /&gt;
&lt;br /&gt;
BOOLEAN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    var rollOverFish:Boolean = false&lt;br /&gt;
&lt;br /&gt;
    fish.onRollOver = function() {&lt;br /&gt;
       if (rollOverFish == false) {&lt;br /&gt;
          //Some Action&lt;br /&gt;
          rollOverFish = true;&lt;br /&gt;
       } else {&lt;br /&gt;
          null;&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OTHERS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;filename.as&amp;quot;          // includes the .as file at runtime (must be in same folder as .fla)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /*  CONDITIONALS  */&lt;br /&gt;
&lt;br /&gt;
var message = &amp;quot;yellow&amp;quot;;                         // the equal sign assigns values to variables&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);            // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {                      // the double equal sign checks to see if variables are equal&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);     // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
trace (typeof message);                         // prints &amp;quot;string&amp;quot;&lt;br /&gt;
var x = a;                                      // prints &amp;quot;number&amp;quot;&lt;br /&gt;
trace (typeof a)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var x = 1;&lt;br /&gt;
while (x &amp;lt;= 5) {                // as long as x is less than 5...&lt;br /&gt;
trace (x);                      // return 1 in output&lt;br /&gt;
x = x + 1;                      // return 2 3 4 5 in output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* BUTTONS IN A QUIZ */&lt;br /&gt;
&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}                                         //    you could even do something like&lt;br /&gt;
                                          //    if ( 3 &amp;lt; 300 ) { do something }&lt;br /&gt;
                                          //    if ( &amp;quot;a&amp;quot; &amp;lt; &amp;quot;z&amp;quot; ) { do something }&lt;br /&gt;
                                          //&lt;br /&gt;
     &lt;br /&gt;
&lt;br /&gt;
        /* FUNCTIONS IN DIFFERENT LAYERS/SCENES */&lt;br /&gt;
&lt;br /&gt;
function T1over() {                             // this code is placed on main stage&lt;br /&gt;
        _root.one_mc.gotoAndStop(2);            // but refers to a one_mc on the stage&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;               // this would be same&lt;br /&gt;
&lt;br /&gt;
on (rollOver) {                                 // this placed on one_mc&lt;br /&gt;
        gotoAndStop(2);                         // is the same as above&lt;br /&gt;
        getURL(&amp;#039;javascript:modifyT1();&amp;#039;);       // OPTIONALLY use frame labels instead of frame no.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
        /*  ROTATION  */&lt;br /&gt;
        &lt;br /&gt;
on (rollOver) {&lt;br /&gt;
        this._rotation = + 45;          // Values from 0 to 180 represent clockwise rotation;&lt;br /&gt;
}                                       // values from 0 to -180 represent counterclockwise rotation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* LOADING IMAGES IN */&lt;br /&gt;
        &lt;br /&gt;
this.createEmptyMovieClip(&amp;quot;image_mc&amp;quot;, 1);       // to create a dynamically created mc&lt;br /&gt;
image_mc.loadMovie(&amp;quot;giraffe.jpg&amp;quot;);              // mc loads an image&lt;br /&gt;
&lt;br /&gt;
image_mc.removeMovieClip();                     // to remove the dynamically created mc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* CREATING TEXT FIELDS */&lt;br /&gt;
        &lt;br /&gt;
var score = 99;&lt;br /&gt;
this.createTextField(&amp;quot;score_txt&amp;quot;, 1, 150, 200, 200, 20);&lt;br /&gt;
score_txt.text = &amp;quot;  &amp;quot;+score+&amp;quot; points&amp;quot;;  // prints 99 points in score_txt field&lt;br /&gt;
score_txt.textColor = 0xFF0000;                        // text color is red&lt;br /&gt;
&lt;br /&gt;
                                // myMovieClip.createTextField (instanceName,depth,x,y,width,height)&lt;br /&gt;
                                //        instanceName  A string that identifies the instance name of the new text field.&lt;br /&gt;
                                //        x An integer that specifies the x coordinate of the new text field.&lt;br /&gt;
                                //        y An integer that specifies the y coordinate of the new text field.&lt;br /&gt;
                                &lt;br /&gt;
myFormat.underline  = true;&lt;br /&gt;
myFormat.Color = 0xFF0000;                  // alternatively, score_txt.textColor also works&lt;br /&gt;
myFormat.bold = true;&lt;br /&gt;
myFormat.size = 16;&lt;br /&gt;
myFormat.font = &amp;quot;Georgia&amp;quot;;                  // if you choose to set a font, make sure you include dummy field offstage&lt;br /&gt;
                                            // which uses your font, has font embedding turned on (character)&lt;br /&gt;
                                            // and if you use bold/italic/regular variation you must include each type&lt;br /&gt;
                                            &lt;br /&gt;
score_txt.setTextFormat(myFormat);          // applies format to all of score_txt&lt;br /&gt;
score_txt.setTextFormat(12, 27, myFormat);  // applies format to only the 12-27th character in score_txt. HARDCORE....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this.createTextField(&amp;quot;more_txt&amp;quot;, 1, 180, 250, 200, 20);&lt;br /&gt;
more_txt.html = true;                                           // creating a dynamic (highlightable) txtfield&lt;br /&gt;
more_txt.htmlText = &amp;quot;look its a&lt;br /&gt;
&amp;lt;font color=&amp;#039;#00ccff&amp;#039;&amp;gt;&amp;lt;u&amp;gt;                                       // you will have to format it all in html&lt;br /&gt;
&amp;lt;a href=&amp;#039;http://www.sg&amp;#039;&amp;gt;link&amp;lt;/a&amp;gt;&lt;br /&gt;
&amp;lt;/u&amp;gt;&amp;lt;/font&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
        /* LEARNING HOW TO DRAW */&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(1, 0x000000, 50);                        // line-thickness, colour, opacity&lt;br /&gt;
_root.moveTo(50, 100);                                                // cross hatch drawing&lt;br /&gt;
_root.lineTo(200, 100);                                                // first number is the horizontal value&lt;br /&gt;
_root.moveTo(50, 150);                                                // second number is the vertical value&lt;br /&gt;
_root.lineTo(200, 150);&lt;br /&gt;
_root.moveTo(150, 50);&lt;br /&gt;
_root.lineTo(150, 200);&lt;br /&gt;
_root.moveTo(100, 50);&lt;br /&gt;
_root.lineTo(100, 200);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(5, 0x000000, 20);                        // drawing a square&lt;br /&gt;
_root.moveTo(50, 50);&lt;br /&gt;
_root.lineTo(200, 50);&lt;br /&gt;
_root.lineTo(200, 200);&lt;br /&gt;
_root.lineTo(50, 200);&lt;br /&gt;
_root.lineTo(50, 50);&lt;br /&gt;
&lt;br /&gt;
_root.lineStyle(10, 0x000000, 100);           // drawing a deformed circley thing with a fill.&lt;br /&gt;
                                              // note: to have no border, omit linestyle&lt;br /&gt;
_root.moveTo(125, 50);                        // move starting point from 0,0 to elsewhere&lt;br /&gt;
_root.beginFill(0x888888, 50);                // add a fill of 50% opacity. can&lt;br /&gt;
_root.curveTo(200,50, 200,125);               // _root.curveTo(controlX, controlY, anchorX, anchorY);&lt;br /&gt;
_root.curveTo(200,200, 125,200);&lt;br /&gt;
_root.curveTo(50,200, 50,125);&lt;br /&gt;
_root.curveTo(50,50, 125,50);&lt;br /&gt;
_root.endFill&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* drawing program */&lt;br /&gt;
&lt;br /&gt;
_root.createEmptyMovieClip(&amp;quot;line&amp;quot;,1);&lt;br /&gt;
&lt;br /&gt;
_root.onMouseDown = function() {&lt;br /&gt;
line.moveTo(_xmouse,_ymouse);&lt;br /&gt;
line.lineStyle(1,0x000000,100);&lt;br /&gt;
&lt;br /&gt;
this.onMouseMove = function() {&lt;br /&gt;
line.lineTo(_xmouse,_ymouse);&lt;br /&gt;
updateAfterEvent();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        /* Loading external swfs */&lt;br /&gt;
&lt;br /&gt;
stop();                                         // place this on the frame where you want to stop &lt;br /&gt;
container_mc.loadMovie(&amp;#039;filename.swf&amp;#039;);         // create blank container_mc at 0,0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          /* DRAWING A GRID WITH AS  */&lt;br /&gt;
&lt;br /&gt;
stop();&lt;br /&gt;
var cols:Number = 50;&lt;br /&gt;
var rows:Number = 50;&lt;br /&gt;
var w:Number = stage.stageWidth/cols;&lt;br /&gt;
var h:Number = stage.stageHeight/rows;&lt;br /&gt;
var points:Array = Points.createPoints(rows, cols, w, h);&lt;br /&gt;
&lt;br /&gt;
//drawing rows&lt;br /&gt;
for (var i:Number=0; i&amp;lt;rows+1; i++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(0, points[i*(cols-1)].y-1);&lt;br /&gt;
	graphics.lineTo(points[cols-1].x+w, points[i*(cols-1)].y-1);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// drawing cols&lt;br /&gt;
for (var j:Number=0; j&amp;lt;cols; j++) {&lt;br /&gt;
	graphics.lineStyle(1, 0xEEEEEE);&lt;br /&gt;
	graphics.moveTo(points[j].x-1, 0);&lt;br /&gt;
	graphics.lineTo(points[j].x-1, points[points.length-1].y+h);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ACTIONSCRIPT 3.0 ==&lt;br /&gt;
&lt;br /&gt;
actionscript object-oriented programming (OOP)&lt;br /&gt;
&lt;br /&gt;
*Structure: main class (starts the program) &amp;gt; classes (blueprint which describes characteristic and behaviour of the object) &amp;gt; objects (interoperating instances of classes in the program)&lt;br /&gt;
&lt;br /&gt;
*store your flas and swfs in one directory (eg: /hulkdash/ ) &lt;br /&gt;
*store the actionscript source files in /hulkdash/src/&lt;br /&gt;
*main class code should be in the file hulkdash.as (filename matches class name)&lt;br /&gt;
*use packages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
actionscript, that infuriatingly intractable marshmellow fluff...&lt;br /&gt;
so far i have only understood the most basic of concepts, but now i will try to learn it well.&lt;br /&gt;
&lt;br /&gt;
*[[Actionscript Sandbox]]&lt;br /&gt;
*[http://moock.org/lectures/groundUpAS3/ Moock&amp;#039;s Actionscript 3.0 from the Ground Up]&lt;br /&gt;
&lt;br /&gt;
*http://www.kirupa.com/developer/actionscript/spring.htm&lt;br /&gt;
*http://www.bit-101.com/tutorials/elasticity.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== alpha ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// set movie clip&amp;#039;s alpha (transparency) to 50% immediately&lt;br /&gt;
myMC._alpha = 50%&lt;br /&gt;
&lt;br /&gt;
// set up alphacounter, if alphacounter is undefined then it sets it to 99. otherwise alphacounter is to decrease to 0 and delete itself.&lt;br /&gt;
myMC.onEnterFrame = function (){&lt;br /&gt;
this.alphaCount = (this.alphaCount == undefined) ? 99 : --this.alphaCount;&lt;br /&gt;
this._alpha = this.alphaCount;&lt;br /&gt;
	if (this._alpha &amp;lt;= 0) {&lt;br /&gt;
	delete this.onEnterFrame;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// change it to ++ to make it go up&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Codehinting ==&lt;br /&gt;
&lt;br /&gt;
to keep with good practice you should keep to these common suffixes so that any programmer can read your code easily without finding it utterly incomprehensible.&lt;br /&gt;
&lt;br /&gt;
variables:&lt;br /&gt;
*must start with letters, underscore or dollarsign.&lt;br /&gt;
*no hyphens or other punctuation besides the underscore.&lt;br /&gt;
*cannot start with a number.&lt;br /&gt;
*are case-insensitive, but keep it constant or you might get confused&lt;br /&gt;
&lt;br /&gt;
*xxx_str   // means the variable contains a string&lt;br /&gt;
*xxx_arr // means the variable contains an array&lt;br /&gt;
&lt;br /&gt;
*[http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00001151.html More about using suffixes to trigger code hints]&lt;br /&gt;
&lt;br /&gt;
== Conditionals ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;var message = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
trace (&amp;quot;big &amp;quot; + message + &amp;quot; truck&amp;quot;);                // prints &amp;quot;big yellow truck&amp;quot;&lt;br /&gt;
if (message == &amp;quot;yellow&amp;quot;) {&lt;br /&gt;
trace (&amp;quot;yes, i did say big yellow truck.&amp;quot;);        // prints &amp;quot;yes, i did say big yellow truck&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;= assigning value&lt;br /&gt;
== comparing values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== loops ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;this sequence... &amp;lt;pre&amp;gt;trace (101);&lt;br /&gt;
trace (102);&lt;br /&gt;
trace (103);&lt;br /&gt;
trace (104);&lt;br /&gt;
trace (105);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;&lt;br /&gt;
trace (x);&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;is also equal to:&lt;br /&gt;
&amp;lt;pre&amp;gt;var x = 101;&lt;br /&gt;
while (x &amp;lt;= 105) {     // as long as x is less than 105...&lt;br /&gt;
trace (x);&lt;br /&gt;
x = x + 1;           // ...continue to trace x but add one each time&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td valign=top&amp;gt;they all print:&lt;br /&gt;
&amp;lt;pre&amp;gt;101&lt;br /&gt;
102&lt;br /&gt;
103&lt;br /&gt;
104&lt;br /&gt;
105&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== functions ==&lt;br /&gt;
&lt;br /&gt;
sample:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function area(height, width){&lt;br /&gt;
return height * width;&lt;br /&gt;
}&lt;br /&gt;
area1 = area(10,15);&lt;br /&gt;
area2 = area(10,20);&lt;br /&gt;
area3 = area(10,20);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== event based execution ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;someObject.onSomeEvent = someFunction;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;skaGirl.onRelease = dirtyskanking;            // the object named skaGirl will dirtyskank when mouse is released&lt;br /&gt;
&lt;br /&gt;
function dirtyskanking () {&lt;br /&gt;
this._parent._rotation = 360;                     // defines the rotation of the dirtyskanking.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== sample ==&lt;br /&gt;
&lt;br /&gt;
=== quiz ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button1.onRelease = function () {         // on pressing button 1&lt;br /&gt;
this._parent.q1answer = 1;                // assigning 1 to q1 answer&lt;br /&gt;
this._parent.gotoAndStop(&amp;quot;q2&amp;quot;)            // after which we go to frame labelled as q2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
if (q1answer == 3) {                      //  if answer was right&lt;br /&gt;
  totalCorrect = totalCorrect++;          //  increase number of total correct qns by one&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== confused about root, this, and parent? so am i! ==&lt;br /&gt;
&lt;br /&gt;
this piece of code would work ON a frame on the main stage, one_mc being an object onnit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;function T1over() {&lt;br /&gt;
	_root.one_mc.gotoAndStop(2);&lt;br /&gt;
	getURL(&amp;#039;javascript:modifyT1();&amp;#039;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
_root.one_mc.onRollOver = T1over;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== actionscript and javascript ==&lt;br /&gt;
&lt;br /&gt;
*[http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683 flash to/from javascript call]&lt;br /&gt;
*[http://board.flashkit.com/board/archive/index.php/t-578023.html halp i am so confused]&lt;br /&gt;
&lt;br /&gt;
== tips ==&lt;br /&gt;
&lt;br /&gt;
* use frame labels rather than frame numbers. you could call a starting frame &amp;quot;init&amp;quot;.&lt;br /&gt;
* dont use too many functions&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[http://livedocs.adobe.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;amp;file=00000642.html preloader]&lt;br /&gt;
*[http://www.sephiroth.it/python/sepy.php SEPY actionscript editor]&lt;br /&gt;
*[http://www.mtasc.org/ Motion-Twin ActionScript 2 Open Source free compiler.]&lt;br /&gt;
*[http://code.google.com/p/swfobject/ SWFobject]&lt;br /&gt;
*[http://hosted.zeh.com.br/mctween/index.html MC Tween - Best way to tween]&lt;br /&gt;
*[http://code.google.com/p/tweener/ Tweener - New way to tween]&lt;br /&gt;
&lt;br /&gt;
*[http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries actionscript apis (youtube, odeo)]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	<entry>
		<id>http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4248</id>
		<title>Inspiration</title>
		<link rel="alternate" type="text/html" href="http://dbbd.sg/wiki/index.php?title=Inspiration&amp;diff=4248"/>
				<updated>2009-06-04T09:21:50Z</updated>
		
		<summary type="html">&lt;p&gt;116.12.248.162: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TO DO ==&lt;br /&gt;
* http://www.povray.org/ - downoad and learn&lt;br /&gt;
* http://www.graniph.com/award09/regulation/en.html - make a design for graniph&lt;br /&gt;
* http://en.wikipedia.org/wiki/Blender_(software)&lt;br /&gt;
== IDEAS ==&lt;br /&gt;
http://www.jca-online.com/serra.html&lt;br /&gt;
http://thecurbcrawlers.com/blog/2008/12/31/best-singles-of-2008/&lt;br /&gt;
http://www.mediaflex.com.au/&lt;br /&gt;
&lt;br /&gt;
http://stellify.net/adobe-cs3-program-icons-alphabet-soup-on-a-color-wheel-and-what-they-mean/&lt;br /&gt;
wheeloficons&lt;br /&gt;
http://en.wikipedia.org/wiki/Alphonse_Mucha&lt;br /&gt;
&lt;br /&gt;
http://www.urban-love.co.uk/mix/download.php?file=DJElski42tfMixsCDPart6NewSkoolUKG100209.mp3&lt;br /&gt;
http://www.myfavoritething.it/blog/2009/3/10/squarespace.html&lt;br /&gt;
&lt;br /&gt;
http://web.archive.org/web/20010411101136/http://www.ericharshbarger.org/cgi-bin/j?pixelego/index.html&lt;br /&gt;
http://boxstr.com/files/5108917_jbukv/Hooverphonic%20-%202wicky.mp3&lt;br /&gt;
mr string flashhh&lt;br /&gt;
http://www.mrstrings.co.uk/&lt;br /&gt;
&lt;br /&gt;
* http://www.webdesignerdepot.com/&lt;br /&gt;
* http://www.thebestdesigns.com/&lt;br /&gt;
* http://mediaplayer.yahoo.com/ media player from yahoo lets you embed stuff&lt;br /&gt;
* http://gothere.sg/directions#329776:598586&lt;br /&gt;
&lt;br /&gt;
Hide money: Grab a few pennies, and stuff them in places only little kids look.&lt;br /&gt;
bx ideas:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://lawrence.com/&lt;br /&gt;
*http://imgiseverything.co.uk/&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
good design:&amp;lt;br&amp;gt;&lt;br /&gt;
*http://www.nytimes.com/&lt;br /&gt;
*http://www.subtraction.com/&lt;br /&gt;
*http://www.uxmag.com/&lt;br /&gt;
*http://bopia.com/&lt;br /&gt;
&lt;br /&gt;
*http://www.tnvacation.com/&lt;br /&gt;
*http://www.madeinmtl.com/main.php?langval=2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
*http://gezfry.com/gallery.shtml&lt;br /&gt;
*http://www.stinapersson.com/&lt;br /&gt;
*http://www.cabanonpress.com/News/newsshed.htm&lt;br /&gt;
*http://www.wonderhowto.com&lt;br /&gt;
*http://tumblingblocks.net/blog/index.cfm/2008/9/22/Honeycomb-Smocking-Tutorial&lt;br /&gt;
&lt;br /&gt;
kinetic art&lt;br /&gt;
*http://www.eddiesmind.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*https://www.serebraconnect.com&lt;br /&gt;
*http://blogthememachine.com/40-must-have-grunge-fonts-from-dafont/&lt;br /&gt;
*http://www.smashingmagazine.com/2007/11/08/40-excellent-freefonts-for-professional-design/&lt;br /&gt;
*http://www.conceptpersonnel.co.uk/?gclid=CN61joCwi5YCFQ5NQwodkzi8FQ&lt;br /&gt;
*http://www.workcircle.com/?ad=google&amp;amp;keywords=Jobs%20Graphic%20Design&amp;amp;adtype=Content&amp;amp;creative=1393686391&amp;amp;googlekeywords=Graphic%20Design&amp;amp;gclid=COz7yoGwi5YCFQ1UQgodl0bLFQ&lt;br /&gt;
&lt;br /&gt;
*[http://www.craftster.org/forum/index.php?topic=269471.0 EYEBALL COSTUME]&lt;br /&gt;
*[http://www.videotage.org.hk/ NICE CHINESE CHARACTER FORMAT]&lt;br /&gt;
&lt;br /&gt;
You are not unique.&lt;br /&gt;
But you are alone.&lt;br /&gt;
&lt;br /&gt;
http://mcmlxxxi.wordpress.com/&lt;/div&gt;</summary>
		<author><name>116.12.248.162</name></author>	</entry>

	</feed>