If i have a form with multiple flash objects, lets say 4, how could I take a keyboard press, and make not only the focused flash object, but the other 3 take the key press as well?
I have googled it a bunch and can't find anything...
11 Replies - 209 Views - Last Post: 05 January 2013 - 10:36 AM
#1
Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:16 PM
Replies To: Sending the same key push to multiple fash objects within a form
#2
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:17 PM
What sort of flash objects?
#3
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:22 PM
#4
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:23 PM
Have you already successfully taken the keyboard press and pushed it to your first flash object? If you can do it to one object, then you can do it to N other objects. If not, then you are much more to accomplish. (It doesn't count if what your are currently doing is merely having the keyboard focus in one object. What has to happen is that it is really you intercepting the keypress, and you are directing it to that object.)
#5
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:31 PM
Skydiver, on 04 January 2013 - 08:23 PM, said:
Have you already successfully taken the keyboard press and pushed it to your first flash object? If you can do it to one object, then you can do it to N other objects. If not, then you are much more to accomplish. (It doesn't count if what your are currently doing is merely having the keyboard focus in one object. What has to happen is that it is really you intercepting the keypress, and you are directing it to that object.)
Maybe i'm not sure what you're implying, but
I can already controll one of the games normally if i want to (with the keyboard) 0 coding. I want to make it where if i'm controlling one, the others get the same controlls.
#6
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:39 PM
What I'm implying is that are you sure you are in full control of the keyboard input being taken in and being directed to the flash object. With your current set up, can you set things up so that if the user presses a key, the flash object won't see the key press until 2 seconds later? Can you set things up so that if the user presses the letter 'A', the flash object sees the exclamation mark being pressed?
#7
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 08:46 PM
Skydiver, on 04 January 2013 - 08:39 PM, said:
What I'm implying is that are you sure you are in full control of the keyboard input being taken in and being directed to the flash object. With your current set up, can you set things up so that if the user presses a key, the flash object won't see the key press until 2 seconds later? Can you set things up so that if the user presses the letter 'A', the flash object sees the exclamation mark being pressed?
I have no code at all. I don't know where to start with this one.
I literally just have 4 shockwave flash game controls on a form. I can click on the the game to "bring it to focus" i guess, then click another and play it, but not all at the same time like I want.
#8
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 10:29 PM
Sounds like someone is trying to scam on a game or four..
#9
Re: Sending the same key push to multiple fash objects within a form
Posted 04 January 2013 - 11:21 PM
#10
Re: Sending the same key push to multiple fash objects within a form
Posted 05 January 2013 - 04:39 AM
Well i don't know if you are trying to scam anything, but i know that if you have no code at all it would be very difficult, that someone gives you the finished code to put to your form.
you have to study c# to understand how it works. then your form has to catch all keyboard keys (it should be not flash to catch them) and then you have your form to send the key to all flash objects...
i would like to start with c# basics...
you have to study c# to understand how it works. then your form has to catch all keyboard keys (it should be not flash to catch them) and then you have your form to send the key to all flash objects...
i would like to start with c# basics...
#11
Re: Sending the same key push to multiple fash objects within a form
Posted 05 January 2013 - 10:25 AM
Anthonidas, on 05 January 2013 - 04:39 AM, said:
Well i don't know if you are trying to scam anything, but i know that if you have no code at all it would be very difficult, that someone gives you the finished code to put to your form.
you have to study c# to understand how it works. then your form has to catch all keyboard keys (it should be not flash to catch them) and then you have your form to send the key to all flash objects...
i would like to start with c# basics...
/>
you have to study c# to understand how it works. then your form has to catch all keyboard keys (it should be not flash to catch them) and then you have your form to send the key to all flash objects...
i would like to start with c# basics...
I know how to have the form catch the keys, but I dont know how to SEND keys directly to certain controlls (in my case, teh falsh objects). If i can find out how, ill easily be able to set things up myself.
#12
Re: Sending the same key push to multiple fash objects within a form
Posted 05 January 2013 - 10:36 AM
I do tend to agree with Modi. This does sound like something that can be reasonably used to scam games. I can't think of a reason for a C# program to control a flash program. I'm closing this thread.
Page 1 of 1
|
|

New Topic/Question
This topic is locked



MultiQuote








|