Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-07-2012, 04:18 PM   PM User | #1
mothra
Regular Coder

 
Join Date: Jul 2003
Posts: 262
Thanks: 1
Thanked 0 Times in 0 Posts
mothra is an unknown quantity at this point
Sending keystrokes to Flash window?

I have an application that sends text to a flash "chat" program. For the most part this works fine, but depending on the browser, carriage returns are not processed. Internet Explorer 9 and Chrome 21 are two examples of this.

If I send a message that looks like:

A
-
B

It will look like A-B in the flash program. I'm using PostMessage (Windows API) to send the keystrokes from my app. Other browsers accept the carriage return including Chrome 20 (something has changed in 21).

Does anyone have an idea why IE and Chrome behave this way and what I might be able to do to solve the issue?

The flash program is not mine and I have no control over how it works. I have tried sending carriage returns, line feeds, and both. I have also tried html but it's processed as plain text, so no luck there.

Any ideas are appreciated!
mothra is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:56 AM.


Advertisement
Log in to turn off these ads.