Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2007, 03:57 PM
Junior Member
 
Join Date: Jul 2003
Posts: 29
Default Form Object and Keypress issues

Hi guys,

I have two issues this time:

1. When I open a Form Object window, the user has to make an extra click in that window to make it focused. Is there a way to make this window's content focused onLoad?
2. What is the best way to control/manage the user's keyboard pressing? I have an ActiveX window over the main movie and I want to be able to catch the users' keyboard and pass whatever I want to that ActiveX. So this ActiveX is blocked to keyboard until I say it isn't.

Thanks again for your support,

Ariel
Reply With Quote
  #2 (permalink)  
Old 10-24-2007, 12:26 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Form Object and Keypress issues

1) The form window should have been set focus when it is loaded. Please use the "Selection.setFocus" method to set focus to one of your components in your form movie.

2) You can disable the activex control. For instance
Code:
var ax = createControl("MSCAL.Calendar.7", 0, 0, 400, 400);

ax.window.enable = false;
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.