Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2003, 12:09 AM
Junior Member
 
Join Date: Feb 2003
Posts: 9
Default F6 does NOT work!

in flashplayer, key of F6 is right,
but in swfkit, it does not work, why?
Reply With Quote
  #2 (permalink)  
Old 02-17-2003, 10:30 PM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re: F6 does NOT work!


what's F6 do?

???
Reply With Quote
  #3 (permalink)  
Old 02-18-2003, 12:49 AM
Junior Member
 
Join Date: Feb 2003
Posts: 9
Default Re: F6 does NOT work!

in my swf file, press F5 F6 F7 F8 to load other four swf files, F5 F7 F8 is all right, but F6 can not! why?

what does F6 use in swfkit?
Reply With Quote
  #4 (permalink)  
Old 02-19-2003, 05:42 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re: F6 does NOT work!

would you please send your .skp and .fla files to me,then it will be clear to me: support@swfkit.com
Reply With Quote
  #5 (permalink)  
Old 02-20-2003, 01:54 AM
Junior Member
 
Join Date: Feb 2003
Posts: 9
Default Re: F6 does NOT work!

i'm sorry! i built one demo to test, and it's all right!!!

and my files are so complex. so i think i can find out.
thank you!
Reply With Quote
  #6 (permalink)  
Old 06-22-2007, 05:43 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re:F6 does NOT work!

do you find the F6 solution. ???
Reply With Quote
  #7 (permalink)  
Old 06-23-2007, 07:51 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:F6 does NOT work!

Both F6 and F10 cannot be handled in actionscript when a swf movie has been converted to EXE by using swfkit. F10 is reserved by system and actionscript cannot handle it. F6 will be converted to a command by swfkit, so that actionscript cannot handle it in a swfkit EXE.

To handle these keys in swfkit, please use the following ffish script code
Code:
FlashPlayer.window.onMessage = function (msg, wparam, lparam) {
if (msg == /*WM_CHAR*/0x0102) {
var ch = String.fromCharCode(wparam);
trace(ch);

} else if (msg == /*WM_KEYDOWN*/0x100) {
var key = wparam;
trace(key);

} else if (msg == /*WM_SYSKEYDOWN*/0x104) {

/*
* F10 is reserved by system. You can only get it by handling the WM_SYSKEYDOWN message
*/
var key = wparam;
trace(key);
if (key == 0x79/*F10*/) {
Dialogs.msgBox("F10");
}
} else if (msg == /*WM_COMMAND*/0x0111) {
/*
 * The F6 key press will be converted to a WM_COAMMND message, and the wparam will be 123216
 */
if (wparam == 123216 && lparam == 0) {
Dialogs.msgBox("F6");
}
}
}
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:24 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.