Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2007, 11:09 AM
Member
 
Join Date: May 2007
Posts: 53
Default Bug with window redrawing

I use transparent mode. When i move my app to a border of screen so the half of the window is hidden, then some changes in the window are performed (content, size etc), and then i move the window to the center of a screen - the hidden part of my window is not redrawn.
I use such a solution:
Code:
obj.onDragStop = function() {
_root.clear();
_root.beginFill(0, 0);
_root.lineTo(SW, 0);
_root.lineTo(SW, SH);
_root.lineTo(0, SH);
_root.lineTo(0, 0);
};
But, maybe, there is a better way to redraw the window? SWFKit code "getMainWnd().update();" cause no effect.
__________________
#define true false //happy debugging, friends
Reply With Quote
  #2 (permalink)  
Old 06-27-2007, 03:46 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Bug with window redrawing

Could you please send us a sample? We have build a sample by using your code; however, we cannot make the problem recur in it.
Reply With Quote
  #3 (permalink)  
Old 07-04-2007, 09:53 AM
Member
 
Join Date: May 2007
Posts: 53
Default Re:Bug with window redrawing

sry. i was busy.
here is a sample: http://www.100mbit.ru/_tmp/test.rar
__________________
#define true false //happy debugging, friends
Reply With Quote
  #4 (permalink)  
Old 07-04-2007, 10:10 AM
Member
 
Join Date: May 2007
Posts: 53
Default Re:Bug with window redrawing

i forgot to say, after the app inited, drag it to the center of the screen.
__________________
#define true false //happy debugging, friends
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 04:22 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.