How to enable touch screen / stylus support in Adobe Device Central CS4
I recently got myself a shiny Nokia 5800, which to my knowledge is the first (mainstream) touch screen, Flash Lite (3.0) enabled phone. If you decide to create stuff for it and use Device Central CS4/CS3 to test it, soon enough you`ll realise that:
- Nokia 5800 is not in the online device library yet
- there`s no generic device with 360 * 640 resolution
- but most importantly you can`t use your mouse in Device Central.
This annoyed me to no end as I`m using a few fscommand2 directives, which when you sneakily try to test your content with Flash 7/8 profile will throw errors and won`t even let your .fla compile. So after some commenting/uncommenting these lines I`ve decided to look at the bottom of the problem
Enter duplicating and hand-editing .xml device profiles tucked away in your profile
For the daring, the single most important line to edit is this:
<mouseType value="None"/>
which should be set to:
<mouseType value="Stylus"/>
There are also 10s of instances of resolution to edit, so for the lazy types out there I`ve attached my freshly hacked custom profile to live with until Adobe/Nokia releases the official one. You have to download the .xml and put it to either of these folders depending your OS:
On Windows XP, the default location is:
C:\Documents and Settings\username\Local Settings\ApplicationData\Adobe\AdobeDevice Central CS4\Devices
On Windows Vista, the default location is:
C:\Users\username\AppData\Local\Adobe\Adobe Device Central CS4\Devices\
On Mac OS, the default location is:
user folder/Library/Application Support/Adobe/Adobe Device Central CS4/Devices/
Enjoy