Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-07-2003, 09:25 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default [Tip]How to avoid blocking

Just insert a line into the script loop.

while (...)
{
some code...
if (!processMsg()) return;
}


Here is a demo. The demo reads data from a mdb database and writes to a text file. A progress bar in the demo shows the progress of the reading and writing.

http://www.swfkit.com/download/demo/noblock.zip
Reply With Quote
  #2 (permalink)  
Old 02-07-2003, 10:17 AM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re: [Tip]How to avoid blocking

Yes˛

Sorry, i made a possible missunderstanding with the fonction description (my english is not so good after all).
it seems that this fn make a kind of stop (and refresh) to let something happend.

i tested the project without the /if (!processMsg())/, and the bar just do nothing.

that was that !!

Tks again....Vary, Vary good product.
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
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 03:33 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.