I cant create avatar...

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

Moderators: Lapo, Bax

Post Reply
turbex
Posts: 7
Joined: 29 Mar 2010, 16:56

I cant create avatar...

Post by turbex »

Hi... I copy the SWF files (library) of Example "Farwest",
And I try to create new code and later try to set the avatar but I see this error:

Code: Select all

TypeError: Error #1009: Can not access a property or method of a null object reference.
	at com.smartfoxserver.openspace.mvc::IsoEngineModel/createAvatar()
	at com.smartfoxserver.openspace::OpenSpace/createMyAvatar()
	at test_fla::MainTimeline/onCoreMapRendered()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace::OpenSpace/forwardOpenSpaceEvent()
	at com.smartfoxserver.openspace::OpenSpace/onMapRendered()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace.mvc::IsoEngineModel/onMapBuilt()
	at com.smartfoxserver.openspace.map::MapManager/onMapGenerationCompleted()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace.utils.executor::MultiFrameExecutor/::runStep()
	at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
	at flash.utils::Timer/flash.utils:Timer::tick()
The map renderer OK.... but the problem is with the avatar
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

The stack trace you are showing is referred to OpenSpace v1, while you are posting in the OpenSpace v2 forum. Which version of OpenSpace are you using?
Paolo Bax
The SmartFoxServer Team
Post Reply