Home > Flash, localconnection > ArgumentError: Error #2082: Connect failed because the object is already connected.

ArgumentError: Error #2082: Connect failed because the object is already connected.

Using Flash localconnection i encountered a weird bug today while working on a project connecting AS2 and AS2 SWFs.  Below is the error which i got while trying to connect to a localConnection channel.

ArgumentError: Error #2082: Connect failed because the object is already connected.
at flash.net::LocalConnection/connect()
at com.gskinner.utils::SWFBridgeAS3/connect()
at com.orbis.bridges::TopbarBridgeAS3/connectBridge()
at com.orbis.ui.topbar::FauxF8TopBar/connectBridge()
at com.orbis.game::GameLaunchEntry/allAssetsLoaded()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.orbis.load::Preloader/somethingLoaded()
at com.orbis.load::LoadContent/thisLoaded()

I forcefully quit the Flash IDE while flash player crashed due to loading of huge amount of data via XML for testing certain scenario in the game. That was the cause of the problem, there seems to be some player instance still on.  To more clearer, i was using Flash IDE  not a browser. Finally of no choice i have to restart the system and try to get this sorted out.

After that it works fine. Weird one.. just eat up few mins of my morning time.  So to get clear detail about the bug, google to get few informations. You can find the informations on Judah’s blog and some more information here

Advertisements
Categories: Flash, localconnection

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: