[WiiFlash] WiiFlash Server problem

Merrill, Jason jason.merrill at bankofamerica.com
Fri Nov 9 11:24:46 PST 2007


Also note comments in my Flex code below - specifically the ioError I
get in the debugger:

<mx:Script>
	<![CDATA[

		import mx.events.*
		import org.wiiflash.*;

		private var _wiimote:Wiimote;
		
		private function loadWii():void
		{
			trace("loadWii run") //runs fine
			_wiimote = new Wiimote();
 			_wiimote.addEventListener(Event.CONNECT,
onWiimoteConnect);
  			_wiimote.connect(); //prodcuces in the debugger:
Error #2044: Unhandled ioError:. text=Error #2031: Socket Error. URL:
127.0.0.1
		}

		private function onWiimoteConnect():void
		{
			trace("wiimote Connected!")
			trace("wiimote.connected: "+_wiimote.connected)
		}

	]]>
</mx:Script>



Jason Merrill
Bank of America  - GT&O L&LD
eTools/Multimedia Research & Development

 



More information about the WiiFlash mailing list