Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-02-2009, 03:53 PM
Senior Member
 
Join Date: Nov 2007
Posts: 128
Default Question about onMessage

After you receive onMessage, how do you return something to it?

Code:
var BROADCAST_QUERY_DENY = 0x424D5144;
getMainWnd().onMessage = function(msg, wparam) {
       if(msg == 536 && wparam == 0){
             trace("STANDBY REQUEST MADE!");
             return BROADCAST_QUERY_DENY;
       }
}
Reply With Quote
  #2 (permalink)  
Old 01-03-2009, 02:57 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

No, the return in your event handler will be simply ignored. After your event handler, the current version of SWFKit will call the system default message handler. So in the current version, you cannot prevent a message from sending to the system default message handler.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:34 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.