HZRN.COM
welcome to my space
X
Search:  
Welcome to:hzrn.com
NAVIGATION - HOME
About FireEvent
Published by: jane 2009-01-09

  • In function AAA

    AAA = function(){
    this.addEvents('event');
    }
    Ext.extend(AAA,Ext.util.Observable,{
    ....
    this.fireEvent('event',parameter);
    ....
    })

    in function BBB

    function BBB {
    var aaa = new AAA();
    aaa.on('event',function(parameter){
    ...})
    Director General of Dubai Civil Defence to talk at fire event ::
    Director of the Dubai Civil Defence will be attending Liquid Plastics' Don't Get Your Fingers Burnt event to give an opening address.
    http://www.arabianbusiness.com/539005-director-general-of-dubai-civil-defence-to-talk-at-fire-event
    HOME
    }


    I have a problem with this code. Function AAA fireEvent , but Function BBB didn't catch and process event "event".
    I don't know why? I need your help. Thanks


  • Post your actual code.


  • Your code is correct (although it would be better if you called the superclass constructor):
    AAA = function(config){
    this.addEvents('event');
    AAA.superclass.constructor.call(this, config);
    }
    Ext.extend(AAA, Ext.util.Observable, {
    test: function(parameter){
    this.fireEvent('event', parameter);
    }
    });
    var aaa = new AAA();
    aaa.on('event', function(parameter){
    alert(parameter);
    });
    aaa.test('Hello');





  • Microsoft Unleashes Visual Studio .NET
    IBM's iPhrase Buy Adds to WebSphere

    You are looking at:hzrn.com's About FireEvent, click hzrn.com to home
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about About FireEvent , Please add it free.
  • remove security alert icon from sys tray
  • need to learn about tv tuner card
  • tut 24x7 online dynamic ip users wo logging in manually
  • utorrent easter egg
  • software engineering pressman 3rd edition
  • installing frostwire on open suse x86 64
  • need to learn about tv tuner card
  • make your own run commands
  • boost your torrent download speed
  • how to have a super cool pc without spending big bucks
  • how to assemble a pc
  • software engineering pressman 3rd edition
  • sata disk configuration enable advanced performance
  • remove security alert icon from sys tray
  • installing frostwire on open suse x86 64
  • boost your torrent download speed
  • create an invisible folder
  • create a fake virus
  • error error msascui exe unable to locate component
  • sata disk configuration enable advanced performance
  • error error msascui exe unable to locate component
  • how to have a super cool pc without spending big bucks
  • utorrent easter egg
  • create a fake virus
  • make your own run commands
  • how to assemble a pc
  • create an invisible folder
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hzrn.com        Site made:CFZ