Log in

View Full Version : Resolved using functions to pass information



evan
12-09-2008, 08:52 PM
So far I have used functions in this format:

function myFunction(evt:MouseEvent):void{ trace"hello world"}
I use keyboard/mouse/timer events to trigger these with listeners -but I am ready for the next thing:

I want to see some examples where information can be passed from one function to another.

I want to know what else I can do with functions. Any good links to working examples?

I see it done alot and in the abstract I get it -but I haven't done it myself yet. It's important for generating objects or changing objects based on their interraction with other objects.


It's hard to explain which of course is why I want to find out more.

Snookerman
12-09-2008, 08:57 PM
Try this:

http://www.flashdevils.com/tutorials.php?id=1641 (http://www.flashdevils.com/tutorials.php?id=1641)

evan
12-10-2008, 04:02 PM
Thank you man!

Snookerman
12-10-2008, 05:02 PM
You're welcome and good luck!