Results 1 to 4 of 4

Thread: using functions to pass information

  1. #1
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default using functions to pass information

    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.
    Last edited by evan; 12-10-2008 at 04:01 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

  3. The Following User Says Thank You to Snookerman For This Useful Post:

    evan (12-10-2008)

  4. #3
    Join Date
    Jan 2008
    Location
    Near Chicago
    Posts
    247
    Thanks
    105
    Thanked 2 Times in 2 Posts

    Default

    Thank you man!

  5. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome and good luck!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •