openspace.initialize
Posted: 02 Oct 2008, 21:58
I had another question about the openspace libraries.
I am trying to call
The error I got was:
Openspace and Smartfox are great, by the way,
Daniel
I am trying to call
Code: Select all
os.initialize(smartFox, this)
Presumably, I got this error because 'this' was of the wrong type. I was wondering what type of object 'this' would have to be. My goal is to code an IAvatarMovieClip in Flex, and then be able to tell openspace the name of the class that defines the avatar, without having to compile the IAvatarMovieClip into a swf and then importing it afterwards (which works just fine, but is not what I want to do.)ReferenceError: Error #1069: Property loaderInfo not found on vw.app.modules.OpenSpaceCodeModule and there is no default value.
at com.smartfoxserver.openspace.avatar::AvatarsManager/createAvatar()
at com.smartfoxserver.openspace.mvc::IsoEngineModel/createAvatar()
at com.smartfoxserver.openspace::OpenSpace/createMyAvatar()
at vw.app.modules::OpenSpaceCodeModule/onOpenSpaceMapRendered()[/Users/djacobs7/svn/vw_client/src/vw/app/modules/OpenSpaceCodeModule.as:221]
at 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/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.openspace.mvc::IsoEngineModel/onMapBuilt()
at com.smartfoxserver.openspace.map::MapManager/onMapGenerationCompleted()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.smartfoxserver.openspace.utils.executor::MultiFrameExecutor/runStep()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Openspace and Smartfox are great, by the way,
Daniel