02-02-2011 01:45 AM
I'm really new at this, so I'm sure I've made a dumb mistake somewhere, but I can't find it.
I'm using Flash to create my apps, and I had no problems with the 0.9.0 and 0.9.1 SDKs. However, I can't get the newest SDK to run. To try to simplify and figure out the problem, I created a new .fla file with this actionscript:
import qnx.ui.text.TextInput; var testInput:TextInput = new TextInput; addChild(testInput);
When I test it, though, I get this error:
VerifyError: Error #1014: Class qnx.pps:
PSChannel could not be found.
at qnx.ui.text::TextInput/init()[E:\hudson\workspace\SDK092_deckard_sdk\src\screen\src\qnx\ui\text\Text Input.as:486]
at qnx.ui.core::UIComponent()[E:\hudson\workspace\SDK092_deckard_sdk\src\screen\src\qnx\ui\core\UICompo nent.as:162]
at qnx.ui.core:kinnableComponent()[E:\hudson\workspace\SDK092_dec
kard_sdk\src\screen\src\qnx\ui\core\SkinnableCompo nent.as:43]
at qnx.ui.text::TextInput()[E:\hudson\workspace\SDK092_deckard_sdk\src\screen\src\qnx\ui\text\TextInput .as:370]
at Untitled_fla::MainTimeline/frame1()[Untitled_fla.MainTimeline::frame1:3]
Any ideas where I'm missing it on this? Did I somehow screw something up on installation (both times)? Any suggestions would be appreciated.
-Russ
Solved! Go to Solution.
02-02-2011 01:49 AM
hey russ,
i dont think its anything you messed up during the installation. since the new SDK came out, the TextInput class now is binded to the PPS Channel (needs native classes). by any chance are you testing via the Desktop Application Debugger? that'll be your problem. from now on, if your application uses the TextInput class from QNX, you must test your application in the actual simulator or else you will get those errors.
its going to slow down your development, but its the only way at this point to do it. hope that helps. good luck!
02-02-2011 09:24 AM
There is a non-PPS TextInput class in the library posted from:
It might keep you in AIR and then just switch back to the QNX TextInput during final testing in the simulator. I do 95%+ testing in AIR and only go into the simulator for final testing.
02-04-2011 02:26 AM
Thanks guys, that must be it. I can sort of comprehend why they would do this, but it really does make it a real pain trying to develop with the QNX TextInput. I guess I'll have to go with those workarounds, John.