The API can connect and I have successfully stored and recieved BigDB data with it, and am moving on to user logins. However, I always get this exception when the API throws an error:
- Code: Select all
ReferenceError: Error #1056: Cannot create property playerio:PlayerIOError::_type on bridge.generated.PlayerIOError.
at bridge.generated::PlayerIOError()
at Function/<anonymous>()
at Function/<anonymous>()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
Inspecting the data in FlashDevelop's debug tools, the correct error information exists. The only problem is with this property creation. I don't completely understand the problem, but tried a few hacks to see if there was an easy workaround:
I tried loosening the parameters on "playerio.PlayerIOError._type" by changing it to public and * and then recompiling the swc, but to no avail.
I also tried renaming the playerio package to "bridge.generated" which simply caused namespace conflicts with the real bridge.generated classes.