Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2004, 01:11 PM
Junior Member
 
Join Date: Mar 2004
Posts: 6
Default processMsg

Hi Everybody...

can anyone explain me the use of processMsg pls?

Thanks a lot!

Kat
Reply With Quote
  #2 (permalink)  
Old 04-02-2004, 03:29 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:processMsg

Hi,

SWFKit doesn't support threads, but you can use the processMsg method to aviod blocking.

For example, the
Code:
while (1)
{
  trace("something");
}
will block your app, but the
Code:
while (1)
{
  if (!processMsg()) break;
  trace("something");
}
won't.

The false return of the method indicates that the close button of the app has been clicked.
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:58 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.