What steps will reproduce the problem?
1.
2.
3.
[SWF] com.quetwo.Arduino.ArduinoConnector - 7,123 bytes after decompression
[SWF] arduinoTest.swf - 3,535,367 bytes after decompression
[ArduinoConnector] Initalizing ANE...
[ArduinoConnector] Opening COM port handle number 7 success = true
Error: Error #3503: The extension was left in an invalid state.
at flash.external::ExtensionContext/_call()
at flash.external::ExtensionContext/call()
at com.quetwo.Arduino::ArduinoConnector/readBytesAsByteArray()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:190]
at arduinoTest/onSocketData()[D:\ULAS\FreeLance\arduinoTest\src\arduinoTest.mxml:32]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.quetwo.Arduino::ArduinoConnector/gotEvent()[E:\Apache\dev\SerialANE\src\com\quetwo\Arduino\ArduinoConnector.as:350]
What version of the product are you using? On what operating system?
Windows 8 x64 Flash Builder 4.6
Source
.
.
protected function
windowedapplication1_creationCompleteHandler(event:FlexEvent):void
{
arduino = new ArduinoConnector();
arduino.addEventListener("socketData",onSocketData);
arduino.connect("COM7",9600);
txtOutput.appendText("Connecting")
}
protected function onSocketData(event:ArduinoConnectorEvent):void
{
var ba:ByteArray;
arduino.removeEventListener("socketData",onSocketData);
ba = arduino.readBytesAsByteArray();
}
Original issue reported on code.google.com by ulasbin...@gmail.com on 4 Jul 2013 at 1:51
Original issue reported on code.google.com by
ulasbin...@gmail.com
on 4 Jul 2013 at 1:51