Reserved Event/Operation Codes

Sergiy
Sergiy
edited January 2013 in Flash (deprecated)
I was playing with event codes using Photon AS3 client. I am using random event codes 0-255, and sometimes there were errors processing messages on client side. I guessed that these errors were caused by some reserved event codes. After limiting codes to 0-99 there are still errors but in very rare occasions. Please tell what Event/Operation Codes are reserved?

Comments

  • Currently you can safely use codes below 200. But best practice is starting from 0 and up by one instead of random codes.
    In case you use reserved code no error will emerge, just call for you handler missed.
    What exact error do you have?