Implicit coercion error in Flash Builder 4.5

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
JimDaniel
Posts: 11
Joined: 03 May 2011, 22:10
Location: Los Angeles, Ca

Implicit coercion error in Flash Builder 4.5

Post by JimDaniel »

'm getting this error message:

1067: Implicit coercion of a value of type Main to an unrelated type Main.

four times when I imported the OpenSpace Example 1 -SFS2X into Flash Builder 4.5. I'm using SDK 4.5.1. The errors are for the following code
in Main.as lines 58-61.

Code: Select all

	mapsLoadManager = new MapsLoadingManager(this, openSpace);
	avatarManager = new AvatarManager(this, openSpace)
	mapEditManager = new MapEditingManager(this, openSpace)
	mapInteractManager = new MapInteractionManager(this, openSpace, mapsLoadManager)
I'm also getting the error:
unable to open '/Users/JimDaniel/Documents/Adobe Flash Builder 4.5/WildFrontiers/C:/Program Files/SmartFoxX2/Client/Flash/API/SFS2X_API_AS3.swc'

I'm thinking these might be related.

The system I'm on is a MacBook Pro so I don't understand why the Windows based path is being tacked on to the end of the Mac OS path. I've looked at all of the classPaths & libPaths and everything look correct.

I'm using the latest version of OpenSource and it's 2X examples, I downloaded them fresh just to be sure.

Any ideas?
Jim Daniel
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

SGRAT, SGRAT... :? (scratching my head...)
What if you try using an older SDK in the project preferences?

Also, the example has been created on OSX, so no idea what that path is...
Paolo Bax
The SmartFoxServer Team
Post Reply