the code above should display "a" in a dynamic text box when you press "a" but how about backspace? I thought that the code below would work but it deletes the whole entry rather than a character.
I designed one virtual keyboard it working fine for one text filled. But if i have more than one text filled, or a complete form it not working.... Even in some text filled like Address i need to activate the enter command so that it will goto the next line. And finally the tab which i want to toggle between the text filled. How to do this?Ci have a project called doctor board where the patient have to fill a form to register his/ her appointment.
I have got everything working on a virtual keyboard, except the backspace button. Does anybody know of a method that uses the .appendTest() to delete the last character typed by a user???
Inputtext field is named "dirsearch"' _del is the instance name of the button that hopefully act as a back space button.
my code so far: _del.addEventListener(MouseEvent.CLICK, deletelast); function deletelast(e:MouseEvent):void{[code]..
Is it possible to emulate computer keyboard key-press with a simple button in AS 2?I was porting one game to my touch-screen phone and you control that game by pushing 2 buttons (z and x).I looked at the scripts of that game and couldn't find where are the functions that trigger when you push a keyboard button so I wanted to emulate a keyboard press with a button instead.
Does anyone know if it's possible to integrate the ToushSmart's virtual keyboard with an Adobe AIR application? In most programs (Internet Explorer, Firefox, etc), when a user touches a text field a little keyboard icon automatically pops up which, when pressed, will bring up the virtual keyboard. However, this doesn't happen when clicking on text input fields in Adobe AIR applications.
Has anyone had any experience working with AIR/Flash and touchscreens? Is there any API that can tell Windows (or the HP virtual keyboard specifically) that the user has clicked in a text field and that the virtual keyboard should be shown? The text fields are the standard kind (fl.controls.TextInput).
1. I want to create a cell phone keyboard, you know, where you need to tap 2 or 3 times a key to show the character on its display and so. "Number", "send" and "clear" actions buttons, too.
2. Well, when you click on "Send button", I need to send the variable you inserted before to another field. That field will be show later. So, I need that variable keeps in "cache".
In my AIR app, when the virtual keyboard shows up the screen height shrinks. The problem I am having is after the virtual keyboard hides, the screen size stays shrunk and you can see a big black gap under the bottom of the app. The only way to adjust it is to rotate to landscape then back to portrait.
This seems to be a glitch with the virtual keyboard and programmers shouldn't be responsible for handling the screen size after it hides.
i'm a newbie in Flex/Air. I'm developing an AIR web browser and i want to use a virtual keyboard to write in the HTML pages.it works well when i try to write in a text area, but i don't know how to write in the html page.EXAMPLE:To write in textarea, i just have to call this:textarea.text = event.keyLabel;
I want to make a virtual tour of a room in Flash / Flex. How can this be achieved? Firstly, is it enough to have pictures taken from a still point? If yes, how can I turn them into a real tour? Also, is there a library for this kind of thing for AS3?
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
Is there a program/method to use with actionscript-3 in order to make a virtual folder hierarchy that contains my images and sounds and traverse it at runtime in order to select what to load on the SWF?
I would like to learn how to create a flash keyboard that will be used in a touchscreen machine. Currently I have given myself some basic feature idea for the keyboard but have not start coding it yet since I'm not familiar with flash, they should be able to switch textboxes and have backspace button, a tab button, a spacebar button. Is anyone willing to show me a tutorial or a sample code for a head start?EDIT: I have found one AS3 keyboard,the textbox and keyboard are coded out but I need multiple textboxes.How can I drag and drop multiple textbox and keyboard into the screen instead?(because i need to have like 3 textboxes and a keyboard that I can design it, with the coded keyboard, can I change the design/color of the keyboard?)
I have a simple flash project with a TV and a remote control. right now there are arrow buttons on the remote control that i have setup so that when you click on the button it goes to another frame. now my client wants it also setup so that when they hit the arrow buttons (up, down, etc) that it goes to a certain frame.
This one's been irking me for a while. When I'm using the mouse scroll wheel to scroll up and down in a webpage, and a flash movie comes into the path of the cursor, the scroll wheel stops working. Also, when a flash movie has focus, you can't use browser shortcuts like Ctrl + L or Ctrl + R.
I'm writing a flex application now and I'd like to find a solution, so that at least my users aren't plagued by this inconsistency of the user interface behavior.
I should think there would be a way to tell flash to propagate such events as the mouse scroll wheel and keyboard input back up to the browser unless they occur in an element for which they are useful, like in a flex textarea. I can't find any solutions out there though, nor even anyone talking about it.
Specifically, how can I make it so that:
When the user is scrolling with the mouse, the browser scrolls unless the mouse is over a flex container with scrollbar, or another component that wants to scroll.When the user presses a button or combination of buttons on the keyboard, it will be propagated to the browser unless there is an active keyboard listener, or the cursor is in a text field, etc.
When using a notebook and I have remarked that I cannot enter numerical character with shift + a letter to enter number.Is this a bug in flash ? How to circumvent this ?
I'm working with a rather large flash file and I've already been to the flash website to download all the updates that deal with large file issues. Things are much better now. However, I was having issues with flash coming back and telling me that my virtual memory was low. I adjusted it and now I'm not getting that error anymore. Now every hour or so flash will just quit. I'll be working and then it will be gone. I don't have a lot of ram on my pc.. 2GB. I'm thinking I'll upgrade it to 4 tomorrow. I'm working WinXP service pack 3 Intel Pentium D CPU 3.00GHz 2 GB of RAM Video Card: ATI Radeon X1050
I want to create a Flash version of a Virtual pet.I need to generate a level of health , hunger , boredom but im not to sure how about in implementing this.
I�m thinking of using the �maths.random� function to generate a random level of each but im not to sure if this is the best way of doing it (and how to use it)
Would it be better if I just set a value for each and then decrement X amount every so often?
I want to create a Flash version of a Virtual pet.
I need to generate a level of health , hunger , boredom but im not to sure how about in implementing this.
Im thinking of using the maths.random function to generate a random level of each but im not to sure if this is the best way of doing it (and how to use it)
Would it be better if I just set a value for each and then decrement X amount every so often?
I've been looking for this for years, and a good friend of mine that is a master at AS3 is not well versed in AS2, so I thought I'd ask the pros here.onClipEvent(mouseUp) on(release)I have code like these two examples on a mc (sometimes a button, I only use buttons in AS2) on the root timeline. Usually I use a mouse-click to activate them, but there's this one mc I'd like to have work via a keyboard keypress. What I can do is make the first frame of this mc blank, and the 2nd frame and beyond have elements to expose. So I was thinking I hit the key "v" to play this mc that resembles a volume overlay screen for this UI I'm working on
the scenerio goes. I have 2 scenes. if i wan flash to play back the previous scene using a key eg. backspace, how do i go about doing it? Another qns i would like to ask too. for example. I have 3 scenes. A is the main scene, B is the 2nd and C is the third. The flash will play as follow. A, B, then back to A again then C. Is there any actionscript to do this?
I have to decide whether I should choose a Flash or a HTML5 presentation tier third party application for displaying virtual tours. The thing is: The Flash app is better, but doesn't work one iPad. Which do you think I should go for? Flash, high quality or HTML5, a little worst quality?
I have a website setup in IIS 7.5 with a virtual directory pointing to a local folder outside of the www root of my website e.g:
the website is c:website
the virtual directory is in c:images
I use flowplayer to play my movies, when I put the movie path in my website root directory structure, say c:websitemoviesa.flv it works fine in the player, but if I put them inside the virtual directory and point the player to play it from there using a relative URL, it doesn't work
I suspect that this has to do with either permissions or flash configurations to allow it to access directories outside of the scope of the website, but I have no idea where to edit such settings
I've used third party software to create virtual tour for my clients website. It works perfectly fine on its own, you can see it here [URL]
But Once I include virtual_tour.html page on my index page it doesn't work, you can see it here [URL]
I'm confident that I changed all paths to files correctly, but still it doesn't work. However I can see Gray box that should contain virtual tour, but it doesn't display it
I've recently started a project in Flash cs4 and I was trying to (for sake of ease) incorporate the use of the enter key as an alternative to pressing a submit button with the mouse. Now, I know how I could go about calling the keyboard event and linking it to a function, but I need to use the enter key for two separate instances (and yes they correspond to two separate functions) of a button.
In Flash MX, there used to be a way to set a property field in a button to a key to have it register as that key. If the buttons were on two separate frames, the key would only activate the button that was showing currently.
way to make the enter key count as pressing two different instances of a button (with two different functions) in the latest incarnation of actionscript?