ebour / touchlib

Automatically exported from code.google.com/p/touchlib
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Error #2007 in TUIO.as #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use SVN revision 403 of flash.events.TUIO.as
2. init TUIO in main class (TUIO.init(this, '127.0.0.1', 3000, '', true);)
3. run application

What is the expected output? What do you see instead?
Expected output is the swf with the interface. Process is suspended by
Flash Builder, Flash debug perspective is opened.

What version of the product are you using? On what operating system?
Flash Builder, Windows 7, FLOSC

Please provide any additional information below.

TypeError: Error #2007: parameter type must be non-null
Probably something with wrong event type parameters in debug functions, see
http://nuigroup.com/forums/viewthread/9289/ for more details...

Original issue reported on code.google.com by gveu...@gmail.com on 6 Apr 2010 at 3:34

GoogleCodeExporter commented 9 years ago
This is a namespace conflict correct? flash.events.TouchEvent is a standard 
flash event 
as of the new Flex SDK beta? I fixed things by moving and renaming the whole 
package to 
"tuio.events.*"

Original comment by zander.m...@gmail.com on 11 May 2010 at 11:02

GoogleCodeExporter commented 9 years ago
i got that error (#2007) when tried to run my swf on a web browser from a 
server.

i think the problem is the host, although the error is thrown when i add a 
touchEvent 
listener:

try
{
    addEventListener ( TouchEvent.MOUSE_DOWN , someFunction );
}
catch ( error:Error )
{
    stageAddedTextField.text = error.message;
}

// the textfield will show: error #2007
}

Original comment by voices...@gmail.com on 13 May 2010 at 4:09

GoogleCodeExporter commented 9 years ago
I had the same issue and resolved by changing the package name from 
flash.events to TUIO.events

Original comment by bengale...@gmail.com on 14 Sep 2010 at 3:16

GoogleCodeExporter commented 9 years ago
What is the process in changing the package name?

Original comment by JGChadw...@gmail.com on 9 Aug 2011 at 3:52