The fastest easiest way to get it right.

fireEvent

NAME

x6events.fireEvent

FUNCTION

The Javascript method x6events.fireEvent will notify all objects that have subscribed to an event. Each subscribing object must have a either:


  • a method named receiveEvents(eventName,args)
  • a method named receiveEvent_{EventName}(args)

If you want your application objects to notify other objects of its own events, call this function.

INPUTS


  • eventName, the name of the event
  • mixed, a single argument. If multiple arguments are required, pass an object that contains property:value assignments or an array. The only requirement for the argument is that the listeners know what to expect.

    RESULTS

    no return value.

    User Comments

    There are no user comments yet on this page.


    Add A Comment

    Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

    Name or nickname: (This will appear with your comment)


    Email (this will never be displayed)


    Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


  • Home |  Documentation |  Download |  Credits |  Contact |  Login
    Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2