
After resetting my iPhone, and set it "use for developement",
I finally get the first cocos2d up & running in my iphone 3gs.
When working with flex-flash localconnection implementation, some of you may face the #2082 error,
this is a flex-flash bugs, and will happen in some crash case or multiple SWF loading (in my case).
After google search the problem, i found a working solution for this problem,…
to solve this, we need to use a unique connection string name instead of “same string” each times.
Flex ———————- Flash
1. generate unique key
2. connect with generic key —- connect with generic key
3. send unique key ———-—–> key received
4. close connection ———- close connection
5. connect with unique key —- connect with received key
above is the simple solution, and I have implemented it, and work fine.
:)