Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2009, 03:05 AM
Junior Member
 
Join Date: Apr 2008
Posts: 29
Default get keyCode problem

an Activex have an event:
OnKeyDown (KeyCode:Integer, shift: Integer)
heres my code in ffishscript:
var obj=new Object();
var obj1=new Object();
obj.value =0;
obj.value =0;
myAct.activex.OnKeyDown=function(obj,obj1){
trace(obj.value);
trace(obj1.value)
};
but can't get keyCode,how can i do that? please help me!!
Reply With Quote
  #2 (permalink)  
Old 06-06-2009, 06:20 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default

Please try directly the obj and obj1. A parameter of an activex event will be converted to an object with a property "value" only if it's also of the "out" type.
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 05:47 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.