|
#1
|
|||
|
|||
|
Hi All,
I'm working on a prototype interface for a touch-screen kiosk and need to create a couple of pages that offer the end-user an on-screen keyboard for inputing info. What's the best way (e.g. simple / straightforward) way to create the keyboard keys, presumably using the button objects available in AMS 5? Thanks, -Scott P.S. If there are a couple different ways that would easily work (...as there's usually more than one way to skin the cat), which method might best lend itself to being "re-purposeable" or importable/exportable from one project to another? |
|
#2
|
|||
|
|||
|
wooops - AMS 4 / AMS 5 identity crisis
Sorry folks, I wasn't watching where I was driving... I meant to post this question in the AMS 5 forum.
Should I re-post it, or is a forum admin likely to relocate it? |
|
#3
|
||||
|
||||
|
sferguson
go to the plug-in section ... the IRLuaCOM Action plug-in sounds like that might be what your seeking to get a handle on your project using AMS 5 Hope that helps
__________________
. . --------- --- Work or Die --- --------- . . |
|
#4
|
|||
|
|||
|
Thanks for the tip, I'll check it out.
|
|
#5
|
||||
|
||||
|
No plug-in is needed if I am understanding this. just use button images, i.e. snip up your keyboard image into clickable pieces. With the new alpha hit test area feature in 5.0 the buttons don't even have to be rectangular either.
![]() The eaiest way to do this BTW for my workflow is in Photoshop. If all the keys are rectangular or square I would just use the slice tool to graphically slice it up and then export, voila done. If the keys and stuff are irregular then you need to create slice sets, i.e. lets say you have 3 rows of parralelogram shaped buttons, simplt create three copies of your file and snip one row into slices in each, i.e. row 1, row 2, row 3. As long as you export as PNG24 the hit areas will be accurately represented in AMS 5.0, even if the images overlap... Don't forget, in 5.0 you can overlap buttons freely and the hit test will accurately translate the correct hit areas. It's amazing, this is one feature of 5.0 which blows me away. Makes it super easy to create stuff just like this, clickable keyboards, maps, etc. BTW if you need cool looking keyboard keys check out the ones which come included in the Flash MX button gallery, awesome looking... Corey Milner Creative Director, Indigo Rose Software |
|
#6
|
||||
|
||||
|
What about those without Photoshop. I use Paint Shop Pro and it will work with .png images and it will create alpha selections, but the alpha selections wont save when I save the image I am working with.
I think I have figured it out. Not a graphics person. And couldn't you do the samething with a single image and multiple hotspots? Last edited by TJ_Tigger; 11-10-2003 at 03:22 PM. |
|
#7
|
||||
|
||||
|
Yes you could and, of course, whatever works is best. But I believe the button method would give you more control over the user experience. I know I sound like a broken record but I think that's the hallmark of a solid app, the ability to achieve a given result via several different methods.
Corey Milner Creative Director, Indigo Rose Software |
|
#8
|
|||
|
|||
|
would this just work for inputs on an AMS5 project, or can u send keys to another active Windows app?
|
|
#9
|
||||
|
||||
|
You can easily send any data to any app as long as you know how to receive that data on the other end. For example using the obscure Flash shared local object I once created a demo app (search the forum, it's in here somewhere) which allows any AMS app to speak freely back and forth with any other AMS app, ergo you could create seperate .exes and then have them interact at runtime, such as remote control style app windows, etc.
Corey Milner Creative Director, Indigo Rose Software |
|
#10
|
||||
|
||||
|
Here is something for you! I didnt have time to setup the best demo in the world but it work perfectly. It is a keyboard i did with flash MX, and the keystroke can be sent to your AMS5 project, everything is functional EVEN a CAPS lock button!
![]() Give it a try and let me know. |
|
#11
|
|||
|
|||
|
thats cool, but I am looking to be able to send keystrokes to another windows app.
|
|
#12
|
||||
|
||||
|
What is the windows app you want to send keystrokes to it? Does it support flash FSCommands and gather flash variables? If so, then you can use my flash movie (keyboard.swf) and look into the action code of the AMS5 demo i just posted to know what FScommands to look for... Also, you should check Corey's post that is mentionned aboved, it demonstrate you how to send data back anf forth between AMS files etc... That is very cool!
|
|
#13
|
|||
|
|||
|
It's MS streets & Trips, I highly doubt it supports. I basically want the on-screen keyboard that comes with XP, but it is way too small for touchscreen.
|
|
#14
|
||||
|
||||
|
One thing that you could do is use what i posted along with the DLL that Worm posted some time ago called "Keystrokes.DLL". You could build an AMS5 project that use both of the above and send the keystrokes to your windows app. That should work...
search the forums for "keystrokes.dll" or keystrokes" |
|
#15
|
|||
|
|||
|
I will check it out. Thanks!
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 04:27 PM.









Linear Mode
