1 Reply Latest reply on May 16, 2006 2:45 AM by blemmo

    storing a call to a function

    kevek
      What's the syntax to store a call to a function in a variable when different levels are involved? I'm trying to get some buttons in _level1 to tell _level0 which function on _level6 should be called after _level0 has loaded in content. Does that make sense?

        • 1. Re: storing a call to a function
          blemmo Level 1
          Doesn't really make sense for me... First, when you load something in _level0, it will replace all content in the player, so there are no buttons or variables anymore, except those loaded in _level0.
          Second, I don't see the use of a variable storing a function reference. Wouldn't it be better to call the function itself? Plus, how you gonna call the function?

          Please explain in more detail what you want to achieve.

          greets,
          blemmo