Flex :: Keyboard - Flex Air Receive Input When Unfocused?

May 12, 2011

I am trying to find out how to continue to receive keyboard input to my app when the app is not focused. For example, if I dock my app to the system tray, is there a way to continue to receive keyboard input to be fed to the app?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Stage Does Not Receive Keyboard Input

Jan 5, 2009

I'm going true the AS Programming 3 manual and the [URL] example doesn't work. The authoring environment gets the focus. You can tel because you see the toolbar changing the selected tool as
you type the corresponding letter.

View 5 Replies

Actionscript 3 :: Flex / Air / Selecting And Populating A UnFocused Tab

Apr 5, 2010

I'm having a problem displaying data from a function to text box within a tab. If you run the code and click "Select Tab 2 and Fill..." I get an error; "TypeError: Error #1009: Cannot access a property or method of a null object reference." I'm guessing this is because "Tab 2" is/was not rendered yet. Now if I run the code, select "Tab 2" then select "Tab 1" and click "Select Tab 2 and Fill..." it works the way I would like. Dose any one know a way around this problem.

[Code]...

View 1 Replies

Flex :: Redirect Mouse/keyboard Input?

Oct 9, 2009

Is there some other simple method to redirect mouse/keyboard input from one object to an object behind it. I have used mouseEnabled = false where the object in front is only a UIComponent and it works. However mouseEnabled,mouseChildren=false is not working for an SWFLoader.

View 1 Replies

Flex :: Replace User's Keyboard Input With Another String In Adobe AIR + Application?

Feb 1, 2010

One of our application is implemented in flex and adobe air. We want to have the user press combination of keys, say 'ABC', and have the keyboard return a different character, 'FOG', to whatever app is in focus. This should work even if app has no focus.

Will it possible in Adobe Air/Flex? If yes, provide me some examples?

View 1 Replies

Flash :: Flex - Click Event - Objects On Stage To Be Listen To Mouse And Keyboard Input

Oct 19, 2010

If I plan to implement 100 objects on stage to be listen to mouse and keyboard input, is using "function" call responsive enough? How good does eventlistner work?

View 2 Replies

Flex :: "Globals.topLevelApplication.addEventListener" Can't Catch Keyboard Input On PopUp?

Mar 2, 2011

