Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2009, 01:18 PM
Junior Member
 
Join Date: Oct 2009
Posts: 2
Default Automatic "Escape Key"

Hello All,

I am experimenting with an installer and I am using a SWFKit made executable as a
splash screen. I have it set up so you can use the Esc key to exit the splash screen.

Here is my question:

How can I set it up so the splash screen exits automatically after it finishes playing
(the splash is animated). I have found ways to close it, but then the main installer
does not run. If I hit Esc, the installer starts right up, so basically, how do I achieve
the effect of the Esc key automatically at the end of my splash animation?

Any help would be appreciated...

Thank you!
Reply With Quote
  #2 (permalink)  
Old 10-30-2009, 10:22 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default

I believe this is your aim

- you run a swfkit movie
- when it exits, the installer (another executable) starts

I'ld use this

Code:
wnd = getMainWnd();
wnd.onClose = do_close;

function do_close()
{
  // this is triggered when your swfkit movie is closing
  // either by pressing escape or when finished the flash movie (  fscommand("quit")  );

  Shell.run("Installer.exe");

}
Reply With Quote
  #3 (permalink)  
Old 10-30-2009, 01:30 PM
Junior Member
 
Join Date: Oct 2009
Posts: 2
Default

meester,
Thank you for the reply. I will try it first thing this morning and let you know how it goes.
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:07 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.