Could I get an example of an "if else" or "switch case" example in action script which would chage states when an event is fired.
This would be kind of like selecting an option button from a test or having choices where every property selected would
have a different event take place.
Search the docs for "Conditionals", and you will get lots of examples for both.
Retrieving data ...