Suppose I have an application and a global event listener in it. Should the key events, who are fired in the PopUp, be caught by that listener? Or maybe popups are not placed in that hierarchy?Here's simplified test-code for you to understand what I'm talking about:

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">
<mx:Script><![CDATA[
private function init():void {

[code].....

View 1 Replies

Android :: Flex Mobile Project: Numeric Keyboard - Not A Full Keyboard

Jul 26, 2011

How do? Edit the field with numeric keypad, not a full keyboard my code: <s:TextInput text="{TransactionObject.cartao}" id="item" restrict="0123456789" /> app for Android and playbook

View 2 Replies

ActionScript 3.0 :: Can Function Receive Keyboard Or Mouse Event?

Nov 3, 2010

I've decided to add keyboard capabilities to my program. All my functions I have written require a mouse event to be passed to them. I'm just wondering if there is a better way to run these mouse event functions rather than to take out the contents of these functions and create a new function that is called within a mouse event function OR a keyboard event function. What I mean is I am starting to change the mouse event functions I have to only have one line inside of them which will run a separate function. This same separate function I will run using a keyboard input as well.

View 3 Replies

Flex :: Two Overlapping Buttons Receive The Same Click?

Dec 20, 2009

I need to create a workaround for a button issue. I don't know how to have one button created by one class send a click event to another item created in a different class

Therefore, I'd like to place both of my buttons on top of one another, alpha one of them out and have both buttons receive the same click.

View 1 Replies

Rails Best Way To Receive Xml Data From Flex Application?

Feb 2, 2010

i'm able to display xml content on my swf file but how can I send the changed xml file back to my rails Server?

View 2 Replies

Flex :: Sprites Are All Draws From X - Y Coordinates That Receive From XML

Jun 2, 2010

The orange square is the currently selected selected sprite. The sprites are all draws from coordinates that i receive from XML. var sprObject:Sprite = new Sprite();

[Code]...

What I want to do is the following. If I'm currently on the orange square and I use my keyboard direction buttons (up/down/left/right). I want to deselect the current sprite and select the next sprite in the appropriate direction. The problem I'm having is that I cannot get the x and y coordinates of the drawn sprites. If I look in the array, the x and y coordinates of the sprites are all 0. If I can retrieve that I can write an algorithm to determine the next sprite to select.

View 1 Replies

Receive An Image File Through Flex's HttpService?

Jun 30, 2011

I've written this piece of code to use a PHP script to send data to Flex.[code]...

If there is no way to use HttpService for this end (i.e. send image files), how can one do it then? I've seen it in an app I worked on so I'm positive it can be done.

View 2 Replies

ActionScript 3.0 :: .swf Receive External Input??

May 29, 2009

Can a .swf receive external input? If so, how?

View 4 Replies

ActionScript 3.0 :: Cannot Receive Alphabet Input?

Dec 21, 2010

I'm trying to do a simple text box, below is the code:

private function onKey(event:KeyboardEvent):void
{
trace("Key Pressed: " + String.fromCharCode(event.charCode) + " (character code: " +

[code]......

View 3 Replies

Flex :: Programmatically Set Focus To HorizontalList So That It Could Receive Key Events?

Oct 26, 2009

look at the code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:creationComplete>

[Code]....

As you see, I try to make my HorizontalList focused when application is loaded. And I actually receive Received focus message in console. But I expected that I would be able to navigate over list elements with arrow keys after setting focus. But that's not the case. They work only after clicking component with mouse. How to make list have focus and respond to arrow keys?

View 2 Replies

Flex :: Bottom Uicomponent Does Not Receive Mouse Events

Apr 19, 2010

I have a base ShapeContainer(UIComponent). I add a uicomponent which has mouse down listener to ShapeContainer. the listener works great. When I add a simple sprite(draw square) on the ShapeContainer, The listener does not work any more. In the code, if I comment below line, The event listener works fine.

[Code]....

View 2 Replies

Flex :: Console - Send / Receive Same Window In TextArea

Apr 21, 2010

Any example of a telnet/chat or other console like FLEX application where you can use the same TextArea as input/ouput area. I've been trying to modify the app at: [URL] but so far, computer says no. All the implementations I've seen use a combination of TextInput and TextArea.

The challenge is that we'll be using this app to telnet into some old routers and we'll need to do a fair amount of copy/pasting. Based on what I've seen, it seems that I would need to point the mouse into the TextInput in order to be able to right click and paste, which is not very sleak.....

View 1 Replies

Java :: Flex Socket - Can't Receive The Command From Server

Aug 20, 2010

I am writing a online game with flex and java server and I have a big problem. In normal case, my game run smoothly but some time the clients can't receive the command from server. I found that if server send message too fast or client is doing something when server send message, the game client can't detect for a new message so my game is freeze. I only tested with 4 clients and I don't know what happen when thousands clients online in the same time. So terrible :(. In the game client, I use one EventDispatcher class to dispatch any command from the server. Do you have any solution to warranty that client must receive any message from server when the connection is still alive or server must know if client received the message or not. I use flex 3 with Socket (binary) and Java QuickServer.

View 1 Replies

Flash :: Flex 4.6 Increasing Socket Receive Buffer Size?

Apr 5, 2012

I am having an issue with sockets where the data I'm sending is getting truncated on the client side (Flash/Flex). The data that is sent by my server is full and in tact, but flash does not wait the appropriate amount of time before firing an event saying to read the data. This results in the data not getting fully read and (as such) I can't parse the object out of it after that. We are exploring the possibility of stripping the object into smaller chunks, but the idea is for it to be as lightweight as possible so we would much rather get it to work the way it's supposed to than patch in a temporary solution.I'm not entirely sure if referring to it as the receive 'buffer' is correct, as some computers are able to receive all of the data and others are having it truncated (which means the buffer is adequate but flash isn't waiting the appropriate amount of time to dispatch the event for whatever the reason).

View 1 Replies

Flex :: Adobe - Send/receive Data From/to Media Server

Oct 27, 2009

i want to make a simple chat with flex as3 and red5 media server

my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message)

i just don't know how to to send and receive and how to receive from the server

View 2 Replies

Android :: Air Native Extension - Receive Broadcast In Flex Application?

Jan 31, 2012

I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?

View 1 Replies

Flex :: Using NetConnection And URLStream To Send/receive Data At High Frequency

Jun 17, 2009

I'm writing a Comet-like app using Flex on the client and my own hand-written server.

I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends).

I also need the server to push short bursts of data at a similarly high frequency.

I'm using NetConnection.call() to send the data to the server, and URLStream (with chunked encoding) to push the data from the server to the client.

What I've found is that the data isn't being sent/received as soon as it's available. For example, in IE, it seems the data is sent every 200ms rather than as soon as NetConnection.call() is called. Similarly, URLStream isn't making the data available as soon as the server is sending it.

Judging by the difference in behaviour between the browsers, it seems as though the Flash Player (version 10) is relying on the host browser to do all the comms. Can anyone confirm this? Update: This is very likely as only the host browser would know about the proxy settings that might be set.

I've tried using the Socket class and there's no problem with speed there: it works perfectly. However, I'd like to be able to use HTTP-based (port 80) connections so that my app can run in heavily fire-walled environments (I tried using a Socket over port 80, but that has its problems).

Incidentally, all development/testing has been done on an internal LAN, so bandwidth/latency is not an issue.

Update: The data being sent/received is in small packets and doesn't need to be in any particular format. For example, I might need to send a short array of Numbers, and this could either be encoded in AMF (e.g. via NetConnection.call()) or could be put into GET parameters (e.g. using sendToURL()). The main point of my question is really to see whether anyone else has experienced the same problem in calling NetConnection/URLStream frequently, and whether there is a workaround (it's also possible that the fault lies with my server code of course, rather than Flash).

View 2 Replies

Java :: Push Data From BlazeDS Without Receive Message From Flex Client?

Dec 9, 2009

I am using BlazeDS for data-push feature in my Flex application project. From the official tutorial, Getting started with BlazeDS, it shows messaging example with producer/consumer from API. but how can I implement server side which doesn't need to be invoke from Flex client, but from within server-side instead. I got some idea but I don't know how to do because I'm a Flex developer, not Java developer In Google, there's a tutorial show about I need to extend ServiceAdapter class in Java-side, which extends Invoke method. Do I need to extend other class instead of this to do what I want?

View 3 Replies

Flex :: Force Delay Render Until Receive Data Before Drawing To Screen

Mar 13, 2010

In my Flex application, using a custom control, I am making a JSON request to grab some data from the server. My rendering depends on this data such as knowing how many boxes to draw. How can I either force the rendering to wait until I've got the data before drawing to screen or have the boxes draw once we receive the data? I have an event listener for Event.COMPLETE for my JSON request and in there, I call methods that add to the control. I've tried invalidateDisplayList but that doesn't seem to do anything for me?

View 1 Replies

Flex :: Operator Console App - Listen Java Socket To Receive XML Data?

Jul 13, 2010

We are in the middle to evaluate the technology choice to re-design an operator console application. The operator console as a hosted contact center has the abilities to queue the inactive calls, and hold, answer, transfer the active calls.

The legacy operator console used Java Swing. We want to use the latest RIA technology (Flex/Silverlight) to retire the legacy one. But the question is Flex/Silverlight can implement the functions like hold, transfer the calls? Based on my experiences, Flex can listen Java socket to receive XML data? Does it work well to receive voice data?

View 2 Replies

ActionScript 2.0 :: Receive An Auto-responder Message When Input An Email

Dec 13, 2003

I have a perfectly working form on my site where users input their email and it goes straight into my email inbox. However, I would like them to recieve an autoresponder message when they input an email. Although the(my) email to which user's email is sent to has an autoresponder active, my server administrator explained that when an email is recieved, an autoresponder is sent to the form/site and not the user's email address. He said I would require a code to put in my form to facilitate sending the autoresponder to the user who inputs his email in my site.

View 2 Replies

Flex :: Output Database Information In A Text Input Field In Flex By Using RemoteObject(cfc)

Mar 16, 2011

im trying to output my database information in a text input field in flex by using remoteObject(cfc). The information is being provided by a database using a query and an array collection. I'm just unsure how i go about taking the queried array collection information and display it into TextInput Fields.

[Code]...

View 1 Replies

Actionscript 3 :: Make Input Text Control Ready For Input On CreationComplete In Flex/MXML?

Mar 19, 2012

I have the following Application tag code in my widget:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*"
width="100%" height="100%" minWidth="200" minHeight="200" layout="absolute"
creationComplete="init()"
defaultButton="{Send_btn}">

[Code]...

View 1 Replies

ActionScript 2.0 :: When Publish Flash File To Html, Input Text Would't Receive @?

May 26, 2005

I have this problem.When I publish my Flash file to html, input text would't recive @.Instead it paste whatever is in my clipboard.I tried with diferent encodings, fonts,....

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved