marianbida / as3-arduino-connector

Automatically exported from code.google.com/p/as3-arduino-connector
0 stars 0 forks source link

Getting Error #1014: Class com.quetwo.Arduino::ArduinoConnector could not be found. #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Flash Pro CS6 and run the example below
2.
3.

What is the expected output? What do you see instead?

Was expecting to see data events. This ran fine previously (about two months 
ago with version 1.2). Are the com.quetwo.Arduino class files down by chance? 
Thanks.

What version of the product are you using? On what operating system?

Windows 7, Flash CS6 PRO

Please provide any additional information below.

import flash.events.DataEvent;   
import flash.display.MovieClip;
import com.quetwo.Arduino.ArduinoConnector;
import com.quetwo.Arduino.ArduinoConnectorEvent;

public class StartConnection extends MovieClip {            

  public var arduino:ArduinoConnector;

  public function StartConnection(main:Main) {         

    arduino = new ArduinoConnector();
    arduino.connect("COM4",115200);
    arduino.addEventListener("socketData", fnc_dataArduino);         

    }

  private function fnc_dataArduino(aEvt: ArduinoConnectorEvent): void{         

    trace("From Arduino: " + arduino.readBytesAsString());
   }

}

Original issue reported on code.google.com by andrexz...@gmail.com on 29 Jun 2013 at 1:17