Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2009, 06:07 PM
Junior Member
 
Join Date: Aug 2006
Location: Germany
Posts: 28
Send a message via MSN to snakemedia Send a message via Yahoo to snakemedia
Default Howto Exit, MaxiMize, MiniMize and Restore functions on SWFKit 3.5 and FlexBuilder 3.

Hello Guys,

I have been tried that problem with fscommands because fscommand can not work on AS3.

New version was changed into ExternalInterface:
Because i want to customchrome non-borderabled application with swfkit 3.5?

How do i exit application?

How do i minimize application?

How do i restore or maximize application?

I do not understand becasue i used old version of Flash 8 it works finally. But It can not work under AS3?
I need sample applications

But i am using with Flex Builder 3.x AS 3 and SWfKit 3.5. Thanks

Thanks for replies...
Best regards, SnakeMedia
Reply With Quote
  #2 (permalink)  
Old 08-09-2009, 07:04 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

It's all about the main window. To get the main window, you can
Code:
var mw = Global.getMainWnd();
To exit
Code:
mw.close();
To minimize
Code:
mw.windowState = 'minimized';
, etc
Reply With Quote
  #3 (permalink)  
Old 08-10-2009, 01:12 PM
Junior Member
 
Join Date: Aug 2006
Location: Germany
Posts: 28
Send a message via MSN to snakemedia Send a message via Yahoo to snakemedia
Smile

Hi @SWFKit

Thank you. I found that example from our forum. Why do i need with fishscript while function will to work with as3 into fishscript.
Quote:
Originally Posted by SWFKit View Post
In Flash
Code:
on (release)
{
    fscommand("FFish_Run", "minimize");
}
In SWFKit, "minimize" script
Code:
getMainWnd().windowState = "minimized";
from Url: minimize a window

I have been changed to:
Flex 3 AS3 Cods:
Code:
private function MiniApp():void
{
	fscommand("FFish_Run", "minimize");
}
I have been tried. It works fine like new swf2exe.... Good job! But fscommand works sometimes okay. Why do i use important function only externalinterface with as3? OK!

Thank you replies...

Regards, SnakeMedia

Last edited by snakemedia; 08-10-2009 at 11:19 PM.
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:10 PM.


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.