Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2007, 02:30 PM
Junior Member
 
Join Date: Oct 2007
Posts: 2
Default Resizable Problem

For my application I use the border style "single". Should not be resized.

My application also has a fullscreen-switch which calls FSCommand("fullscreen", "true" / "false");

It all works fine until I switch back from fullscreen back to windowed.

The window is resizable again and has changed it's size slightly.

I tried to get the "old" border back with
Application.Appearance.borderStyle = $BSSINGLE;
being called just after the FSCommand("fullscreen", "false") command.
but then the application just dissapears!

What can I do to get just the window back I started with after switching from fullscreen back to windowed mode?
Reply With Quote
  #2 (permalink)  
Old 10-23-2007, 02:41 PM
Junior Member
 
Join Date: Oct 2007
Posts: 2
Default Re: Resizable Problem

With some experimenting, I found a solution which works:

Code:
Application.Appearance.borderStyle = $BSSINGLE;
Application.Appearance.borderStyle = $BSSINGLE;

Application.Appearance.windowShape = $WSRECTANGLE;
Application.Appearance.windowShape = $WSRECTANGLE;

Application.SizeAndPos.windowSize = $SSDEFAULT;
Application.SizeAndPos.windowSize = $SSDEFAULT;
This actually does it. When I put "borderStyle" at the end, the application dissapears...
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:36 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.