Page 1 of 1

I cant create avatar...

Posted: 29 Mar 2010, 22:55
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

Posted: 31 Mar 2010, 07:56
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?